mount as ro for users, rw for root?

Kent Borg kentborg-KwkGvOEf1og at public.gmane.org
Fri Dec 12 17:04:06 EST 2008


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?
>   

The time I wanted to do that I mounted the partition rw for root only
and then let root make it available as a ro, local-only NFS export.

(Actually, it was ro for root, too.  But sometimes I would remount it
rw, do stuff, and go back to ro again.  Users always saw ro.)

I wonder if a union fs could do it?  Probably more efficient than NFS,
if it could.


-kb





More information about the Discuss mailing list