- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: setacl
Operating System - HP-UX
1748180
Members
3999
Online
108759
Solutions
Forums
Categories
Company
Local Language
юдл
back
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
юдл
back
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
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Go to solution
Topic Options
- 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
тАО05-14-2009 06:14 AM
тАО05-14-2009 06:14 AM
Hi Admins,
I have a strange problem here with setacl.
A normal user wants to open some files under /data01/data.
i used below commands
setacl -m user:bkp:r-- /data01/data
setacl -m user:bkp:r-- /data01
After this when user tried to open it was saying permission denied.
I solved this giving r-x permission with setacl.
But my Q is with r-- why user not able to open files.
regards,
himacs
I have a strange problem here with setacl.
A normal user wants to open some files under /data01/data.
i used below commands
setacl -m user:bkp:r-- /data01/data
setacl -m user:bkp:r-- /data01
After this when user tried to open it was saying permission denied.
I solved this giving r-x permission with setacl.
But my Q is with r-- why user not able to open files.
regards,
himacs
Solved! Go to Solution.
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-14-2009 06:47 AM
тАО05-14-2009 06:47 AM
Solution
never used setacl and don't want to use it ever again in my life but looking at the ACLs you defined, you just gave the user read access to /data01 directory. In order to access the contents of the directory, I presume a user at least needs a r-x permission.
I am not saying this from setacl experience but from a general access permissions standpoint.
One more time, if you get into creating ACLs for users, you will make life miserable for them and for yourself in the long run. I dealt with ACLs in my dark days of VMS administration and it was not fun. Right now, when someone utters the word ACL, I step outside. My 2 cents.
I am not saying this from setacl experience but from a general access permissions standpoint.
One more time, if you get into creating ACLs for users, you will make life miserable for them and for yourself in the long run. I dealt with ACLs in my dark days of VMS administration and it was not fun. Right now, when someone utters the word ACL, I step outside. My 2 cents.
________________________________
UNIX because I majored in cryptology...
UNIX because I majored in cryptology...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-14-2009 07:03 AM
тАО05-14-2009 07:03 AM
Re: setacl
Hi Mel,
Thanks for ur reply..
You are rite.We reuire atleast r-x to access a file.
<>
How? i have not worked much with ACLs.
regards,
himacs
Thanks for ur reply..
You are rite.We reuire atleast r-x to access a file.
<
How? i have not worked much with ACLs.
regards,
himacs
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-14-2009 07:09 AM
тАО05-14-2009 07:09 AM
Re: setacl
How is a very good question. Right now you might have few files you assign ACLs to. AFter a while this becomes a common practice and everyone either requests it or you have to give it to them because of the file/directory level permissions not being enough. Not before long time passes, you realize you have hundreds if not thousands of files that you need to keep track of the ACLs for. Not fun ! Especially a user one days comes and tells you he lost access to his or her files and you can not figure out why.
________________________________
UNIX because I majored in cryptology...
UNIX because I majored in cryptology...
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
News and Events
Support
© Copyright 2024 Hewlett Packard Enterprise Development LP