Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 02-03-2013, 09:36 PM   #1
LQ Newbie
Registered: Feb 2013
Posts: 2

Rep: Reputation: Disabled
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:

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.
Old 02-04-2013, 11:59 AM   #2
LQ Newbie
Registered: Feb 2013
Posts: 2

Original Poster
Rep: Reputation: Disabled
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.

Last edited by PianoGuy; 02-05-2013 at 09:23 AM.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Delete empty files and folders trintukaz Programming 9 10-14-2011 11:16 AM
[SOLVED] How to delete all empty folders rjo98 Linux - Newbie 3 06-07-2010 11:01 AM
Is there any way to log user samba who delete or move files/folders on samba server ? b-RAM Linux - Server 1 02-09-2010 12:33 AM
Samba on RHEL4: Windows users unable to rename or delete files seanys Linux - Software 1 02-13-2009 02:41 AM
Samba shares show empty folders Venefyxatu Linux - Wireless Networking 8 06-18-2008 01:50 AM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 04:43 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration