Quantcast
Channel: Planet Malaysia
Viewing all articles
Browse latest Browse all 15921

DaneshProject: How can non root users mount and unmount in Linux

$
0
0

File systems / partitions are normally managed by root and only root would be able to mount or un-mount.

However, if you want everyone on your machine to have the same privilege for a specific mount point, this is how you can do that.

Add “user” to the mount options for the desired mount point in your /etc/fstab file. In my case “/media/music”

I changed mine from

//192.168.1.200/Music /media/music rw,noauto 0 0

to

//192.168.1.200/Music /media/music cifs user,rw,noauto 0 0

Similar Posts:



Viewing all articles
Browse latest Browse all 15921

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>