Why does Linux require that a user be root/using sudo/specifically authorized per mount in order to mount something? It seems like the decision as to whether to allow a user to mount something should be based on their access rights to the source volume/network share and to the mount point.
Yesterday I was able to mount my smb share with the following command
sudo mount -t cifs //XXXX/share /media/share -o user=Ben,password=XXX,workgroup=WORKGROUP,ip=XXX.XX.XX,uid=ben,gid=ben,rw
I don't know why it is not working anymore.
Yesterday I was able to mount my smb share with the following command:
sudo mount -t cifs //XXXX/share /media/share -o user=Ben,password=XXX,workgroup=WORKGROUP,ip=XXX.XX.XX,uid=ben,gid=ben,rw
I don't know why it is not working anymore.
I just had a hard time gaining write access to a second hard drive I installed in my PC. I formatted it with an ext4 filesystem, and the mounting options for the drive in my fstab are: defaults,rw,user,exec. It mounted fine but I couldn't get write access. Changing the mount directory owner from root to my user fixed the problem.
Ubuntu partition does not boot. This started after a power interruption during system boot.
Hi,
This is not a particular Fedora issue, but I take the chance :)
How can I mount a network (nfs) drive (on a RHEL4 machine) from my FC11, but as another user.
E.g. I would like to mount the folder /home/userA on the network drive. But my local username is userB. Hence I don't seem to have access to mount the drive.
With FUSE it is possible to mount many things purely as a non privileged user. However, it seems that for webdav davfs2 is the preferred project, which appears to be a filesystem driver and uses the standard mount/umount which requires privileges.
Is there a way to use this (or another library) to mount webdav only as a user via fuse ? (i.e.
I want to mount an external HDD.I have tried many things but still no success.When i try to mount it from Disk Utility i get this error:
Error mounting: mount exited with exit code 1: helper failed with: 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.
I am unable to mount a USB drive (or SD card) to my system without root access.