dos filemode

Gerald Carter gcarter at valinux.com
Fri Mar 30 20:37:42 GMT 2001


On Fri, 30 Mar 2001, MCCALL,DON (HP-USA,ex1) wrote:

> 
> Hi Jerry,
>
> Looks good, but the statement "allows a user who would not otherwise
> be allowed" is a little misleading - looking at the code indicates
> that the intent is to check to see if the user is an ADMIN user,or if
> the file in question has write for 'other', or if the user is a member
> of the GROUP that owns the file, and the group has write permission;

I just spoke with Jeremy about this and it boils down to the, "with 'dos 
filemode' enabled, if you can write to the file, you can change the
permissions (contrary to normal UNIX semantics)"

Sound ok?




Cheers, jerry
----------------------------------------------------------------------
   /\  Gerald (Jerry) Carter                     Professional Services
 \/    http://www.valinux.com/  VA Linux Systems   gcarter at valinux.com
       http://www.samba.org/       SAMBA Team          jerry at samba.org
       http://www.plainjoe.org/                     jerry at plainjoe.org

       "...a hundred billion castaways looking for a home."
                                - Sting "Message in a Bottle" ( 1979 )






More information about the samba-technical mailing list