[Samba] Problem deleting/renaming files

Jeremy Allison jra at samba.org
Mon Nov 30 11:01:36 MST 2009


On Fri, Nov 27, 2009 at 04:27:24AM -0700, Jim wrote:
> Hi - We have been using a samba configuration file similar to that  
> listed below for some years without issue. However when carrying it over  
> to a new server running Samba 3.4.0 (-3ubuntu5.1), we started  
> experiencing problems deleting files via Windows Explorer; attempts to  
> do so are resulting in 'Access is denied'. Similarly, attempting to  
> change the name of a file or directory is resulting in the same 'Access  
> is denied' message. There are otherwise no problems reading, creating,  
> or modifying files or directories.
>
> I found that removing the 'force user' parameter appears to resolve the  
> issue. The only obvious difference that I saw while examining level 10  
> logs is that without 'force user' some of the file opens were shown as  
> performed by 'DOMAIN+user0', whereas with 'force user' they are shown as  
> being done by 'user0' (connections to the share are logged in through  
> the domain user0 account). I also found that changing the unix  
> permissions of the share directory from 755 to 775, while leaving 'force  
> user' as is, resolved the issue. However neither of these workarounds is  
> desirable for our current setup.
>
> If anyone has any ideas on how I might solve or further diagnose this  
> problem, I would appreciate your input.

Sounds like something we fixed in later versions of 3.4.x (we're now
up to 3.4.3). I'd try the later version.

Jeremy.


More information about the samba mailing list