- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Forgotten how to remove an ACL
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
Forums
Discussions
Discussions
Discussions
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
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
08-22-2007 09:35 PM
08-22-2007 09:35 PM
embarrassing, but I forgot how to remove an ACL
that I deliberately set on a certain directory that belonged to another uid and gid, but which also served as a chroot dir for a real user ftp login, so that ftp user would be allowed to upload files to the dir that didn't belong to him, nor whose group he was member of.
This worked very well with the ACL.
However, this ftp user is to be removed
and thus I wish to remove the ACL,
or change it to the state it was in before (also to get rid of the pesky "+" in an ll output ;-)
I tried this but can't fathom the error message (david is the user to be userdel-ed).
# getacl .
# file: .
# owner: e01adm
# group: sapsys
user::rwx
user:david:rwx
group::r-x
class:rwx
other:r-x
# setacl -d u:david:rwx .
unknown user-id "david:rwx"
# setacl -d u:105:rwx .
unknown user-id "105:rwx"
# id david
uid=105(david) gid=500(guest)
I assume only some minor syntax misinterpretation on my behalf here.
Regards
Ralph
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-22-2007 09:42 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-22-2007 09:53 PM
08-22-2007 09:53 PM
Re: Forgotten how to remove an ACL
that's it.
Thanks a lot for the reminder.
# setacl -d u:105 .
# ll -d .
drwxr-xr-x 2 e01adm sapsys 8192 Aug 22 13:30 .
# getacl .
# file: .
# owner: e01adm
# group: sapsys
user::rwx
group::r-x
class:r-x
other:r-x
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-22-2007 10:21 PM
08-22-2007 10:21 PM
Re: Forgotten how to remove an ACL
http://docs.hp.com/en/B2355-60130/setacl.1.html
(If you are done, you can close this thread to leave things nice and pretty. :-)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-22-2007 10:26 PM
08-22-2007 10:26 PM
Re: Forgotten how to remove an ACL
but I have invoked man setacl.
Maybe I flipped through it a bit too impatiently?
Nice Day too