Again, root overrides all permissions. A normal user doesn't.manefesto said:But if I download torrent via transmission started as user transmission then permission set transmission:transmussio for example.
Then copy the files as a normal user, not root.Need inheritance all permission as parrent folder.
manefesto said:Hi.
I have folder /share with permission nobody:nogroup (for samba). When I copy files/folders as root then permission changes. How make automatically set permission that parent folder ?
$ mkdir test
$ chown nobody:nogroup test
$ chmod u+s,g+s test
First keep in mind that you're responding to a thread that is nearly three years old. Don't take my comment the wrong way, the only reason I mention it is because I can fully understand the confusion, I sometimes have issues with that stuff too these days.leksey said:Code:chmod u+s
IsDoes that makessense? For a directory, it is ignored.