Hidden,System Attributes on Directories

Gerald Carter jerry at samba.org
Thu Jan 24 17:31:22 GMT 2002

On Thu, 24 Jan 2002, Nick Eggleston wrote:

> Setting Hidden, System, or Archive bits on DIRECTORIES does not work
> (Samba Ver 2.2.2) .  We have it working fine for files, where is maps
> those permissions to the X flags under Unix.  However, directories on
> Unix require those bits for normal operation, so they would have to be
> mapped to some other bits (probably suid, sgid and sticky bits) for
> directories. Unfortunately, I can find no configuration parameters
> that discuss this issue.

We only support the DOS attribute bits for files.  Not the best solution
I admit, but the setgid and sticky bits are not really available either.

> [the only other option I can see would me to have a secret look-aside file
> that stored these setting out-of-band]

Yup.  If the fs supported some type of extanded attribute storage,
we could pass the attributes (and security descriptors) for that matter
through the VFS have have the fs worry about how to represent it.

> Would someone(s) please comment on this issue?  Has it been addressed
> previously?  Am I just missing something obvious?

chau, jerry
 Hewlett-Packard                                     http://www.hp.com
 SAMBA Team                                       http://www.samba.org
 --                                            http://www.plainjoe.org
 "Sam's Teach Yourself Samba in 24 Hours" 2ed.      ISBN 0-672-32269-2
 --"I never saved anything for the swim back." Ethan Hawk in Gattaca--

More information about the samba-technical mailing list