- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- changing file permissions for user
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
09-24-2003 11:49 PM
09-24-2003 11:49 PM
changing file permissions for user
I need to change permissions for user "user1".
The user needs to be able to delete files from a certain dir and its sub directories. Under these directories there are other users however all these users belong to same group
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-24-2003 11:52 PM
09-24-2003 11:52 PM
Re: changing file permissions for user
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-24-2003 11:56 PM
09-24-2003 11:56 PM
Re: changing file permissions for user
Set the sticky bit on that directory using the chmod 1755 /directory
Thanx
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-24-2003 11:58 PM
09-24-2003 11:58 PM
Re: changing file permissions for user
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-25-2003 12:01 AM
09-25-2003 12:01 AM
Re: changing file permissions for user
But other users in the group would delete files of some other user in the same group.
you can do a
1757 on that directory.
i.e.trwxr-xrwx
You can also enable ACLS if you have the available JFS version of file system.
Revert
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-25-2003 12:09 AM
09-25-2003 12:09 AM
Re: changing file permissions for user
dir and sub dirs must belong to the group of 'user1'.
For changing permissions of sub dirs add '-R':
chmod -R g+w dir
w for write (and delete).
read and execute are most times set - you should check it.
Changing group of dir and sub dirs:
chgrp -R 'group' dir
Regards
Volkmar
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-25-2003 12:19 AM
09-25-2003 12:19 AM
Re: changing file permissions for user
if you don't want other users to have the same permissions as 'user1' you also can give 'user1' a own (second) group and change the group of the dir and sub dirs to this group of 'user1'.
To give 'user1' permissions to this second group, use 'logingroup' in /etc.
See 'man logingroup'.
This is a link to /etc/group
Regards
Volkmar
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-25-2003 03:06 AM
09-25-2003 03:06 AM
Re: changing file permissions for user
man setacl for more details
GK