- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: File delete (erase)
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
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
тАО12-17-2008 05:57 PM
тАО12-17-2008 05:57 PM
File delete (erase)
A file deleted after I create a file in a specific directory automatically.
I don't know why this case happend.
Could you let me know for this happenning?
Thanks for your comment and advice.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-17-2008 06:14 PM
тАО12-17-2008 06:14 PM
Re: File delete (erase)
I assume this isn't /tmp or /var/tmp?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-17-2008 07:35 PM
тАО12-17-2008 07:35 PM
Re: File delete (erase)
There is no magical deletion reported on HP UX till now! :)
So, either someone/script deleted it behind your back. Or you mounted another file system on that directory, which makes the existing files before mount 'invisible', not 'deleted'.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-17-2008 08:29 PM
тАО12-17-2008 08:29 PM
Re: File delete (erase)
Please check your crontab job with
#crontab -l
or may any scheduler job is running.
some script will be there behind this check every job which is running in cron.
Suraj
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-17-2008 09:29 PM
тАО12-17-2008 09:29 PM
Re: File delete (erase)
As the previous writers said .
Automatic deletion can happen only , by script/ scheduler.
If the system is trusted/ auditing is enabled.
From the logs you can find out the deletion , where/ how/ who has done it.
Thanks,
Analyst.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-17-2008 10:32 PM
тАО12-17-2008 10:32 PM
Re: File delete (erase)
there are the Classic unix user 'misunderstandings'
I just name 3, but there are many others
1) trying to delete a .profile with rm .*
which will delete a lot more
2) Trying to cat or sed and output to same name cat file > file or sed < file > file
3) mv file /farawayddir/foobaar
etc etc
Just restore the file from your backup,
also ensure that your owner and privileges
are what you expect. (don't user chmod 777 for instance )