Comment 2 for bug 244779

Revision history for this message
Julien Olivier (julo) wrote :

The SSH server is an Ubuntu 5.10 with openssh-server. But, doing some more tests, I discovered that the bug actually only occurs when trying to remove a folder which is located inside an SMB mount point.

Here is my configuration:

I have an account name "public", with a home folder in "/home/public" (drwxr-xr-x public public)

On startup, I run the following:
mount -t smbfs -o username=XXX,password=XXX,ip=XXX,iocharset=utf8,uid=public,codepage=cp437,gid=public,rw //XXX/share /home/public/share

So, I then have a "/home/public/share" which is a SMB mounted folder (drwxr-xr-x public public).

Then, I create a folder "test" in "/home/public/share" with a bunch of folders and files inside (all belong to public.public with "rw" rights).

Now, if I try to remove this folder with Nautilus, I get a "permission denied" error and not file gets removed. But if I run "rm -rf test" from the CLI (logged as "public" user), it works fine.

If, however, I move the "test" folder from "/home/public/share" to "/home/public", I can remove it from Nautilus without any "permission denied" error.

PS: would it help if I set up a test account and a test SMB share ?