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.
Asked
Active
Viewed 153 times
2 Answers
4
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.
![](../../users/profiles/55514.webp)
MadHatter
- 78,442
- 20
- 178
- 229
1
Probably the permissions for the parent directory are too restrictive (no write permission for group)
![](../../users/profiles/127778.webp)
bitwelder
- 216
- 3
- 7
-
or in other words: on UNIX, directories have their own set of permissions. – DutchUncle Jan 12 '11 at 23:55