OpenVZ Forum


Home » General » Support » setfacl
setfacl [message #22367] Fri, 26 October 2007 11:56 Go to next message
dtr_GALITT is currently offline  dtr_GALITT
Messages: 2
Registered: October 2007
Junior Member
Hi,

I want to use ACL in a VE.

as you can see, on the hardware node, i changed fstab to have acl activated :


/dev/md0 / ext3 defaults,acl 1 1
none /dev/pts devpts gid=5,mode=620 0 0
none /dev/shm tmpfs defaults 0 0
none /proc proc defaults 0 0
none /sys sysfs defaults 0 0
/dev/md2 /vz ext3 defaults,acl 1 2
/dev/md1 swap swap defaults 0 0
/dev/hda /media/cdrom auto pamconsole,exec,noauto,managed 0 0
/dev/fd0 /media/floppy auto pamconsole,exec,noauto,managed 0 0



Is there something more to do because when i am in my VE, it seems that i don't have the setfacl or getfacl command :

[root@HN2 ~]# vzctl enter 101
entered into VE 101
[root@DATA /]# setfacl
-bash: setfacl: command not found
[root@DATA /]#

I searched on the forum but didn't find a lot about acl.

any help would be apreciated !

thnks

David

Re: setfacl [message #22463 is a reply to message #22367] Mon, 29 October 2007 15:14 Go to previous messageGo to next message
FooDog
Messages: 7
Registered: September 2007
Junior Member
install the 'acl applications' (getfacl/setfacl) in the VE.
vzpkg install -p 101 acl
Re: setfacl [message #22516 is a reply to message #22463] Tue, 30 October 2007 09:43 Go to previous message
dtr_GALITT is currently offline  dtr_GALITT
Messages: 2
Registered: October 2007
Junior Member
thks for the reply.

I had already tried to install yum in my ve and made a yum install acl libacl to have it and it worked.

is is the same or do you think i have to use your method via the vz pckg ?

David
Previous Topic: can't install openvz with yum why?
Next Topic: Cannot compile kernel 2.6.22 on ubuntu 7.10
Goto Forum:
  


Current Time: Tue Aug 19 17:08:39 GMT 2025

Total time taken to generate the page: 0.08671 seconds