- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Problem with permissions
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-11-2002 01:09 AM
12-11-2002 01:09 AM
I have litte probelm with permissions, how can a create the following permissions with the chmod command:
r-sr-sr-t
Uli
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-11-2002 01:13 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-11-2002 01:13 AM
12-11-2002 01:13 AM
Re: Problem with permissions
Regards,
John
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-11-2002 01:14 AM
12-11-2002 01:14 AM
Re: Problem with permissions
chmod 7555
The 555 gives the r-x permissions for user/group/other, and the initial 7 gives suid permissions for user/group, and sets the sticky bit on the file
From the man page:
Miscellaneous mode bits:
4000 (= u=s) Set-user-id on file execution (file only)
2000 (= g=s) Set-group-id on file execution
1000 (= u=t) Set sticky bit; see chmod(2)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-11-2002 01:16 AM
12-11-2002 01:16 AM
Re: Problem with permissions
chmod u+s,g+s,o+t filename
Rajeev
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-11-2002 01:18 AM
12-11-2002 01:18 AM
Re: Problem with permissions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-11-2002 01:18 AM
12-11-2002 01:18 AM
Re: Problem with permissions
#chmod 7555 file
Kind regards,
Robert-Jan.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-11-2002 01:18 AM
12-11-2002 01:18 AM
Re: Problem with permissions
as root when a file is craeted it's permision will be
-rw-rw-rw- 1 root sys 11 Dec 11 14:46 ra
(ra is file name)
#chmod 0444 ra
#chmod a+s ra
#chmod o+t ra
now the file looks like
-r-Sr-Sr-T 1 root sys 13 Dec 11 14:42 ra
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-11-2002 01:19 AM
12-11-2002 01:19 AM
Re: Problem with permissions
regards Uli.