Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have a drive on my FreeNas (8.2) box which transmission copies files automatically when it is finished downloading them. It works fine as long as the download is a single file, if it's folder with files in it I have a problem to move them because of permissions.

I set the root folder downloads as chmod -R 777 but the new folders are always 644 I think. I'm not hugely knowledgeable with UNIX/BSD file permissions. Is there a way to set the permissions over the folder for folders that future downloaded folder (which do not yet exist) receive the same rights as the parent? or is it only something that can be solved with the settings of transmission which sets the permissions?

share|improve this question

I think what you're looking for is umask. It looks like Transmission has umask in it's configuration (doc). Your shell will generally maintain this. If you are talking about network shares the daemon might control the defaults on newly created files (Samba's doc).

share|improve this answer

You must log in to answer this question.

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