[Samba] Problem with PRODUCTION machine, please respond quickly!!

S. J. van Harmelen sander.vanharmelen at isp.solcon.nl
Sun Aug 6 10:04:12 GMT 2006


On vr, 2006-08-04 at 08:39 -0700, Jeremy Allison wrote:
> On Fri, Aug 04, 2006 at 11:29:39AM +0200, Sander van Harmelen wrote:
> > Dear Samba guru...
> > 
> >  
> > 
> > I have a problem when I try to remove some files on a samba share... I
> > see this in my samba.log:
> > 
> >  
> > 
> > [2006/08/04 10:58:55, 1]
> > smbd/posix_acls.c:store_inheritance_attributes(252)
> > 
> >   store_inheritance_attribute: Error Permission denied
> > 
> >  
> > 
> > But I'm the owner of the file?!
> 
> Ok - I just checked the code. This isn't the problem.
> 
> The "store_inheritance_attribute: Error Permission denied"
> is informational only (ie. we don't fail the delete if
> we can't store the EA inheritance attribute).
> 
> Look at the permissions in the containing directory.
> Does the deleting user have permission to write into it ?
> 
> Jeremy.

=====================================================================
Did mail this one yesterdag, but didn't see it in the Samba list. So
just mailing it again to be sure it's recieved...
===================================================================== 

Jeremy,

Thanks for all your answers! I checked the containing directory (from
within Windows) and there the mpsfrontpageacct account has Full Control.
So that shouldn't be the problem I quess...

I think the problem has something to do with inheriting rights do... Our
provisioning system worked great for a while, but since we had a major
crash (hardware related) last week this changed.

Now I'm thinking realy hard what might have been changed since then. All
I can come up with is that we mounted with user_xattr support (before we
only had acl support). 

We where planning to enable user_xattr for a number of reasons, but
didn't got to it yet. When everything was down anyway, we decided the
enable this wright away (thinking it should have absolutely no impact).

Where we wrong about this? Could it be that since we turned user_xattr
on, the acl inheritance isn't working like it did before?

Our provisioning system uses a set of scripts to provide webspace (among
others). Just before trying to delete some files (which nog give an
error) another script comes by to set some rights.

Any thoughts or pointers anyone?

Thanks...



More information about the samba mailing list