HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: /var/spool/cron/tmp directory permission
Operating System - HP-UX
1831927
Members
3532
Online
110031
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
Go to solution
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-04-2004 03:03 PM
10-04-2004 03:03 PM
Hi All,
Because of some security reasons, I plan to change the permission of directory /var/spool/cron/tmp to 1775 instead of 1777.
# ll -d /var/spool/cron/tmp
drwxrwxrwt 2 root root 1024 Oct 4 22:47 /var/spool/cron/tmp
Can anyone help to to clarify what is the impact of the change? Can we do that? If not what is the reason? Please help. High score will be given.
Thanks and Best Regards,
Negara
Because of some security reasons, I plan to change the permission of directory /var/spool/cron/tmp to 1775 instead of 1777.
# ll -d /var/spool/cron/tmp
drwxrwxrwt 2 root root 1024 Oct 4 22:47 /var/spool/cron/tmp
Can anyone help to to clarify what is the impact of the change? Can we do that? If not what is the reason? Please help. High score will be given.
Thanks and Best Regards,
Negara
Santos
Solved! Go to Solution.
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-04-2004 04:09 PM
10-04-2004 04:09 PM
Solution
I see nothing wrong with the change you intend making. I have checked a few of my servers, and they have what you propose.
# ll -ld /var/spool/cron/tmp
drwxrwxrwt 2 root root 69632 Oct 5 13:38 /var/spool/cron/tmp
# ll -ld /var/spool/cron/tmp
drwxrwxrwt 2 root root 69632 Oct 5 13:38 /var/spool/cron/tmp
Anyone for a Mutiny ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-04-2004 04:35 PM
10-04-2004 04:35 PM
Re: /var/spool/cron/tmp directory permission
Hi Michael,
Thanks alot.
Is there any impact if we change it to 1775?
Thanks and Best Regards,
Negara
Thanks alot.
Is there any impact if we change it to 1775?
Thanks and Best Regards,
Negara
Santos
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-04-2004 08:11 PM
10-04-2004 08:11 PM
Re: /var/spool/cron/tmp directory permission
We can separate file permission as,
d rwx rwx rwt
/var/spool/cron/tmp file can be executed by every one. But can be deleted / renamed only by super user or owner of the file. If you change the permission 1777 to 1775 then other users can not write in that specific file there. IF you don't want to write that directory by others then change that permission.
( See on chmod+1 man page for sticky bit informations )
But keep default permission there. It will not be going to make any issues there.
HTH.
d rwx rwx rwt
/var/spool/cron/tmp file can be executed by every one. But can be deleted / renamed only by super user or owner of the file. If you change the permission 1777 to 1775 then other users can not write in that specific file there. IF you don't want to write that directory by others then change that permission.
( See on chmod+1 man page for sticky bit informations )
But keep default permission there. It will not be going to make any issues there.
HTH.
Easy to suggest when don't know about the problem!
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