LinuxAnswers - the LQ Linux tutorial section.
Go Back > Forums > Linux Forums > Linux - General
User Name
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.


  Search this Thread
Old 10-25-2004, 03:18 PM   #1
Registered: Mar 2004
Location: Norway
Distribution: Freebsd, Fedora, Redhat, Solaris 10
Posts: 169

Rep: Reputation: 30
acl permissions

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--

[xxx@xxx disk]$

-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.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 On
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Default ACL and permissions inheritance mikemrh9 Linux - Security 4 02-18-2014 12:57 PM
EXIM/ACL´s overlord73 Linux - Software 0 05-25-2005 03:39 AM
default files and folder acl permissions Baltasar Fedora 4 08-30-2004 01:50 PM
ACL Help theDrix Linux - General 0 07-22-2004 09:25 AM
HOW to - Group ACL aqoliveira Linux - Software 1 12-16-2002 07:00 AM

All times are GMT -5. The time now is 12:04 PM.

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