- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Special directory permissions
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
11-07-2003 06:21 AM
11-07-2003 06:21 AM
Special directory permissions
I have explored options using the sticky bit and umask but I can't seem to get them to work and i'm running out of time.
Thanks,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-07-2003 06:34 AM
11-07-2003 06:34 AM
Re: Special directory permissions
Access Control Lists(ACL)
Read this:
http://docs.hp.com/hpux/onlinedocs/os/jfs_acl.pdf
Good Luck.
SEP
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
11-07-2003 06:51 AM
11-07-2003 06:51 AM
Re: Special directory permissions
If the users must also create additional directories, they MUST manually change the permission on the new directory. umask has no effect on sticky or UID/GID bits.
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-07-2003 06:52 AM
11-07-2003 06:52 AM
Re: Special directory permissions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-07-2003 06:52 AM
11-07-2003 06:52 AM
Re: Special directory permissions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-07-2003 07:13 AM
11-07-2003 07:13 AM
Re: Special directory permissions
d---rwx--- owner mygroup ...
then whenever a file is created it is up to the owner to make sure they are the only ones with read/write permissions on the file
-rwx------ owner mygroup .....
this can be done via umask or chmod
of course the owner will have to be a member of the group, mygroup. And, there is no guarentee that the owners will maintain the proper permission.
another caveat is being the the members of the group have write permission on the directory. they will be able to remove any file. and being they can create files, they could recreate a file they removed, set the permissions, and then give the file the same owner/group as the file they removed. So, while they can not vi a file, they will be able to modify the file via a remove and recreate it with the desired contents.
the only right way is to use acl's. but they are only supported on limited types of file systems. And several utilities don't support them, nfs, tar, etc. And, of course, there is a learning curve to getting used to using them.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-07-2003 07:21 AM
11-07-2003 07:21 AM
Re: Special directory permissions
I also looked at ACL's , but how would that help me in this situation. I don't need to differentiate between users.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-07-2003 07:31 AM
11-07-2003 07:31 AM
Re: Special directory permissions
Cron up a job run by root, that runs every minute (or whatever) that changes the permissions on any file in that directory to 600. That way you can exercise at least a modicum of control.