OpenVZ Forum


Home » General » Support » Mount in vps
Mount in vps [message #7124] Wed, 04 October 2006 10:55 Go to previous message
dagr is currently offline  dagr
Messages: 83
Registered: February 2006
Member
I tried to mount shared folder and got problem

created 1.mount
mount -o bind,ro /vz/cow/distr /vz/root/$VEID/DISTR

and 1.umount
umount /vz/root/$VEID/DISTR


VPS starts and stops ok and i can see thats it really mounts it, BUT!! Its not readonly for root inside VPS. Its the same like usual root - it can write anything disregard chmod attr. Same thing for VPS root - as soon as he can see this dir inside his filesystem - it can do anything with it (/vz/cow/distr) disregards permissions , etc. Is it bug or what?

2.6.9-023stab016.2-smp - RHEL4
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: *SOLVED* quagga on FC5 and RHEL4
Next Topic: Better SO x Control Panel
Goto Forum:
  


Current Time: Wed Jul 30 05:25:46 GMT 2025

Total time taken to generate the page: 0.05828 seconds