OpenVZ Forum


Home » General » Support » Changing permissions on bind mount
Changing permissions on bind mount [message #49542] Sat, 11 May 2013 20:26
deranjer is currently offline  deranjer
Messages: 4
Registered: December 2010
Location: United States
Junior Member
I have a SMB bind mount to a openvz client:


#!/bin/bash
mount -o gid=107,uid=107 --bind /mnt/media /var/lib/vz/root/104/mnt/media


I am trying to set the owner of the bind mount to a user on the CLIENT. Not sure how to do that, since I get permission denied when I attempt to change it on the client itself. The ID of the user is 107 on the client, with made me try to mount it with that user, but really didn't think that would work.. at a loss at how to set the owner to a user on the client....

Previous Topic: ploop-lib-1.6-1.x86_64.rpm: [Errno -1] Package does not match intended download
Next Topic: ploop for snapshotting openvz containers on amazon ec2/xen
Goto Forum:
  


Current Time: Tue Sep 17 09:40:26 GMT 2024

Total time taken to generate the page: 0.05146 seconds