"write list" overrides "read only" but "admin users" does not

Steven Danneman steven.danneman at isilon.com
Tue Nov 18 00:02:07 GMT 2008


> From: Jeremy Allison [mailto:jra at samba.org]
> To be honest I think the current behavior is more intuitive.
> 
> "read only" and "write list" are parameters specific to read/write
> access to the share. "admin users" is more about bypassing permissions
> checks, not about overriding read/write access. IMHO setting "read
> only"
> should make a share like a CDROM - even an admin user won't be able
> to write to it. If you specifically want an admin user to write to
> the share, you need to add them to the write list.

I agree Jeremy, that "read only" intuitively implies a read-only medium,
like a CDROM.  Which is why the "write list" concept seems incongruent.

I would expect "read only" means nobody can write to that share, not
even members of the "write list".  The only way to modify that share
would be to turn off the "read only" setting, or expose the same
underlying folder through a separate writable share.

It is because "write list" does not behave in this manor, but rather
let's users override a "read only" setting (something that you could not
do on a CDROM) that I felt "admin users" should similarly violate that
intuitive notion.

Regardless, it seems this is an inconsistency that fixing (either by
making "admin users" write or "write list" users not) would upset
someone, and thus perhaps should just be documented more clearly in the
man page and left as is.

-Steven


More information about the samba-technical mailing list