[lug] Permissions in FSTAB
Ryan Newby
renewby at gmail.com
Fri Dec 7 11:24:34 MST 2012
Can someone point me in the right direction on correctly setting
permissions on partitions via fstab?
Running Ubuntu Server 12.04 on XenServer 6
Trying to set the following permissions:
/ ro
/var noexec,nosetuid
/home nosetuid
/tmp noexec,nosetuid
/opt ro,nosetuid
# I attempted to follow documentation via
https://help.ubuntu.com/community/Fstab with no avail,.
Testing with /home and the configuration below, I receive an error after
rebooting "11.289552] EXT3-fs (xvda5): error: unrecognized mount option
"nosetuid" or missing value"
UUID=3a009b73-fd44-4829-b86a-fee8b383f517 /home ext3 nosetuid
0 2
#Current config:
<file system> <mount point> <type> <options> <dump> <pass>
proc /proc proc nodev,noexec,nosuid 0 0
# / was on /dev/xvda2 during installation
UUID=b470a321-e710-4274-990c-f9df7f3c2ebe / ext3
errors=remount -ro
0 1
# /boot was on /dev/xvda1 during installation
UUID=7922d908-f3fa-4d04-badf-b6f20a68afc5 /boot ext3
defaults 0
2
# /home was on /dev/xvda5 during installation
UUID=3a009b73-fd44-4829-b86a-fee8b383f517 /home ext3 defaults
0 2
# /opt was on /dev/xvda7 during installation
UUID=b647a58e-68a8-43d7-b876-aaf99872e5b4 /opt ext3
defaults 0
2
# /root was on /dev/xvda8 during installation
UUID=d5e54591-5a9b-4f53-8d9a-d419d6588aaf /root ext3
defaults 0
2
# /tmp was on /dev/xvda6 during installation
UUID=e4bc7875-2dec-431a-8d40-f0c0acdf1291 /tmp ext3
defaults 0
2
# /var was on /dev/xvda3 during installation
UUID=1f9b83b0-f020-4fc3-8985-4870e38d3a38 /var ext3
defaults 0
2
# swap was on /dev/xvda9 during installation
#UUID=92cba0e8-9f36-4017-8f9a-680bb89b6798 none swap
sw 0 0
/dev/mapper/cryptswap1 none swap sw 0 0
tmpfs /dev/zhm tmpfs defaults,ro 0 0
Thank you in advance,
--
Ryan Newby
email:renewby at gmail.com
phone:303-720-9498
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lug.boulder.co.us/pipermail/lug/attachments/20121207/d52da6bd/attachment.html>
More information about the LUG
mailing list