I used File Manager to browse some files on my NAS:
//BACKUP/Files
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?
EDIT
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
EDIT
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)
EDIT
Here's my lsblk
output:
pi@OFFSITE:~/Desktop $ lsblk --fs
NAME FSTYPE LABEL UUID FSAVAIL FSUSE% MOUNTPOINT
sda
└─sda1 ntfs D6986D4D986D2CE5 7.9T 14% /mnt/elements
mmcblk0
├─mmcblk0p1 vfat RECOVERY 9016-4EF8
├─mmcblk0p2
├─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% /
EDIT
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.
ls -l
on your desktop folder, you see the letterl
(ell) as the first character of this? – Seamus Jul 20 '20 at 21:17ls
output to the question. – InteXX Jul 20 '20 at 21:21mount
ed this drive - that's why File Mgr is trying to erase files. – Seamus Jul 20 '20 at 21:23lsblk --fs
will show you what you need to know – Seamus Jul 20 '20 at 21:29lsblk
doesn't show anything, nor doesmount
. I've added those outputs as well. – InteXX Jul 20 '20 at 21:33sudo umount /mnt/elements
? I've no idea how this came to be called//BACKUP/files
- do you? – Seamus Jul 20 '20 at 21:35elements
mount is my USB drive, currently receiving a 4TB file. So I won't want to interrupt that. My nomenclature for//BACKUP/Files
is simply the UNC path to the share on my NAS. The actual object on the desktop is namedfiles on backup.local
. – InteXX Jul 20 '20 at 21:38umount //Backup/Files
, then read this – Seamus Jul 20 '20 at 21:47umount: //Backup/Files: No such file or directory | umount: //Backup/files: No such file or directory | umount: //backup.local/Files: No such file or directory | umount: //backup/Files: No such file or directory | umount: //backup/files: No such file or directory
– InteXX Jul 20 '20 at 21:52mount
ed share. It doesn't show up in themount
command output. – InteXX Jul 20 '20 at 21:55