1

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?

2

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).

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.