You are not logged in.
I'm a little stumped by this, and it's an issue I've only become aware of since I grabbed a RasPi, but it's affecting my Arch installs. Full disclosure, I have two Arch only machines (my main desktop, and a laptop), and one local Raspian machine. I also have a Debian remote machine, but that isn't a part of the problem.
I'm in the UK with a BT Homehub 5, and I have a 500Gb USB drive plugged into the HomeHub. This drive is a media drive, for use by the RasPi with a plex server. As far as the Raspberry is concerned, read only is fine. However, rather than waste disk space, I'm also using the drive for Music and Videos, soft-linked to my Arch machines, as /home/Music and /home/Videos.
Mounting via fstab is working fine, and I can read alll the files without issue. However, unless I sudo, I have no write access, which is a bit of a nuisance if I want to add to my collection. (e.g. tonight I've ripped a couple of my CDs, which I've had to rip to a local drive, and will now have to sudo copy to the shared drive).
On the HH5, there's no password to mount the drive (though I have to use the password= option in fstab), but I can't mount with user permissions.
My fstab entry (on my Arch machine) is:
#CIFS
//192.168.1.254/Data /mnt/NFS cifs vers=1.0,username=steve,password= 0 0
The "username=" option makes no difference whatsoever.
Any ideas how to get a user access mount?
Last edited by Roken (2018-01-24 06:00:15)
Ryzen 5900X 12 core/24 thread - RTX 3090 FE 24 Gb, Asus B550-F Gaming MB, 128Gb Corsair DDR4, Cooler Master N300 chassis, 5 HD (2 NvME PCI, 4SSD) + 1 x optical.
Linux user #545703
/ is the root of all problems.
Offline
Offline
Thanks for the reply. I created /mnt/NFS as root, then chown to normal user. However, after mounting, perms revert to root.
Share not mounted:
drwxr-xr-x 2 steve 4.0K Jan 20 10:56 NFS
And after mounting
drwxr-xr-x 4 root 0 Dec 31 1600 NFS
Last edited by Roken (2018-01-22 20:12:59)
Ryzen 5900X 12 core/24 thread - RTX 3090 FE 24 Gb, Asus B550-F Gaming MB, 128Gb Corsair DDR4, Cooler Master N300 chassis, 5 HD (2 NvME PCI, 4SSD) + 1 x optical.
Linux user #545703
/ is the root of all problems.
Offline
Pass the GID and UID of your intended user to the mount options i.e.
uid=videl,gid=videl
and/or chown the mount point and pass the users option, not sure how well that last one works I do the first part
See https://wiki.archlinux.org/index.php/Sa … l_mounting as well.
Last edited by V1del (2018-01-23 08:22:59)
Offline
Thank you. Worked.
Ryzen 5900X 12 core/24 thread - RTX 3090 FE 24 Gb, Asus B550-F Gaming MB, 128Gb Corsair DDR4, Cooler Master N300 chassis, 5 HD (2 NvME PCI, 4SSD) + 1 x optical.
Linux user #545703
/ is the root of all problems.
Offline