Thunar and chmod

Todd and Margo Chester ToddAndMargo at verizon.net
Wed Aug 6 19:44:26 CEST 2008


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.

-T




More information about the Xfce mailing list