I was under the impression that any sort of call to mount
requires root privileges.
But recently I was told "You should instead create appropriate entries in /etc/fstab
so that the filesystems can be mounted by unprivileged users"... which is counter to my experience using mount
.
Anytime I have used mount
I have needed to sudo
it. (I have only used mount
for mounting network drives. Specifically cifs type network drives.)
Does mount always require root privileges? If not:
- What kind of mount does and what kind of mount doesn't require
sudo
IN GENERAL? - In my specific case I am doing
mount -t cifs
, how does one go about making this mount not require requiresudo
?