LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (http://www.linuxquestions.org/questions/linux-software-2/)
-   -   sshfs + samba + Windows 7 = unable to delete non-empty folders (http://www.linuxquestions.org/questions/linux-software-2/sshfs-samba-windows-7-%3D-unable-to-delete-non-empty-folders-4175448516/)

PianoGuy 02-03-2013 10:36 PM

sshfs + samba + Windows 7 = unable to delete non-empty folders
 
I'm running a Linux file server which has a filesystem mounted via sshfs. This filesystem is shared via Samba to some Windows computers.

I'm experiencing a problem when a Windows 7 computer attempts to delete a non-empty folder. The error is "permission denied".

sshfs + samba + Windows 2000 works properly, as does samba + Windows 7 (no sshfs).

My problem appears to be the same as this person's: http://en.usenet.digipedia.org/thread/11920/304/

I'm using the following:

SSHFS version 2.2
FUSE library version: 2.8.4
fusermount version: 2.8.4
using FUSE kernel interface version 7.12
smbd version 3.2.5

Thanks to anyone who could point me in the right direction.

PianoGuy 02-04-2013 12:59 PM

I'm rewriting this post to provide more detail:

After much testing, I think the problem is a compatibility issue between the versions of SSHFS/FUSE and Samba that I was using. I didn't figure it out at first because Samba + Windows 7 (no SSHFS) worked.

This is what I'm using that works:
SSHFS version 2.2
FUSE library version: 2.8.4
fusermount version: 2.8.4
using FUSE kernel interface version 7.12
smbd version 3.6.5

Though SSHFS 2.2 is old, it works properly (at least for my use). The latest version isn't in my repository though it's apparently in the queue. Since I got 2.2 to work I'm not going to bother upgrading unless I notice any new problems. On a test machine, I did try SSHFS 2.4 and smbd 3.2.5 which had the issue.


All times are GMT -5. The time now is 07:17 AM.