I have a "backup" user on my server that needs to have read permissions everywhere. Doing chown 444 -R / backup
doesn't seem like the right thing to do, so what should I do?
Linux – Giving user read permissions everywhere (Linux)
backuplinuxpermissions
Related Topic
- Linux – How to run a server on port 80 as a normal user on Linux
- Linux – How to Set Up Permissions for the WWW Folder
- Linux – correct file permissions for trac and git user to access gitolite server repos
- Linux Web Server – Proper Permissions for Website Files and Folders
- Linux SSH – Public-Key Authentication Without Private Key Read Rights
- Amazon S3 – How to Create a Public Read and Download Only Bucket
- Rsync – How to Preserve File and Folder Permissions
Best Answer
You're mixing two commands:
chown that is used to change the owner of a file. Exemple:
chown root:adm /etc/passwd
chmod that is used to change the permission of a file. Exemple:
chmod g+r myfile
Whatever your goal is, you really don't want to have your backup user to own every file and you certainly don't want to have every users on your system the right to read every files of your system.
What is your goal?