LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 07-07-2012, 08:37 AM   #1
LittleMaster
Member
 
Registered: Jun 2012
Posts: 121
Blog Entries: 1

Rep: Reputation: Disabled
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.
 
Old 07-07-2012, 12:04 PM   #2
btmiller
Senior Member
 
Registered: May 2004
Location: In the DC 'burbs
Distribution: Arch, Scientific Linux, Debian, Ubuntu
Posts: 4,290

Rep: Reputation: 378Reputation: 378Reputation: 378Reputation: 378
It looks like the filesystem that you're trying to operate on is not mounted with the "acl" option, which is needed to set and manipulate ACLs. You will need to remount it with this option.

If you have a umask of 000, all permissions will be granted on newly created filesystem objects (0666 for files and 0777 for directories). A umask tells what permissions should be denied, so I umask of 000 will give full permissions. This is exactly what happens when you create aa, aaa, and s.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
setfacl: operation not supported viewcam Linux - Newbie 7 03-25-2013 01:01 PM
setfacl: test: Operation not supported raxxal Mandriva 6 10-25-2012 05:09 AM
[SOLVED] setfacl error: Operation not supported jayakumar01 Linux - Server 1 02-02-2012 01:45 AM
setfacl: Operation not supported nekton Linux - Security 1 05-09-2008 01:57 PM
setfacl operation not permitted oscarmv Linux - Security 1 05-07-2007 06:19 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 05:21 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration