- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- /tmp change permission to 755
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
12-25-2008 07:02 PM
12-25-2008 07:02 PM
Greetings.
I am writing to make an inquiry pertaining /tmp in my hp-ux box changes permission by itself.
HP-UX xxx B.11.00 U 9000/800
I have changed the permission back to 1777 though, the permission looks alright now.
Have anyone encountered this problem before?
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-25-2008 07:11 PM
12-25-2008 07:11 PM
SolutionIt does not change by itself. There is probably a script that does it unintentionally. Check all your scripts that run as root if they contain the "chmod" command. Sometimes the chmod command is preceded by a "cd" or a mkdir command. If either command fails, and the script is in /tmp the chmod will apply to /tmp.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-25-2008 07:46 PM
12-25-2008 07:46 PM
Re: /tmp change permission to 755
Thanks for taking time to answer my inquiry.
I couldn't find anything inside the root crontab that relates to this matter.
Any other places should I check?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-25-2008 08:26 PM
12-25-2008 08:26 PM
Re: /tmp change permission to 755
have you check the history of the root account, could be some one must have changed the permission,
(i mean sh_history)
would be easier if you server has the audit_logs turn-on, so that you could trace back commands issued by root or root equal account
Thanks,
Johnson
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-25-2008 10:50 PM
12-25-2008 10:50 PM
Re: /tmp change permission to 755
If not, it means that chmod didn't have -R.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-25-2008 11:01 PM
12-25-2008 11:01 PM
Re: /tmp change permission to 755
Dennis, yes, the chmod has been done without -R, all permissions beneath /tmp stays intact.
Think I would leave it as it is and monitor if the same issue happened again.
Thanks all for giving me feedback and ideas :)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-25-2008 11:40 PM
12-25-2008 11:40 PM
Re: /tmp change permission to 755
I'm not sure whether a ll -d -c /tmp will tell you when the permission changed or when the last file was added there?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-26-2008 04:57 AM
12-26-2008 04:57 AM