I used File Manager to browse some files on my NAS:


When I did so, a shortcut (or symlink) was automatically placed on my desktop.

Now I cannot delete this item. When I attempt to do so, File Manager wants to delete the files on the NAS instead of the item on my desktop.

How can I remove this shortcut/link from the desktop?


Here's my ls output:

pi@OFFSITE:~/Desktop $ ls -l
total 4
-rw-r--r-- 1 pi pi 202 Jul 19 18:46 ExternalUSB.desktop


Here's my mount output:

pi@OFFSITE:~/Desktop $ mount
/dev/mmcblk0p7 on / type ext4 (rw,noatime)
devtmpfs on /dev type devtmpfs (rw,relatime,size=341236k,nr_inodes=85309,mode=755)
sysfs on /sys type sysfs (rw,nosuid,nodev,noexec,relatime)
proc on /proc type proc (rw,relatime)
securityfs on /sys/kernel/security type securityfs (rw,nosuid,nodev,noexec,relatime)
tmpfs on /dev/shm type tmpfs (rw,nosuid,nodev)
devpts on /dev/pts type devpts (rw,nosuid,noexec,relatime,gid=5,mode=620,ptmxmode=000)
tmpfs on /run type tmpfs (rw,nosuid,nodev,mode=755)
tmpfs on /run/lock type tmpfs (rw,nosuid,nodev,noexec,relatime,size=5120k)
tmpfs on /sys/fs/cgroup type tmpfs (ro,nosuid,nodev,noexec,mode=755)
cgroup2 on /sys/fs/cgroup/unified type cgroup2 (rw,nosuid,nodev,noexec,relatime,nsdelegate)
cgroup on /sys/fs/cgroup/systemd type cgroup (rw,nosuid,nodev,noexec,relatime,xattr,name=systemd)
cgroup on /sys/fs/cgroup/net_cls type cgroup (rw,nosuid,nodev,noexec,relatime,net_cls)
cgroup on /sys/fs/cgroup/devices type cgroup (rw,nosuid,nodev,noexec,relatime,devices)
cgroup on /sys/fs/cgroup/pids type cgroup (rw,nosuid,nodev,noexec,relatime,pids)
cgroup on /sys/fs/cgroup/blkio type cgroup (rw,nosuid,nodev,noexec,relatime,blkio)
cgroup on /sys/fs/cgroup/cpuset type cgroup (rw,nosuid,nodev,noexec,relatime,cpuset)
cgroup on /sys/fs/cgroup/freezer type cgroup (rw,nosuid,nodev,noexec,relatime,freezer)
cgroup on /sys/fs/cgroup/memory type cgroup (rw,nosuid,nodev,noexec,relatime,memory)
cgroup on /sys/fs/cgroup/cpu,cpuacct type cgroup (rw,nosuid,nodev,noexec,relatime,cpu,cpuacct)
systemd-1 on /proc/sys/fs/binfmt_misc type autofs (rw,relatime,fd=31,pgrp=1,timeout=0,minproto=5,maxproto=5,direct)
debugfs on /sys/kernel/debug type debugfs (rw,relatime)
sunrpc on /run/rpc_pipefs type rpc_pipefs (rw,relatime)
mqueue on /dev/mqueue type mqueue (rw,relatime)
configfs on /sys/kernel/config type configfs (rw,relatime)
fusectl on /sys/fs/fuse/connections type fusectl (rw,relatime)
/dev/mmcblk0p6 on /boot type vfat (rw,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=ascii,shortname=mixed,errors=remount-ro)
/dev/sda1 on /mnt/elements type fuseblk (rw,nosuid,nodev,noexec,relatime,user_id=0,group_id=0,allow_other,blksize=4096)
tmpfs on /run/user/1000 type tmpfs (rw,nosuid,nodev,relatime,size=94664k,mode=700,uid=1000,gid=1000)
gvfsd-fuse on /run/user/1000/gvfs type fuse.gvfsd-fuse (rw,nosuid,nodev,relatime,user_id=1000,group_id=1000)


Here's my lsblk output:

pi@OFFSITE:~/Desktop $ lsblk --fs
NAME        FSTYPE LABEL    UUID                                 FSAVAIL FSUSE% MOUNTPOINT
└─sda1      ntfs            D6986D4D986D2CE5                        7.9T    14% /mnt/elements
├─mmcblk0p1 vfat   RECOVERY 9016-4EF8                                           
├─mmcblk0p5 ext4   SETTINGS 2fe2ad4a-81c1-430b-ad2a-a7fd4ed14971                
├─mmcblk0p6 vfat   boot     9AD7-B5BD                               213M    15% /boot
└─mmcblk0p7 ext4   root     e0c17230-abcf-45fc-abbe-fe49a78a61b1     18G    28% /


Note that the mounted drive seen above (sda/sd1), as well as the desktop shortcut pointing to it (ExternalUSB.desktop), are unrelated to this issue. The object that was automatically added to the desktop when I connected to my NAS so far hasn't shown up in any terminal command I've issued.

  • Is this a Windows desktop? If so, why are you asking this question here - on Raspberry Pi?
    – Seamus
    Jul 20, 2020 at 21:02
  • This is on an RPi4.
    – InteXX
    Jul 20, 2020 at 21:08
  • OK - the back-slashes confused me.
    – Seamus
    Jul 20, 2020 at 21:11
  • Ah, good point. I fixed that. Thanks for the heads-up.
    – InteXX
    Jul 20, 2020 at 21:13
  • Are you certain this is a symlink? I.e. if you run ls -l on your desktop folder, you see the letter l (ell) as the first character of this?
    – Seamus
    Jul 20, 2020 at 21:17

1 Answer 1


See my analysis of NOOBS. Suffice it to say none of the experienced users use it.

NTFS on Raspbian is read-only by default, although there is a R/W module that can be installed. The Linux implementation of NTFS (which is reverse engineered because it is proprietary) lacks journalling.

I must admit I haven't used NTFS for years (except to read portable drives) but those who do report slow access.

NOTE The partition is MOUNTED on /mnt/elements as shown by:-

/dev/sda1 on /mnt/elements type fuseblk (rw,nosuid,nodev,noexec,relatime,user_id=0,group_id=0,allow_other,blksize=4096)

Thus questions about NAS are unclear.

Incidentally findmnt produces a more usable output.

  • "NOOBS" Very good, thank you. I'll have a close look at that. The mounted USB drive is completely separate from the original question. The only reason I decided to include it here in the ls, mount, and lsblk outputs was to demonstrate that the desktop object apparently linked to my NAS somehow (the object that I'm trying to delete) isn't a mounted drive/partition/share, nor is it a symlink. The //BACKUP/Files UNC path points to my NAS.
    – InteXX
    Jul 21, 2020 at 0:36
  • I added a brief statement for clarity. Does that help?
    – InteXX
    Jul 21, 2020 at 2:41
  • Also: I didn't realize the RPi OS was available in anything other than NOOBS. Thanks for the tip. I'll use the ISO for all future installs.
    – InteXX
    Jul 21, 2020 at 3:04
  • FYI the NTFS partition was formatted by Windows, so journaling is enabled (that said, RPi probably can't write to it, as you indicate). My requirement to be able to plug the drive into a Windows machine and hit the ground running with a restore operation is a pretty heady one. Correct me please, but I don't think we're going to meet that with ext4 etc.
    – InteXX
    Jul 21, 2020 at 3:09

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.