- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- chmod g+x fails but chmod 775 works to activate gr...
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
09-17-2008 07:31 AM
09-17-2008 07:31 AM
chmod g+x fails but chmod 775 works to activate group execute bit.
hp-bugx:/8a/PROJECT >ls -lad 01_IN_PROCESS/test; chmod g+X 01_IN_PROCESS/test; ls -lad 01_IN_PROCESS/test
drwxr-xr-x 2 root sys 96 Sep 17 08:44 01_IN_PROCESS/test
drwxr-xr-x 2 root sys 96 Sep 17 08:44 01_IN_PROCESS/test
hp-bugx:/8a/PROJECT >ls -lad 01_IN_PROCESS/test; chmod g+x 01_IN_PROCESS/test; ls -lad 01_IN_PROCESS/test
drwxr-xr-x 2 root sys 96 Sep 17 08:44 01_IN_PROCESS/test
drwxr-xr-x 2 root sys 96 Sep 17 08:44 01_IN_PROCESS/test
hp-bugx:/8a/PROJECT >ls -lad 01_IN_PROCESS/test; chmod 775 01_IN_PROCESS/test; ls -lad 01_IN_PROCESS/test
drwxr-xr-x 2 root sys 96 Sep 17 08:44 01_IN_PROCESS/test
drwxrwxr-x 2 root sys 96 Sep 17 08:44 01_IN_PROCESS/test
- Tags:
- chmod
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-17-2008 07:41 AM
09-17-2008 07:41 AM
Re: chmod g+x fails but chmod 775 works to activate group execute bit.
Your file already *has* group execute bit set (the second x in drwxr-xr-x for the file).
The last statement also set the group WRITE bit (the second w in drwxrwxr-x )
man chmod
would be a good start.
HTH
Duncan
I am an HPE Employee

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-17-2008 07:41 AM
09-17-2008 07:41 AM
Re: chmod g+x fails but chmod 775 works to activate group execute bit.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-17-2008 07:42 AM
09-17-2008 07:42 AM
Re: chmod g+x fails but chmod 775 works to activate group execute bit.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-17-2008 07:44 AM
09-17-2008 07:44 AM
Re: chmod g+x fails but chmod 775 works to activate group execute bit.
if your file already has permissions:
drwxr-xr-x
Then that is the equivalent of 755 in numerical format.
If you issue "chmod 775" on the file then all you are changing is the group write bit, so the equivalent of that is "chmod g+w"
HTH
Duncan
I am an HPE Employee
