[Samba] DO NOT REPLY [Bug 6635] cannot rename files/dirs

Jeremy Allison jra at samba.org
Fri Aug 14 15:45:16 MDT 2009


On Fri, Aug 14, 2009 at 03:25:08AM -0400, Lanny Baron wrote:
> I am logged into this ubuntu box as lnb, uid=1000(lnb) gid=1000(lnb)  
> groups=1000(lnb),4(adm),20(dialout),24(cdrom),46(plugdev),50(staff),106(lpadmin),121(admin),122(sambashare) 
> The perms on the dirs are:
>
> drwxrwxr-x 41 root staff 4096 2009-07-21 03:32 /smb
>
> drwxrwxr-x 8 lnb staff 4096 2009-08-13 14:16 /smb/quickbooks-backups

Hmmm. Unfortunately this doesn't look like bug #6297 - that
was with the sticky bit on the directory. I'm going to try
and reproduce this with the current 3.2 code and see if it's
still a problem. I don't think so, but it doesn't hurt to
be sure. The debug level 10 you posted shows an ACCESS_DENIED
on attempting to open the directory ./somedir for rename,
but I don't know exactly why that open failed (ie. what
area of the code denied it).

If it still fails with the latest code I'm going to
send you some patches to instrument the open_directory
code so I know why it's failing.

If I test here it doesn't fail (of course).

Jeremy.


More information about the samba mailing list