LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
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.

Notices

Reply
 
Search this Thread
Old 10-25-2004, 02:18 PM   #1
linuxtesting2
Member
 
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::rw-
user: ole :r--
group::rw-
group:testgroup:r--
mask::rw-
other::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..


-ole

(i needed to have space between ther username ole because of the stupid smiles..):

Last edited by linuxtesting2; 10-25-2004 at 02:19 PM.
 
  


Reply


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 11:57 AM
EXIM/ACL´s overlord73 Linux - Software 0 05-25-2005 02:39 AM
default files and folder acl permissions Baltasar Fedora 4 08-30-2004 12:50 PM
ACL Help theDrix Linux - General 0 07-22-2004 08:25 AM
HOW to - Group ACL aqoliveira Linux - Software 1 12-16-2002 06:00 AM


All times are GMT -5. The time now is 01:00 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration