- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Permissions query
Operating System - HP-UX
1757753
Members
2160
Online
108863
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
Discussions
Discussions
Forums
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
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
тАО05-05-2011 01:28 AM
тАО05-05-2011 01:28 AM
I'm hoping someone can shed some light on an issue I'm currently having.
When I do "ls -l" on a directory, I see "drwxrws---+ " and I would like to see "drwxrwx---+ ".
What is the 's' and how do I change it to 'x'?
When I do ls -dV on the directory, I get the following ACL's -
group:grp1:--------------:------:deny
group:grp1:r-x-----------:------:allow
group:grp2:--------------:------:deny
group:grp2:r-x-----------:------:allow
owner@:--------------:------:deny
owner@:rwxp---A-W-Co-:------:allow
group@:--------------:------:deny
group@:rwxp----------:------:allow
everyone@:rwxp---A-W-Co-:------:deny
everyone@:------a-R-c--s:------:allow
Many thanks from a newbie here.
When I do "ls -l" on a directory, I see "drwxrws---+ " and I would like to see "drwxrwx---+ ".
What is the 's' and how do I change it to 'x'?
When I do ls -dV on the directory, I get the following ACL's -
group:grp1:--------------:------:deny
group:grp1:r-x-----------:------:allow
group:grp2:--------------:------:deny
group:grp2:r-x-----------:------:allow
owner@:--------------:------:deny
owner@:rwxp---A-W-Co-:------:allow
group@:--------------:------:deny
group@:rwxp----------:------:allow
everyone@:rwxp---A-W-Co-:------:deny
everyone@:------a-R-c--s:------:allow
Many thanks from a newbie here.
Solved! Go to Solution.
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-05-2011 02:17 AM
тАО05-05-2011 02:17 AM
Re: Permissions query
the s has nothing to do with acl. that is the SGID bit, and you can change it with chmod:
# chmod g-s dirname
# chmod g-s dirname
****
Unix operates with beer.
Unix operates with beer.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-05-2011 02:19 AM
тАО05-05-2011 02:19 AM
Re: Permissions query
Cheers Viktor.
Thanks for the guidance.
Thanks for the guidance.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-05-2011 02:20 AM
тАО05-05-2011 02:20 AM
Solution
its meaning is:
"SGID on directory: the new files under that directory will be made with the same group as the parent directory"
see
http://viktorbalogh.net/blog/hp-ux/hp-ux_sysadm/a-good-sysadmin-every-day-learns-some-new-things
"SGID on directory: the new files under that directory will be made with the same group as the parent directory"
see
http://viktorbalogh.net/blog/hp-ux/hp-ux_sysadm/a-good-sysadmin-every-day-learns-some-new-things
****
Unix operates with beer.
Unix operates with beer.
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.
News and Events
Support
© Copyright 2024 Hewlett Packard Enterprise Development LP