! Please note that this is a snapshot of our old Bugzilla server, which is read only since May 29, 2020. Please go to gitlab.xfce.org for our new server !
removing directories does not work in smb browser
Status:
RESOLVED: WORKSFORME

Comments

Description Nikolas.Arend 2005-01-10 13:18:36 CET
Removing directories (including their content) does not work when browsing the
smb network. Obviously an "rm" command is issued, that will not work for
directories, neither with or without content.
The error message is

Operation not permitted: rm //SERVER/home/some_dir

I run xffm 4.3.0 and xfce4 from anoncvs (2005010821), my system is FC 2.

Cheers,   Nick

Reproducible: Always
Steps to Reproduce:
1.
2. 
3.
Comment 1 Nikolas.Arend 2005-01-10 13:20:55 CET
Sorry, the version date should read 20050108.
Comment 2 edscott editbugs 2005-01-10 18:13:12 CET
Directories with content will not be removed. If you set verbose diagnostics to
"on", you will also get the following:

NT_STATUS_DIRECTORY_NOT_EMPTY removing remote directory file 

If the directory is empty and you still cannot remove it, then the samba server
has instructions not to let you remove it. You should get a more complete error
as to why not if you set verbose diagnostics to "on".
Comment 3 Nikolas.Arend 2005-01-12 15:42:34 CET
Hi,

you were right, empty directories are removed.

> Directories with content will not be removed. If you set verbose diagnostics to
> "on", you will also get the following:

Is this the default behaviour of xffm? If so, can it be changed? It would be
great if directories including content could be removed, only one should get a
confirmation prompt or sth. This is how Konqueror does it when using the smb://
protocol. It removes the directory and all its contents but will ask first.


Cheers,  Nick.
Comment 4 edscott editbugs 2005-01-12 23:32:27 CET
I just checked into whether directories with contents can be removed. The
problem consists whether any diretory entries are directories too. It that is
the case, then the current smbclient implementation will not allow the removal
with a couple simple commands. 

The difference between xffm and konqueror is that xffm does not have any smb
libraries. To remain light, xffm just acts as a front end to command line
"smbclient". 

OTH, if you really want to get serious about removing stuff on remote SMB
servers, you should mount the share using the xffm mount function, then you can
remove whole directories and use wastebaskets to make delete recover possible.

Bug #671

Reported by:
Nikolas.Arend
Reported on: 2005-01-10
Last modified on: 2009-07-14

People

Assignee:
edscott
CC List:
0 users

Version

Version:
unspecified

Attachments

Additional information