I have created a directory and chown to have permissions master:webmaster and chmod the folder to 775 hence group writeable. So why is it i bert as a member of webmaster cant mv the directory or create a file inside the directory.
2 Answers
To mv the directory you will need write permission on its parent.
But you ought to be able to create inside the directory; can you show us this failing? The output of
ls -la /the/directory
id -a
touch /the/directory/file
would be most interesting.
Probably the permissions for the parent directory are too restrictive (no write permission for group)
-
or in other words: on UNIX, directories have their own set of permissions. Jan 12, 2011 at 23:55