2

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 2

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.

1

Probably the permissions for the parent directory are too restrictive (no write permission for group)

1
  • or in other words: on UNIX, directories have their own set of permissions.
    – DutchUncle
    Jan 12, 2011 at 23:55

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .