Cannot delete directory after mounted via FSTAB
I have mounted a NAS file via FSTAB and I changed the password to my NAS drive. However, I cannot delete the folder that FSTAB created.
Deleting through the user interface said "no such directory or file." I cannot do rmdir via terminal too. I have Linux Mint. |
to my knowledge, fstab entries do not create folders.
please show us some output. |
Quote:
|
I think I used gvfs too but I forgot what I did.
For fstab I did something like 192.168.0.1:/NASShare /mnt/NAS nfs username=administrator,password=pass 0 0 |
Quote:
Run it only if you really knows what are you doing |
I used rmdir as it's a folder. According to permissions, it is owned by root but I cannot delete it even if I elevate the Nautilus to root status. RMDIR said resource is busy.
Where can I check GVFS entries? I think I might have created one. |
Quote:
Quote:
|
Quote:
|
Keeps saying permission is denied. It's a folder on the Desktop.
|
Quote:
lsof: WARNING: can't stat() fuse.gvfsd-fuse file system /run/user/1000/gvfs Output information may be incomplete. COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME automount 1783 root 10r DIR 0,49 0 22424 NAS |
Please post the command along with its error message from your terminal. It can give us more hints.
Edit: I thought NAS was mounted on /mnt/NAS but you are accessing it from ~/Desktop/NAS ? |
What directory are you trying to delete?
nfs does not use username/password and /etc/fstab is separate from mounting using nautilus/gvfs. I assume the folder is the shortcut to the nfs share. Have you tried right clicking on the icon and selecting unmount? |
I found an entry under auto.sambashares and auto.masters. Commenting it out and rebooting.
Edit: I also uninstalled cifs-utils and automount and the folder disappeared. |
auto.master and auto.sambashares is used by autofs and auto.sambashares would imply your mounting CIFS shares which is different then nfs.
Without knowing more information those could be sample configuration files which you are not using. |
I deleted the entries in the folder pertaining to my NFA and uninstalled the program. Then the offending entry is gone.
|
All times are GMT -5. The time now is 03:11 AM. |