- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: What is advantage of chmod 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
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
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
тАО09-06-2007 02:08 AM
тАО09-06-2007 02:08 AM
What is advantage of chmod 755?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-06-2007 02:12 AM
тАО09-06-2007 02:12 AM
Re: What is advantage of chmod 755?
Using chmod 755 gives rwxrw-rw- permissions. Whether that is an advantage depends on exactly what the file is and how you want it to be used/accessed/updated.
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-06-2007 02:12 AM
тАО09-06-2007 02:12 AM
Re: What is advantage of chmod 755?
Advantage over what?
Its better than 777, which gives all users the right to read write or execute your file.
It takes away the rights of everyone else to change your file.
SEP
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
тАО09-06-2007 02:14 AM
тАО09-06-2007 02:14 AM
Re: What is advantage of chmod 755?
Mode 755 is "better" than mode 777 or 775 in that only the owner of a file may write to it but in that respect is is "worse" than mode 700. If this is a data file then the 1's in each octet should also be cleared.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-06-2007 02:16 AM
тАО09-06-2007 02:16 AM
Re: What is advantage of chmod 755?
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-06-2007 02:17 AM
тАО09-06-2007 02:17 AM
Re: What is advantage of chmod 755?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-06-2007 02:47 AM
тАО09-06-2007 02:47 AM
Re: What is advantage of chmod 755?
There is no advantage or disadvantage. As others have stated, it'll give you rwxr-xr-x permissions on files/directories. If that's what you need, then you're golden, if that's not what you need, then it's borked. As I said, no advantage or disadvantage.
For an example of where that permission set would be too restrictive: Setting /tmp or /var/tmp to 755, for instance, would pretty effectively break your system as quite a few processes need to be able to create tmp files in those directories.
For an example of where that permission set would be too permissive: setting /tcb (and lower files) or /etc/shadow to that permission set would allow people to see the encrypted passwords which would open them up to being cracked.
HTH;
Doug
------
Senior UNIX Admin
O'Leary Computers Inc
linkedin: http://www.linkedin.com/dkoleary
Resume: http://www.olearycomputers.com/resume.html
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-06-2007 03:09 AM
тАО09-06-2007 03:09 AM
Re: What is advantage of chmod 755?
You need to study basic Unix documents on permissions along with security considerations.
Bill Hassell, sysadmin