- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: /tmp change permission
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
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
тАО06-20-2011 12:20 AM
тАО06-20-2011 12:20 AM
/tmp change permission
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-20-2011 12:26 AM
тАО06-20-2011 12:26 AM
Re: /tmp change permission
/tmp should be recreated each time the server reboots, as it should be 'temporary' , maybe that's the reason why it was changed....
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-20-2011 12:56 AM
тАО06-20-2011 12:56 AM
Re: /tmp change permission
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-20-2011 01:07 AM
тАО06-20-2011 01:07 AM
Re: /tmp change permission
For security, it should be 777 plus the sticky bit: 1777
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-20-2011 01:13 AM
тАО06-20-2011 01:13 AM
Re: /tmp change permission
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-20-2011 01:29 AM
тАО06-20-2011 01:29 AM
Re: /tmp change permission
Hmm, this isn't a reasonable security change from a tool like Bastille.
Who is the owner of /tmp/? I.e. can only root change the permissions?
If so, you need to track down some root crontab script that may be doing that.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-20-2011 01:35 AM
тАО06-20-2011 01:35 AM
Re: /tmp change permission
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-26-2011 06:32 PM
тАО06-26-2011 06:32 PM
Re: /tmp change permission
The permissions for /tmp can only be changed by the root user -- unless root has changed the permission of / to alllow other users to destroy your system. The top level directories should not be changed. You need to locate either the root user that is making these changes or look for some program or script that is causing this error. There may be a misguided reason to changing a directory from 777 to 755 -- 777 means that any user can add or delete files or directories, not often a desirable feature. But for /tmp (and /var/tmp), it is mandatory. The only valid change would be to prevent users from removing or renaming files or directories that they do not own. In this case, 1777 permission is a valid solution. But as you have seen, 755 is incorrect for /tmp and /var/tmp and will break a lot of programs.
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-27-2011 06:35 AM
тАО06-27-2011 06:35 AM
Re: /tmp change permission
This is one of those things you probably don't want to play around with. Great way to break programs.
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-28-2011 04:17 AM
тАО06-28-2011 04:17 AM
Re: /tmp change permission
if any advise does not work recommended here, may be you can try to use HP HIDS (Host Intruder Detection System) to catch who did what to the files OR dircetories. it is my favorite software from HP. I believe it is free of charge.