I have an unraid box downstairs and would like to mount to it using the mount command.
The issue I’m running into is that when I mount as root, the folder is owned by root despite any future chown commands 9they revert to root instantly).
I can both see the folder in Dolphon (using smb:/192.168.1.30/MSS), and can mount it via:
sudo mount -v -t cifs -o username=sarah //192.168.1.30/MSS MSS_Backup_Bridge/
Attempting to mount without sudo leads to:
mount.cifs: permission denied: no match for /home/sarah/MSS_Backup_Bridge found in /etc/fstab
How can I mount the remote share such that
sarah owns it?
sarah@MidnightStarSign:~$ sudo mount -v -t cifs -o username=sarah //192.168.1.30/MSS MSS_Backup_Bridge/ Password for sarah@//192.168.1.30/MSS: mount.cifs kernel mount options: ip=192.168.1.30,unc=\\192.168.1.30\MSS,user=sarah,pass=******** sarah@MidnightStarSign:~$ ls -lh MSS_Backup_Bridge/ total 0 drwxr-xr-x 2 root root 0 Feb 13 12:20 x