On Wednesday 23 November 2005 16:00, plug bert wrote:

> i noticed that with ACLs(at least on linux), you can
> add as many ACEs as you want, but it only considers
> the primary group of the user. Is it possible to have
[snipped]

What are you talking about? Take a look here:

--begin capture--
[EMAIL PROTECTED]:d]$ sudo mkdir test
[EMAIL PROTECTED]:d]$ mkdir test
[EMAIL PROTECTED]:d]$ sudo chown root.group1 test
[EMAIL PROTECTED]:d]$ sudo chmod 070 test
[EMAIL PROTECTED]:d]$ ls -l
total 4
d---rwx---  2 root group1 4096 2005-11-23 20:36 test
[EMAIL PROTECTED]:d]$ cd test
[EMAIL PROTECTED]:test]$ pwd
/tmp/d/test
[EMAIL PROTECTED]:test]$ touch ano
[EMAIL PROTECTED]:test]$ ls -l ano
-rw-r--r--  1 user1 user1 0 2005-11-23 20:37 ano
[EMAIL PROTECTED]:test]$ sudo chmod 070 ano
[EMAIL PROTECTED]:test]$ sudo chown root.group1 ano
[EMAIL PROTECTED]:test]$ echo wala>>ano
[EMAIL PROTECTED]:test]$ cat ano
wala
[EMAIL PROTECTED]:test]$ cat /etc/group|grep group1
group1:x:20:user1
--end capture---

As you can see, user1, who's primary group is also user1, member of group1, 
can change directory to /tmp/d/test wherein only members of group1 can read, 
write and change directory into. Likewise, /tmp/d/test/ano, a file that only 
members of group1 can access, can also be read, and written into by users.

-- 
Gideon N. Guillen
[EMAIL PROTECTED]

Take back the web! Download Firefox Today!
http://getfirefox.com
_________________________________________________
Philippine Linux Users' Group (PLUG) Mailing List
[email protected] (#PLUG @ irc.free.net.ph)
Read the Guidelines: http://linux.org.ph/lists
Searchable Archives: http://archives.free.net.ph

Reply via email to