Hidden,System Attributes on Directories

Nick Eggleston nick at dccinc.com
Thu Jan 24 22:10:03 GMT 2002


Please take a look at my follow-up post, especially as regards portability
of the back-end filestore.  It seems to me that would be a desired design
constraint, but I am eager to hear your comments.

Nick

On Thu, 24 Jan 2002, Gerald Carter wrote:

> 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