- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- Is it bug in ACL on Filesystem RHEL5 ?
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-11-2007 11:58 PM
тАО12-11-2007 11:58 PM
Is it bug in ACL on Filesystem RHEL5 ?
I am using RHEL5 and confused with below=>
ACL applied default in RHEL5 and i am login as root.
I just make a folder in / with 777 permission
lets say /chapter5 and touch /chapter5/f1
Now applied ACL on f1 to rwx by user nh1
# setfacl -m u:nh1:rwx f1
when i login as nh1 it's working.
But prob is that when I login as another user like nh2 and write forcefully on f1, why acl giving permission to write on f1?
and most interesting now it has changed file and group ownership of f1 to nh2.
pls suggest.
Thanks in advanced.
MKS
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-12-2007 02:21 AM
тАО12-12-2007 02:21 AM
Re: Is it bug in ACL on Filesystem RHEL5 ?
What is the default umask?? in ur m/c.
Did u tried by giving permission to the file /chapter5/f1 (using chiown and chmod) in the normal way?? If it work ing as per requirement.
Then ur filesystem might not support setfacl??
For Further clarification pls see the man page of setfacl
http://linuxcommand.org/man_pages/setfacl1.html
I hope this link will help u to get..
Regds
Palani
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-12-2007 03:17 AM
тАО12-12-2007 03:17 AM
Re: Is it bug in ACL on Filesystem RHEL5 ?
default umak is 0022
I am not changing any default permission in /chapter5/f1
ls -la f1
-rw-r--r-- 1 root root 57 Dec 12 16:33 f1
MKS
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-12-2007 07:08 AM
тАО12-12-2007 07:08 AM
Re: Is it bug in ACL on Filesystem RHEL5 ?
I think that you are not writing to the file, you are replacing the file, for example, with a redirection. This will be allowed as the parent directory has 777 and that is why the ownership changed.
Remove 777 permissions to the parent directory and try to "modify" the file as nh2 instead of replace the files.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-12-2007 11:36 AM
тАО12-12-2007 11:36 AM
Re: Is it bug in ACL on Filesystem RHEL5 ?
If you are using extended permissions, please show us the output of 'getfacl -R /chapter5' (assuming 'f1' is the only file is in there).
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-13-2007 02:56 AM
тАО12-13-2007 02:56 AM
Re: Is it bug in ACL on Filesystem RHEL5 ?
I got the answer. i have changed 777 permission /chapter5 to 701 and now set ACL on /chapter5 and f1.It's working now.
Thanks,
MKS