Move file from home to ext NTFS-Drive, at the end get an error indication

Error indication (or better to say “wrong” error indication) :

Move file from HDD1 to HDD2 : "Access denied on /media/mnt/HDD2/file

(German Text : Zugriff verweigert auf /media/mnt/HDD2/file)

Buttons : Repeat Cancel)

After some tries “Repeat” I did cancel to remove the notification.

The file will be correctly copied to the ext-NTFS drive, but the “home-file” will be seen and must be “removed” by F5.

KDE installed alongside Ubuntu-Mate (24.04).

fstab entry :

UUID=D43ACC093ACBE698    /media/mnt/WDMyBook_8T_Ext      ntfs-3g         defaults,nls=utf8,umask=0000,nofail,windows_names  0       0

lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 24.04.4 LTS
Release: 24.04
Codename: noble

inxi -b
System:
Host: Laptop2 Kernel: 6.8.0-111-generic arch: x86_64 bits: 64
Desktop: KDE Plasma v: 5.27.12 Distro: Kubuntu 24.04.4 LTS (Noble Numbat)
Machine:
Type: Laptop System: ASUSTeK product: VivoBook_ASUSLaptop X515DA_M515DA
v: 1.0 serial:
Mobo: ASUSTeK model: X515DA v: 1.0 serial:
UEFI: American Megatrends v: X515DA.309 date: 05/23/2023
Battery:
ID-1: BAT0 charge: 13.9 Wh (49.5%) condition: 28.1/37.1 Wh (75.6%)
volts: 7.8 min: 7.8
CPU:
Info: quad core AMD Ryzen 5 3500U with Radeon Vega Mobile Gfx [MT MCP]
speed (MHz): avg: 2684 min/max: 1400/2100
Graphics:
Device-1: AMD Picasso/Raven 2 [Radeon Vega Series / Radeon Mobile Series]
driver: amdgpu v: kernel
Device-2: Quanta USB2.0 VGA UVC WebCam driver: uvcvideo type: USB
Display: wayland server: X.org v: 1.21.1.11 with: Xwayland v: 24.1.6
compositor: kwin_wayland driver: X: loaded: amdgpu
unloaded: fbdev,modesetting,vesa dri: radeonsi gpu: amdgpu
resolution: 1920x1080
API: OpenGL v: 4.6 compat-v: 4.5 vendor: amd mesa v: PPA renderer: AMD
Radeon Vega 8 Graphics (radeonsi raven ACO DRM 3.57 6.8.0-111-generic)
Network:
Device-1: Realtek RTL8821CE 802.11ac PCIe Wireless Network Adapter
driver: rtw_8821ce
Device-2: Realtek RTL8153 Gigabit Ethernet Adapter driver: r8152 type: USB
Drives:
Local Storage: total: 19.58 TiB used: 17.05 TiB (87.1%)
Info:
Memory: total: 16 GiB note: est. available: 13.59 GiB used: 3.04 GiB (22.3%)
Processes: 325 Uptime: 19h 44m Shell: Bash inxi: 3.3.34

I did start with Ubuntu-Mate 22.04 (It was not possible with the installation procedure of Mate 24.04 to replace a former Ubuntu-Distro by Mate 24..04 (automatic installation). Therefore installed Mate 22.04, in a DualBoot (Win11) and replaced the former installed Ubuntu-Gnome.

And after all installed Mate 24.04 via … sudo do-release-upgrade and also I am going to install the Kubuntu 26.04.01 via do-release-upgrade.

The problem itself :

Move file from ntfs to ntfs, same problem, error notification

Move file from home to SD-Card, no problem

Move file from SSH-Server to ntfs, no problem

I did replace ntfs-3g by ntfs3 (fstab, see above), no USB drive mounted any more.

Any idea how to solve this problem ?

If there are any missing necessary information of my system, I will added.

Hi Gloster. I’ve had this entry in my fstab for years, and never had a problem, though i don’t copy/retrieve a lot, i have done so from time to time. It’s for my Windows dual-boot device - not usb connected. I’m not sure why you’d put a USB device in your fstab, it should just detect when you plug it in, and offer to mount it with a click of a button.

UUID=yoursgoeshere /mnt/win11 ntfs nofail,nocase,defaults 0 0

Actually, i added “nocase” maybe a year or so ago after reading about it somewhere. I thought i’d try it out.

‘nofail’ is there so my startup doesn’t hang waiting for it should there be a problem.

I use mini-dlna with > 20 TB on ext-USB devices. Without the entry in fstab, the former build mini-dlna Data-Base will be deleted because the mini-dlna service will be started before the USB-Devices will be mounted.

Also per default the USB devices will be mounted …/username/… and in my system not readable by the DLNA-Clients.

nocase :

I did try ntfs3 + nocase with the same result, Superblock not readable … .

An additional hint by mv to ext HDD :

 mv "Eine Frage der EhreOK.txt" /media/mnt/WDMyBook_8T_Ext
mv: preserving times for '/media/mnt/WDMyBook_8T_Ext/Eine Frage der EhreOK.txt': Operation not permitted
mv: preserving permissions for '/media/mnt/WDMyBook_8T_Ext/Eine Frage der EhreOK.txt': Operation not permitted

But file moved to /media/mnt/WDMyBook_8T_Ext and removed in home.

I wonder if there’s a problem with your chosen path: /media/mnt

When i plug in a usb device, (and mount it via the gui) it mounts to /run/media/snugglemugglemoo

When i use fstab to mount things, i mount to /mnt

I might suggest, as it’s worked for me:

  1. sudo mkdir /mnt/WDMyBook_8T_Ext

2. sudo chown snugglemugglemoo:snugglemugglemoo /mnt/WDMyBook_8T_Ext (where snugglemugglemoo is your username:groupname).

3. update fstab to use that path.

Also, you could try just ntfs rather than ntfs3.

Is the mini-dlna service a systemd service? If so, look for some systemd controls that could wait for a dependency to be available before the service starts. E.g.

Neither ntfs nor :

sudo chown richard:richard /mnt/Toshiba_500G
stat -c “%U %G” /mnt/Toshiba_500G
root root

did work.

But I did try also in fstab : uid=1000,gid=1000

no improvement.

Without fstab the ext.devices will be mounted to /media/user/…

If my user name will be in the path, no ext-usb-device will be readable by the DLNA client.

But thank you for help.

I think about a script :

  1. cp, file will be read by a script via dolphin kontext menu
  2. wait until it is finished
  3. delete source file

Now I did remove the fstab entry, and what a surprise, all ext.HDDs wil be mounted with ntfs3 :

/dev/sde1 /media/richard/WDMyBook_8T_Ext rw,nosuid,nodev,relatime,uid=1000,gid=1000,iocharset=utf8 ntfs3

“No read access possible by DLNA-Client if Path to the ext-devices includes the user name.”

Obviously it is a problem of Ubuntu-Gnome only. I did expect I will have the same problem with Kubuntu, but it is not.

Also the “Wrong error” indication will not be indicated anymore.

The last problem, the DLNA data base will be deleted, during boot, I can live with it.

I did check the way to do it via script, and found : askubuntu com/questions/719262/how-do-i-add-custom-items-to-the-context-menu-in-dolphin-in-kde-5

A nice way to extend the Dolphin context menu with simple scripts.

Thank you for help.