HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- Re: trouble granting permissions, please help asap
Operating System - Linux
1828977
Members
2177
Online
109986
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
Forums
Discussions
Discussions
Discussions
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
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
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
02-24-2004 03:43 AM
02-24-2004 03:43 AM
trouble granting permissions, please help asap
Actually i have trouble in granting rights/permissions over a resource(file/directory), on per user and or per group basis, as we normally and easily used to do in Microsoft(server/professional). Following is the condition/scenario:
1, user 'a' who belongs to a group 'a', creates a file, named 'a-file'.
2, 'a' wants to give 'read' permission, over 'a-file', to 'accounts' group, but there is a user in 'accounts', named 'super-user', only to whome 'a' wants to give 'read' and 'write' both.
3, 'a' wants to give 'read' permission, over 'a-file', to 'sales' group.
4, 'a' wants to give 'read' and 'write' permissions, over 'a-file', to 'managers' group.
Now please let me know what is the solution, of above mentioned condition. Please let me know the steps(command/actions), and procedures. I know abt 'chmod' and and the numbers and various combinations used for granting permissions(ro = 4, w = 2, e = 1, and rwe = 7).
Note: I m using Red Hat Linux, 7.2, and 8.0.
Thanks
1, user 'a' who belongs to a group 'a', creates a file, named 'a-file'.
2, 'a' wants to give 'read' permission, over 'a-file', to 'accounts' group, but there is a user in 'accounts', named 'super-user', only to whome 'a' wants to give 'read' and 'write' both.
3, 'a' wants to give 'read' permission, over 'a-file', to 'sales' group.
4, 'a' wants to give 'read' and 'write' permissions, over 'a-file', to 'managers' group.
Now please let me know what is the solution, of above mentioned condition. Please let me know the steps(command/actions), and procedures. I know abt 'chmod' and and the numbers and various combinations used for granting permissions(ro = 4, w = 2, e = 1, and rwe = 7).
Note: I m using Red Hat Linux, 7.2, and 8.0.
Thanks
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-24-2004 09:15 AM
02-24-2004 09:15 AM
Re: trouble granting permissions, please help asap
Hello,
what you want to do is at least extremely hard if not impossible with basic Linux file protections. You do need to look into ACLs for this. Documentation on this topic can be found e.g. at
http://www.suse.de/~agruen/acl/chapter/fs_acl-en.pdf
Greetings, Martin
what you want to do is at least extremely hard if not impossible with basic Linux file protections. You do need to look into ACLs for this. Documentation on this topic can be found e.g. at
http://www.suse.de/~agruen/acl/chapter/fs_acl-en.pdf
Greetings, Martin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-24-2004 09:19 AM
02-24-2004 09:19 AM
Re: trouble granting permissions, please help asap
check the umask command for user a
It is possible to set things so that evey file he creates is readable by all groups.
If that doesn't work, you can do this.
After file creation:
chmod o+r filename
Then all groups can read it.
The only practical concern at that point is do all groups have access to the folder the file is sitting in.
Sorry about the delay, I left this message half posted for well over an hour.
SEP
It is possible to set things so that evey file he creates is readable by all groups.
If that doesn't work, you can do this.
After file creation:
chmod o+r filename
Then all groups can read it.
The only practical concern at that point is do all groups have access to the folder the file is sitting in.
Sorry about the delay, I left this message half posted for well over an hour.
SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
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
02-24-2004 04:31 PM
02-24-2004 04:31 PM
Re: trouble granting permissions, please help asap
You will have to check acl's to resolve this.
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.
Company
Events and news
Customer resources
© Copyright 2025 Hewlett Packard Enterprise Development LP