- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- ACL add and remove..
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
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
тАО02-27-2007 12:21 AM
тАО02-27-2007 12:21 AM
ACL add and remove..
I was doing some setfacl on one file..somewhere on google I found how to add acl but now I can not figure how to remove it..
I have this:
drwx--l---+ 2 1002 1002 512 Feb 27 08:53
I as root can read it
Also..I would love if someone can help me how to add command so that only root and certan user can acces certain folder..to add acl
thanks in advance...
cheers
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-27-2007 12:38 AM
тАО02-27-2007 12:38 AM
Re: ACL add and remove..
you have already started if you have used the setacl command!
"man setacl" shows you the options:
-m to add/mod entries
-d to delete entries
The man example:
setacl -m user:archer:r-- filea
so for you somthing like:
setacl -m user:root rwx folder
You need at least execute (001) to access a directory.
Please also read:
http://forums1.itrc.hp.com/service/forums/helptips.do?#33 on how to reward any useful answers given to your questions.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-27-2007 12:51 AM
тАО02-27-2007 12:51 AM
Re: ACL add and remove..
setacl -m user:root rwx folder
I did read man setfacl but it did not help a lot..
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-27-2007 01:23 AM
тАО02-27-2007 01:23 AM
Re: ACL add and remove..
as you have read the man pages, you will have found the correct format:
# setacl -m u:root:rwx folder
So you would set the normal permissions on the folder with chmod and then add your individual users.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-27-2007 01:42 AM
тАО02-27-2007 01:42 AM
Re: ACL add and remove..
OK files and folders that have ACL have little + near premissions..
how to remove ACL?? I can tell it is something with -d but as root I can not execute it..maybe I hit wrong commnad..
thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-27-2007 01:47 AM
тАО02-27-2007 01:47 AM
Re: ACL add and remove..
setfacl -r -d u:root:rwx filename
but nothing happens...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-27-2007 06:37 PM
тАО02-27-2007 06:37 PM
Re: ACL add and remove..
That's what it says.
>I did this:
setfacl -r -d u:root:rwx filename
Try: setacl -d u:root:rwx filename
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-27-2007 06:50 PM
тАО02-27-2007 06:50 PM
Re: ACL add and remove..
I have only setfacl and getfacl I guess it is same...
I set acl with setfacl and it has restriction..but problem is how to remove now acl and make that folder regular..
thanks in advance..
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-27-2007 06:55 PM
тАО02-27-2007 06:55 PM
Re: ACL add and remove..
It might be helpful if you can explain how you are not on HP-UX? and what you are on?
Peter and I have assumed you are on HP-UX and just have typos.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-27-2007 07:03 PM
тАО02-27-2007 07:03 PM
Re: ACL add and remove..
Thanks