LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Access Control Lists (https://www.linuxquestions.org/questions/linux-software-2/access-control-lists-31044/)

wgriffin43 09-23-2002 02:34 PM

Access Control Lists
 
I have installed RedHat 7.3
I would like to use getfacl and setfacl.
I downloaded libacl, libattr, e2fsprogs-2.28 and acl-2.0
I then used RPm on the rpm files and make on the appropriate files.

I can get the system to execute getfacl but keep getting an error with the setfacl.
Does getfacl and setfacl work with ext3?

The following is the results of getfacl:
bash-2.05a$ getfacl *
# file: dir1
# owner: newbie
# group: users
user::rwx
group::r-x
other::r-x

# file: file1
# owner: newbie
# group: users
user::rw-
group::r--
other::r--

# file: outline.text
# owner: newbie
# group: users
user::rw-
group::r--
other::r--

The following is the results of the setfacl command on either ext2 or ext3 file systems:
bash-2.05a$ setfacl -m u:fred:rw file1
setfacl: file1: Function not implemented


Here are my question:
1. Is the Access Contro, System, i.e. getfacl and setfacl on the distribution disk? I could not find it.
2. Any suggestion as to why the above is not working?

unSpawn 09-23-2002 07:45 PM

Did you install a patched kernel with the extended attributes enabled?

wgriffin43 09-23-2002 07:54 PM

No I did not.


All times are GMT -5. The time now is 10:22 PM.