mount as ro for users, rw for root?

Matthew Gillen me-5yx05kfkO/aqeI1yJSURBw at public.gmane.org
Sun Dec 14 13:01:27 EST 2008


Derek Martin wrote:
> On Fri, Dec 12, 2008 at 04:19:09PM -0500, Scott R. Ehrlich wrote:
>> Under CentOS/RH 5.2, is it possible to mount a remote (iscsi) 
>> filesystem/partition as rw for root, but ro for users?

Why not just mount it twice under top-level dirs with different 
permissions?  Something like:
  mount -o ro /dev/blah /public
  mount -o rw /dev/blah /root/writable-public


Matt





More information about the Discuss mailing list