- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Saving Defined ACL's
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
Forums
Discussions
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
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
03-07-2006 11:57 PM
03-07-2006 11:57 PM
Saving Defined ACL's
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-08-2006 12:06 AM
03-08-2006 12:06 AM
Re: Saving Defined ACL's
man fbackup
gives you:
"
-A Do not back up optional entries of access control lists
(ACLs) for files. Normally, all mode information is
backed up including the optional ACL entries. With the
-A option, the summary mode information (as returned by
stat()) is backed up. Use this option when backing up
files from a system that contains ACLs to be recovered
on a system that does not understand ACLs (see acl(5)).
"
So fbackup would have a copy of your ACL.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-08-2006 12:15 AM
03-08-2006 12:15 AM
Re: Saving Defined ACL's
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-08-2006 12:24 AM
03-08-2006 12:24 AM
Re: Saving Defined ACL's
as a last resort:
cd /
find / -exec getacl {} \; > /tmp/acls.lis
This will search all files on the machine and execute a getacl, dumping the output into a file.
You could then use that file to extract the information required for setacl.
Rather messy and I am sure somebody else will have a better idea.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-08-2006 01:08 AM
03-08-2006 01:08 AM
Re: Saving Defined ACL's
find / -aclv opt | xargs getacl
My problem is I need to perform this on Linux and AIX and those platforms don't support the -aclv param on find. But one down and 2 to go
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-08-2006 01:57 AM
03-08-2006 01:57 AM
Re: Saving Defined ACL's
happy the find command set you on the way.
Probably best to close this thread and raise new ones in the relevant fora.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-08-2006 02:30 AM
03-08-2006 02:30 AM
Re: Saving Defined ACL's
Will do the job .. Thanks for the help