- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: group permission problem
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
тАО02-05-2004 01:27 AM
тАО02-05-2004 01:27 AM
We have a directory called /testtt with the following permissions and ownership:
drwxrwxr-x 2 life users 96 Feb 5 14:23 /testtt
For some reason the user oracle which has the primary group "dba" but is also a member of the group "users" isn't allowed to create files in that /testtt directory.
Can someone please tell me what do I have to do to enable oracle to write in that directory.
Thanks,
Joachim
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-05-2004 01:30 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-05-2004 01:42 AM
тАО02-05-2004 01:42 AM
Re: group permission problem
you can check the assigned groups with the command 'groups'.
See also 'man groups':
A user is granted the permissions of those groups in /etc/passwd and /etc/logingroup at login time.
So simpliest create a link between /etc/group and /etc/logingroup.
Volkmar
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-05-2004 01:45 AM
тАО02-05-2004 01:45 AM
Re: group permission problem
That was quick! and it solved my problem. I didn't get the meaning of /etc/logingroup. I hope I do now :)
Thanks very much!
Joachim
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-05-2004 01:47 AM
тАО02-05-2004 01:47 AM
Re: group permission problem
Although I agree 100% that linking logingroup to group is THE way to solve this, I just wanted to point out that another solution would be to have the oracle user issue the following command
newgrp users
prior to placing the file(s) in testtt.
They could then
newgrp dba
to get back to their primary group.
That command changes the current GID & can be checked with the
id
command.
Rgds,
Jeff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-05-2004 02:06 AM
тАО02-05-2004 02:06 AM
Re: group permission problem
Thanks Volkmar, I didn't see your answer in the first place.
Jeff:
I agree that the newgrp command would be another way to do it. Unfortunately this needs to be a permanent setup and not a single one. Therefore I guess it might be better to create the link. Thanks anyway!
Regards,
Joachim