Posted: Sun Sep 03, 2023 0:12 Post subject: SAMBA: The WIN 10 client cannot delete a non-empty directory
This has been going on for some time in the latest firmware, I did not track it, and it was not leisure to write. But in the piggy bank of SAMBA problems, you may need to put. So the initial data:
Current firmware: DD-WRT v3.0-r53396 std (08/21/23)
USB:
--- /dev/sda1
Block device, size 928.5 GiB (996985140224 bytes)
Ext4 file system
Volume name "jffs".
Samba Server:
Access Leve - Everyone;
Minimum Protocol Version - 2.10;
Maximum Protocol Version - 3.11;
Encryption - Off.
The client (current) Windows 10 Pro, version 22H2, build 19045.3324 - cannot delete any non-empty folder from the SAMBA server. When you try to delete a folder through Windows Explorer (and other methods), it disappears from the screen, but only until the current folder is updated. For example, if you change the directory and return, then the deleted folder will be in place. No error messages are displayed.
You can first delete all the files in this folder, and then her - everything will be fine. You can move the folder to a local disk - after moving, the original folder will be deleted. But just delete... I can't do it.
If you have any advice for me, please offer it. _________________ Linksys WRT1900ACSv2
Automatically adjustable temperature, always within the range of 59-68°С.
Read/Write/Execute .... file permissions problem? _________________ "The woods are lovely, dark and deep,
But I have promises to keep,
And miles to go before I sleep,
And miles to go before I sleep." - Robert Frost
"I am one of the noticeable ones - notice me" - Dale Frances McKenzie Bozzio
Posted: Mon Sep 11, 2023 2:12 Post subject: Re: SAMBA: The WIN 10 client cannot delete a non-empty direc
PavelVD wrote:
This has been going on for some time in the latest firmware, I did not track it, and it was not leisure to write. But in the piggy bank of SAMBA problems, you may need to put. So the initial data:
Current firmware: DD-WRT v3.0-r53396 std (08/21/23)
USB:
--- /dev/sda1
Block device, size 928.5 GiB (996985140224 bytes)
Ext4 file system
Volume name "jffs".
Samba Server:
Access Leve - Everyone;
Minimum Protocol Version - 2.10;
Maximum Protocol Version - 3.11;
Encryption - Off.
The client (current) Windows 10 Pro, version 22H2, build 19045.3324 - cannot delete any non-empty folder from the SAMBA server. When you try to delete a folder through Windows Explorer (and other methods), it disappears from the screen, but only until the current folder is updated. For example, if you change the directory and return, then the deleted folder will be in place. No error messages are displayed.
You can first delete all the files in this folder, and then her - everything will be fine. You can move the folder to a local disk - after moving, the original folder will be deleted. But just delete... I can't do it.
If you have any advice for me, please offer it.
This has been an issue for quite some time now. It happens on the x64 bit build. I am using the r53045 since Samba quits working completely on anything newer. You can delete a directory or files and it will pretend it did delete it. Yes about no errors any indications that it didn't succeed the operation. If you refresh the directory the folders and files were never deleted they reappear. You can create new files and new directory's just fine.
I have the same problem, can create files/folders, but can't permanently delete folders. (Haven't tried deleting files yet.) v3.0-r53445 std (08/27/23)
If you ssh or telnet into your router, cd to your mounted shared drive and do a ls -l and check the permissions. They should be similar to this:
Code:
drwxrwxr-x 3 root root 4096 Aug 8 2022 MyData
You can also delete it from here by issuing this command:
Code:
rm -rf foldername
BE CAREFUL, as this command uses -r which means recursive and -f which means force. It this doesn't work, then you probably have a corrupted filesystem. _________________ Linksys EA8500 (Internet Gateway, AP/VAP) - DD-WRT r53562
Features in use: WDS-AP, Multiple VLANs, Samba, WireGuard, Entware: mqtt, mlocate
Wireless 5ghz only
Netgear R7800 (WDS-AP, WAP, VAP) - DD-WRT r55779
Features in use: multiple VLANs over single trunk port
Linksys EA8500 WDS Station x2 - DD-WRT r55799
Netgear R6400v2 WAP, VAP 2.4ghz only w/VLANs over single trunk port. DD-WRT r55779
OSes: Fedora 38, 9 RPis (2,3,4,5), 20 ESP8266s: Straight from Amiga to Linux in '94, never having owned a Windows PC.
I cannot even telnet into the router. I'm using 'root' for the user name and my set password via GUI for the password. when I try to enter the password, the cursor doesn't even move (Looks like its not even entering. Not sure if its a security feature of telnet or if something else is going on.) Ether way, it says incorrect login.
I cannot even telnet into the router. I'm using 'root' for the user name and my set password via GUI for the password. when I try to enter the password, the cursor doesn't even move (Looks like its not even entering. Not sure if its a security feature of telnet or if something else is going on.) Ether way, it says incorrect login.
Just tried telnet myself, and you are right. Not working (r53562). Tried logging in with root/WebUIPW and no go. Just try enabling SSH under Services tab, NOT the Administrator tab. Then use Putty to ssh into it. Depending on what Windows version you are using, you may be able to use ssh directly from the Windows console. Not sure. I don't use Windows. _________________ Linksys EA8500 (Internet Gateway, AP/VAP) - DD-WRT r53562
Features in use: WDS-AP, Multiple VLANs, Samba, WireGuard, Entware: mqtt, mlocate
Wireless 5ghz only
Netgear R7800 (WDS-AP, WAP, VAP) - DD-WRT r55779
Features in use: multiple VLANs over single trunk port
Linksys EA8500 WDS Station x2 - DD-WRT r55799
Netgear R6400v2 WAP, VAP 2.4ghz only w/VLANs over single trunk port. DD-WRT r55779
OSes: Fedora 38, 9 RPis (2,3,4,5), 20 ESP8266s: Straight from Amiga to Linux in '94, never having owned a Windows PC.
OK, this is getting stranger by the minute. I CAN delete a folder, but only if its empty. If it has anything in it, a file or even another empty folder, the original folder will not permanently delete. A file will permanently delete. So far. In my experience.
Enable SSH in Services then use SSH instead of telnet. _________________ Linksys EA8500 (Internet Gateway, AP/VAP) - DD-WRT r53562
Features in use: WDS-AP, Multiple VLANs, Samba, WireGuard, Entware: mqtt, mlocate
Wireless 5ghz only
Netgear R7800 (WDS-AP, WAP, VAP) - DD-WRT r55779
Features in use: multiple VLANs over single trunk port
Linksys EA8500 WDS Station x2 - DD-WRT r55799
Netgear R6400v2 WAP, VAP 2.4ghz only w/VLANs over single trunk port. DD-WRT r55779
OSes: Fedora 38, 9 RPis (2,3,4,5), 20 ESP8266s: Straight from Amiga to Linux in '94, never having owned a Windows PC.
Look for this under the Services tab. You can try the native windows shell first:
Code:
ssh root@routerIP
If that doesn't work, download Putty and use that instead. _________________ Linksys EA8500 (Internet Gateway, AP/VAP) - DD-WRT r53562
Features in use: WDS-AP, Multiple VLANs, Samba, WireGuard, Entware: mqtt, mlocate
Wireless 5ghz only
Netgear R7800 (WDS-AP, WAP, VAP) - DD-WRT r55779
Features in use: multiple VLANs over single trunk port
Linksys EA8500 WDS Station x2 - DD-WRT r55799
Netgear R6400v2 WAP, VAP 2.4ghz only w/VLANs over single trunk port. DD-WRT r55779
OSes: Fedora 38, 9 RPis (2,3,4,5), 20 ESP8266s: Straight from Amiga to Linux in '94, never having owned a Windows PC.