- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: how to create directory as specified group.
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
07-29-2002 04:52 PM
07-29-2002 04:52 PM
I have one user called "neurousr", its primary group is users, it also belongs to additional groups such as sys and usrers.
Would someone please tell how neurousr to create a directory as members of sys? For example, neurousr create one directory "/usr4", the result of "ls -l" is:
usr4 neurousr sys
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-29-2002 05:00 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-29-2002 05:02 PM
07-29-2002 05:02 PM
Re: how to create directory as specified group.
Sof if the user has a primary group of sys the directory will be created with those permissions. If it is not, you will need to change it with the 'chgrp' command.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-29-2002 05:10 PM
07-29-2002 05:10 PM
Re: how to create directory as specified group.
$ newgrp sys
.. to switch group ownership to "sys". Now the "mkdir" command and you should see the group ownership will be owned by "sys".
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-29-2002 05:34 PM
07-29-2002 05:34 PM
Re: how to create directory as specified group.
Thanks a lot.
The newgrp and chgrp all works. I try to mount /dev/vg01/lvxxx /usr4. Then I "ls -l", I found the result is changed:
/usr4 root root
Would someone tell me how to make it as " /usr4 neurousr root" after mounting?
Thanks a lot again.
zhiyong
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-29-2002 06:08 PM
07-29-2002 06:08 PM
Re: how to create directory as specified group.
First mount the user4 then do chgrp.
It will be alright.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-29-2002 06:47 PM
07-29-2002 06:47 PM
Re: how to create directory as specified group.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-29-2002 07:06 PM
07-29-2002 07:06 PM
Re: how to create directory as specified group.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-29-2002 07:08 PM
07-29-2002 07:08 PM
Re: how to create directory as specified group.
Thanks a lot for those good way of solving problem.
I used "change ownership" to solve it.
zhiyong