Thunar and chmod
Benedikt Meurer
benedikt.meurer at unix-ag.uni-siegen.de
Thu Aug 7 08:02:31 CEST 2008
Todd and Margo Chester wrote:
> Benedikt Meurer wrote:
>> Just curious: Why would one want to set permissions of a file/directory
>> to 766?
>
> When administering a samba server, if you have
>
> map archive = yes
> map system = yes
> map hidden = yes
>
> set in your smb.conf, you map the Windows attributes
> to following chmod octets:
>
> archive 0100
> system 0010
> hidden 0001
>
> "chmod 766" tells windows the file is "archive",
> "not system" and "not hidden". It also allows
> you to use the files in Linux, depending on what you
> set smb.conf's "force user" and "force group" to.
Aye, well that's not what Thunar is meant to do. It's a really special
task (for a file manager meant to be used by people who do not care for
bits in inodes). But you can of course add a custom action that does the
"chmod 766".
> -T
HTH,
Benedikt
More information about the Xfce
mailing list