Published at LXer:
Permissions are important for keeping your data safe and secure. Utilizing permission settings in Linux can benefit you and those you want to give access to your files and you dont need to open up everything just to share one file or directory (something Windows sharing often does).
The situation is as follows:
Machine A has a file repository accessible via rsync
Machine B needs
the above mentioned files with all permissions and ownerships intact
(including groups etc)
Machine C has access to both A and B, but has a completely different set of users.
Normally, i would just rsync everything over, directly between A and B, but due to severely limited bandwidth at the mome
I can't for the life of me figure out how to design my permissions scheme for my apache files.
I am trying to make changes to my website over ftp but when I save any files it changes the permissions and owner to my username. I can edit files in the same folder trough samba without changing the permissions. I really don't understand how the permissions for the /var/www folder work and I'm pulling my hair out trying to get it to work.
I've read a lot of solutions for something like this, but nothing seems to work quite right for me.
I have a directory in which collaborative files / directories are stored. Say directory abc is owned by root and the group is project-abc.
The /etc/crontab file has the permissions:
-rw-r--r--
I understand that this file is for system cron jobs and other users should not have permission to modify it. The current permissions allows all users read access to the file, enabling them to view the contents.
Is it necessary for all users to be able read /etc/crontab?
This is NOT your standard "how do permissions work" question!
I'm thinking the answer will probably involve ACL, but I don't know how exactly.
I've messed around with standard permissions, guid, sticky bit, etc. Doesn't work.
What I want:
User will upload files. User will have ability to change permissions on files to allow execution.
Why are Linux file permissions still so primitive and is this likely to ever change?
Each file/dir can only have an owner and group.