| Mount in vps [message #7124] | 
			Wed, 04 October 2006 10:55   | 
		 
		
			
				
				
				
					
						  
						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 
		
		
		
 |  
	| 
		
	 | 
 
 
 | 
	| 
		
 | 
	| 
		
 | 
	| 
		
 | 
	| 
		
 | 
	| 
		
 | 
	| 
		
 | 
	| 
		
 | 
	| 
		
 | 
	| 
		
 |