I'm trying to understand the file permissions in ubuntu, but after reading some material, I still don't understand why the following situation doesn't work:

I have a folder \myfolder\torrents\complete

The permissions on that specific folder:

  • Owner: someuser: Read,Write,Execute
  • Group: debian-transmission: Read,Write,Execute
  • Other : -

The folders myfolder and torrents have the permissions:

  • Owner : someuser: Read,Write,Execute
  • Group : someuser: Read,Write,Execute
  • Other : -

The transmission client is running under the user group debian-transmission. But it's still complaning about not having permissions to access the folder \ myfolder\torrents\complete.

What am I missing here?


1 Answer 1


You should give the execute permission to others on the folders above complete. Without the execute permission on a folder, it cannot be traversed:

chmod o+x \myfolder \myfolder\torrents

Without this, a process running as debian-transmission is never able to get past \myfolder, let alone \myfolder\torrents.

See this Unix & Linux question for a discussion.

Unless you run this command recursively (with -R, which you shouldn't) this does not give execute permission to files (or anything else) within these directories. Only these two directories are affected.

  • Yeah that fixed it for me. Still find not a pleasant idea that everyone is able to execute scripts in those folders. Sep 23, 2014 at 20:14
  • @BlackHawkDesign root, no! Did you run it as chmod -R?
    – muru
    Sep 23, 2014 at 20:16
  • I just gave the folder \myfolder and \torrents execute rights to others. Didn't do that recursive, because my folder contains other folders which I don't want anyone else that myuser has access to :) So I didn't do it recursive on root :) Thanks a lot for the help :) Really appreciated! Sep 23, 2014 at 20:20
  • @BlackHawkDesign, good, so no scripts should be executable within it to others.
    – muru
    Sep 23, 2014 at 20:22
  • Yeah, the only user which should have access to those folders is me. Only the transmission client should have access to that subfolder. The rest runs under my username. Thanks for the double check ;) Sep 23, 2014 at 20:25

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.