Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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
add comment

1 Answer

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
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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