[Samba] Write access doesn't grant delete access?!

Ben Walton bwalton at artsci.utoronto.ca
Mon May 8 12:53:00 GMT 2006


You may also want to lsattr the file and make sure it's not immutable or
something.

-Ben

On Mon, 2006-05-08 at 02:13 -0500, Pitti, Raul wrote:
> Jerry Westrick wrote:
> 
> >On Sunday 07 May 2006 23:24, Adam Nielsen wrote:
> >  
> >
> >>Hi Jeremy,
> >>
> >>Sorry it has taken me so long to get back to you.
> >>
> >>    
> >>
> >>>>I didn't realise that Samba treated Delete access separately to
> >>>>Write access - how do I grant Delete access on a folder?
> >>>>        
> >>>>
> >>>It doesn't. Can you post a debug level 10 log of a delete request
> >>>please?
> >>>      
> >>>
> >>I'll send you the debug log off-list, but from the looks of it there's
> >>an issue with the ACLs.  Samba says I don't have enough access to
> >>delete files, which I could understand, except for the fact that I can
> >>*modify* the file I'm trying to delete.  I would've assumed in this
> >>case that I didn't have write or execute access to the directory,
> >>but as far as I can tell, I do.
> >>
> >>Thanks,
> >>Adam.
> >>    
> >>
> >
> >Yo, Adam...
> >
> >There is a special Linux security attribute which in effect says only
> >owner can delete...  I forget the exact value,  but got bitten by it once.
> >
> >Check to see if that's your problem...
> >
> >Jerry
> >  
> >
> 
> try to apply chmod 0770 or whatever you want to remove all the special 
> attributes.  Tell us how it goes.
> hope this help!
> 
> RP
> 
> 
> -- 
> --------------------
> Raúl D. Pittí Palma
> Associate
> Global Engineering and Technologies
> mobile (507)-6616-0194
> office (507)-264-2362
> Republic of Panama
> www.globaltecsa.com 
> 
-- 
Ben Walton
Systems Programmer
Office of Planning & IT
Faculty of Arts & Science
University of Toronto
Cell: 416.407.5610
PGP Key Id: 8E89F6D2
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 191 bytes
Desc: This is a digitally signed message part
Url : http://lists.samba.org/archive/samba/attachments/20060508/1790b549/attachment.bin


More information about the samba mailing list