Possible Duplicate:
What are the best linux permissions to use for my website?
I have a debian system.
currently /var/www is owned (also group owned) by root
I have two problems. I want to be able to create users that can edit directories under /var/www . I am guessing I need to create a new group (ie: webdev) and give read/write permissions for /var/www.
In the fedora docs they refer to owner and group owner as if both are owners of the file. The leads me to think that any member of a group which tries to change permissions of a file owned by that group will be allowed.
I encounter a strange problem on a unix/linux machine:
I'm member of a group, let's call it group A and a certain file (which has a different owner) belongs to group A as well. The permissions of that file are
-rw-rw----
so I'd expect I should be able to open that file, but I am not: I'll get the "Permission denied" error message when I try to look at the file's content (using cat).
I have the following problem. On Unix server (CentOS 5.5) a number of users belonging to the same group have access to the same files (via ssh). After one particular user (let's say usera A) has edited the file the file owner is changed to A, the group (G) and the permissions (0664) remain intact. Once a second user (B) tries to modify the same file he is not allowed to do so.
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).
I have a shared EXT4 drive with 777 permissions for all users to use.
Problem is :
When a user creates a new folder / file, it gets 644.
I guess that is because of the umask for that user.
Now, I want to have all the new content with 777.
I am running 12.04 x64 server on ext4 disk. There are two user groups 'A' and 'B'. For a specific directory, I would like to give its all permissions to user group 'A'. Also I would like to give only 'write' permission to user group 'B'.
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.
Hi,
I want to automatically allow all users read execute or write permissions on everything created by a specific user, is this possible?