setfacl: project: Operation not supported
Hi
Im trying to set read write execute permission for particular user jk dhp mary to project directory .But fails to works ,Any help what's wrong in my setfacl permission
root@demo:~# mkdir project
root@demo:~# useradd jk
root@demo:~# useradd dhp
root@demo:~# useradd mary
root@demo:~# setfacl -R -d -m user:jk:rwx,user:dhp:rwx,user:mary:rwx project
setfacl: project: Operation not supported
root@demo:~# setfacl -R -m user:jk:rwx,user:dhp:rwx,user:mary:rwx project
setfacl: project: Operation not supported
I had also tried out using umask permission .But newly created file get rw permission but i could not execute permission for newly created file
root@localhost ~]# su - transfer
[transfer@localhost ~]$ clear
[transfer@localhost ~]$ ls
[transfer@localhost ~]$ touch aaa aa
[transfer@localhost ~]$ ls -al
total 36
drwx------ 3 transfer transfer 4096 Jul 7 15:48 .
drwxr-xr-x 5 root root 4096 Jul 7 15:41 ..
-rw-rw-rw- 1 transfer transfer 0 Jul 7 15:48 aa
-rw-rw-rw- 1 transfer transfer 0 Jul 7 15:48 aaa
-rw------- 1 transfer transfer 69 Jul 7 15:45 .bash_history
-rw-r--r-- 1 transfer transfer 33 Jul 7 15:41 .bash_logout
-rw-r--r-- 1 transfer transfer 176 Jul 7 15:41 .bash_profile
-rw-r--r-- 1 transfer transfer 134 Jul 7 15:44 .bashrc
drwxr-xr-x 4 transfer transfer 4096 Jul 7 15:41 .mozilla
-rw------- 1 transfer transfer 628 Jul 7 15:44 .viminfo
[transfer@localhost ~]$ mkdir s
[transfer@localhost ~]$ ls -al
total 40
drwx------ 4 transfer transfer 4096 Jul 7 15:49 .
drwxr-xr-x 5 root root 4096 Jul 7 15:41 ..
-rw-rw-rw- 1 transfer transfer 0 Jul 7 15:48 aa
-rw-rw-rw- 1 transfer transfer 0 Jul 7 15:48 aaa
-rw------- 1 transfer transfer 69 Jul 7 15:45 .bash_history
-rw-r--r-- 1 transfer transfer 33 Jul 7 15:41 .bash_logout
-rw-r--r-- 1 transfer transfer 176 Jul 7 15:41 .bash_profile
-rw-r--r-- 1 transfer transfer 134 Jul 7 15:44 .bashrc
drwxr-xr-x 4 transfer transfer 4096 Jul 7 15:41 .mozilla
drwxrwxrwx 2 transfer transfer 4096 Jul 7 15:49 s
-rw------- 1 transfer transfer 628 Jul 7 15:44 .viminfo
[transfer@localhost ~]$ cat .bashrc
# .bashrc
# Source global definitions
if [ -f /etc/bashrc ]; then
. /etc/bashrc
fi
umask 000
# User specific aliases and functions
[transfer@localhost ~]$
root@demo:~#
Last edited by LittleMaster; 07-07-2012 at 09:19 AM.
|