You are not logged in.

#1 2017-09-27 18:38:14

LizziAS
Member
Registered: 2017-09-24
Posts: 30

so my custom mount isnt working in artix as it does for other distros

i normally keep a centralized Downloads directory on a seperate partition and mount it as /home/user-name/Downloads.  makes it easy when installing and testing multiple distros to have one centralized download location for them all.  normally looks like this:

PARTUUID=ec84322a-0189-4f0d-824e-464e73233e30    /home/lizzias/Downloads        ext4          rw,relatime     0 0


but for some reason, this fstab entry isnt functioning in artix and i get an error that only root can mount that directory and so i use the ol' sudo chown -R lizzias /dev/sdb8 and that should take care of the permission issues but it still wont mount on startup and i still get the root error:

mount: /home/lizzias/Downloads:  operation permitted for root only

this is the last issue i need to solve with my archbang install please...

Last edited by LizziAS (2017-09-28 07:01:36)

Offline

#2 2017-09-28 09:38:49

LizziAS
Member
Registered: 2017-09-24
Posts: 30

Re: so my custom mount isnt working in artix as it does for other distros

rw,suid,dev,noexec,auto,user,async

Seems to have solved that

Offline

#3 2017-11-29 14:04:19

LizziAS
Member
Registered: 2017-09-24
Posts: 30

Re: so my custom mount isnt working in artix as it does for other distros

Unprivileged user can not mount NTFS block devices using the external FUSE
library. Either mount the volume as root, or rebuild NTFS-3G with integrated
FUSE support and make it setuid root. Please see more information at
http://tuxera.com/community/ntfs-3g-faq/#unprivileged


so while my windows 10 partition on my SSD mounts as /home/user-name/Windows AND my Download partition mounts as  /home/user-name/Downloads with the above mod to fstab

my second ntfs partition on the hdd wont mount even with the above mod to fstab and spits out the above error

the sudo chown sudo chown -R lizzias /dev/sdb4 is of no help

and theres this to add me to the dbus group from another post

    gpasswd -a (your user) dbus

so i wonder what group i need to be privileged in, in order to mount the above drive from fstab - because it clearly isn't fuse

     gpasswd: group 'fuse' does not exist in /etc/group

Offline

#4 2017-11-29 14:26:13

LizziAS
Member
Registered: 2017-09-24
Posts: 30

Re: so my custom mount isnt working in artix as it does for other distros

so in these commands which are veriables i need to adjust?

Please note that using setuid-root can result unforeseen privilege escalation and its usage is discouraged. Only the absolutely trusted users must be granted such access. Below is an example how this can be done for users in the ntfsuser group to be able to mount any NTFS volume if they have also the needed volume access rights.
  addgroup ntfsuser
  chown root:ntfsuser $(which ntfs-3g)
  chmod 4750 $(which ntfs-3g)
  usermod -aG ntfsuser allowed-user
The setuid-root ntfs-3g driver applies the principle of least privilege during its lifetime as a safety measure.

clearly the allowed user is me and requires my username

but the command $(which ntfs-3g)

looks like it could be my uuid for the partition.  is that correct?

Last edited by LizziAS (2017-11-29 14:27:02)

Offline

Board footer

Powered by FluxBB