- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: lost files
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
09-09-2002 05:55 AM
09-09-2002 05:55 AM
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-09-2002 06:05 AM
09-09-2002 06:05 AM
Re: lost files
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-09-2002 06:06 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-09-2002 06:08 AM
09-09-2002 06:08 AM
Re: lost files
One of the options you can select when removing a user is
"Remove all files owned by this user?"
If you selected this option then that could account for the missing files.
May have to restore from backup to retrieve if this was the case.
Rgds,
Jeff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-09-2002 06:10 AM
09-09-2002 06:10 AM
Re: lost files
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-09-2002 06:27 AM
09-09-2002 06:27 AM
Re: lost files
Using "chown" will not directly remove files. But... If you had a cron job that attempted to "cd" to a folder owned by the old ID number and now the uid is different, then the "cd" might fail and unforseen events may occur.
A long time ago, I had a clean up script where it would "cd" to a folder and then start removing files. The script assumed the "cd" always would work. One day permissions changed on the folder and the "cd" failed. The script then started removing folders and files that I hadn't planned for it to do. I now never assume a "cd" will always work and have modified my scripts accordingly.
My 2 cents...
-- Rod Hills