HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- restore all the filesystem to its default owner
Operating System - HP-UX
1833237
Members
2634
Online
110051
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
Forums
Discussions
Discussions
Discussions
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
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
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
10-20-2003 09:16 PM
10-20-2003 09:16 PM
restore all the filesystem to its default owner
If the onwer of the system directories and files such as /opt,/usr,/var has been changed, is there anyway to restore all of the files to its default owner instead of "chown" one by one?
2 REPLIES 2
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-20-2003 09:26 PM
10-20-2003 09:26 PM
Re: restore all the filesystem to its default owner
Hi,
You can try to use this doc.
http://www4.itrc.hp.com/service/cki/docDisplay.do?docLocale=en_US&docId=200000066940574
But if you have a backup, it would be easier.
Kind regards,
Robert-Jan.
You can try to use this doc.
http://www4.itrc.hp.com/service/cki/docDisplay.do?docLocale=en_US&docId=200000066940574
But if you have a backup, it would be easier.
Kind regards,
Robert-Jan.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-20-2003 09:46 PM
10-20-2003 09:46 PM
Re: restore all the filesystem to its default owner
You can try to use swverify -F to fix file permissions on patches, but recall that it's not going to be patch sensitive.
swlist -a install_data | sort -k 2
should show an ordered install date (command line off the top of my head - but the idea is right!)
then swverify -F the ordered output.
ignore errors such as filesize changes because of patch sensitivity issues.
You will of course need to have correct permissions on swverify first..
But as stated, this'd be much better if _everything_ was not changed, a restore would be preferred.
swlist -a install_data | sort -k 2
should show an ordered install date (command line off the top of my head - but the idea is right!)
then swverify -F the ordered output.
ignore errors such as filesize changes because of patch sensitivity issues.
You will of course need to have correct permissions on swverify first..
But as stated, this'd be much better if _everything_ was not changed, a restore would be preferred.
It works for me (tm)
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.
Company
Events and news
Customer resources
© Copyright 2025 Hewlett Packard Enterprise Development LP