mount as ro for users, rw for root?
Tino Schwarze
linux-poweredge.lists at tisc.de
Sat Dec 13 03:24:27 CST 2008
On Sat, Dec 13, 2008 at 02:09:23AM +0100, quaqu at mytweakers.net wrote:
> > Under CentOS/RH 5.2, is it possible to mount an iscsi filesystem/partition
> > as rw for root, but ro for users?
> >
> > If so, what would be the proper syntax?
>
> Isn't this something that could be fixed with the proper rights on the
> mount point? So in chmod terms 744 for root, or something? Otherwise,
> some more information might be needed....
No, that would only change the rights on the _directory_, not on the
subdirectories. You could deny access to all users if you chmod 700 the
mountpoint (while the FS is mounted). But you cannot make the FS
readonly that way.
Bye,
Tino.
--
"What we nourish flourishes." - "Was wir nähren erblüht."
www.lichtkreis-chemnitz.de
www.craniosacralzentrum.de
More information about the Linux-PowerEdge
mailing list