getacl, setacl


[root@server211 ~]# vim /etc/fstab

Sebelum
/dev/VolGroup00/LogVol00 / ext3 defaults 1 1

Sesudah

/dev/VolGroup00/LogVol00 / ext3 defaults,acl 1 1

[root@server211 ~]# mount -o remount /

[root@server211 ~]# mount
/dev/mapper/VolGroup00-LogVol00 on / type ext3 (rw,acl)
proc on /proc type proc (rw)
sysfs on /sys type sysfs (rw)
devpts on /dev/pts type devpts (rw,gid=5,mode=620)
/dev/cciss/c0d0p1 on /boot type ext3 (rw)
tmpfs on /dev/shm type tmpfs (rw)
none on /proc/sys/fs/binfmt_misc type binfmt_misc (rw)

[root@server211 pelpel]# passwd pelpel
Changing password for user pelpel.
New UNIX password:
Retype new UNIX password:
passwd: all authentication tokens updated successfully.

[root@server211 pelpel]# setfacl -m u:pelpel:rwx /var/www/html/crmpp/oci_connect.php
[root@server211 crmpp]# getfacl /var/www/html/crmpp/oci_connect.php
getfacl: Removing leading ‘/’ from absolute path names
# file: var/www/html/crmpp/oci_connect.php
# owner: root
# group: root
user::rw-
user:crmpp:rwx
group::r–
mask::rwx
other::r–

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

shisdew

Listens until think alike

moses.spaceku@yahoo.com / voip ipbx

Hosted PBX, IP-PBX SOHO/ CALL CENTER, VOICE GATEWAY, VOICE CARD, COST EFECTIVE SOLUTIONS (LCR), GSM/CDMA GATEWAY

%d bloggers like this: