i have the following setting with acl.
[xxx@xxx disk]$ setfacl -m u: ole :r--,g:testgroup:r-- fil.txt
[xxx@xxx disk]$ getfacl jalla
# file: jalla
# owner: james
# group: james
user: ole :r--
-rw-rw-r-- 1 james james 44 Oct 25 21:09 fil.txt
With this settings i would guess that ole only have right to read the file, but when i login with ole i have access to write to the file, and when i write to it it say that its write protected, but i can save. And when i have saved the file, it changes the file ownership and group ownership to ole.
-rw-rw-r-- 1 ole ole 44 Oct 25 21:12 fil.txt
Why does this happen ? ole is not in the group testgroup either..
(i needed to have space between ther username ole because of the stupid smiles..):
Last edited by linuxtesting2; 10-25-2004 at 03:19 PM.