- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: How to give write access to other users' direc...
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
03-18-2004 08:43 PM
03-18-2004 08:43 PM
How to give write access to other users' directory to an user ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-18-2004 08:50 PM
03-18-2004 08:50 PM
Re: How to give write access to other users' directory to an user ?
chgrp common dir_name
chmod 775 dir_name
Whenever the other user wants to write to this directory he/she has to switch to the group first using,
newgrp common
Or you can also use sudo to delicate permissions,
http://hpux.cs.utah.edu/hppd/hpux/Sysadmin/sudo-1.6.7p5/
-Karthik S S
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-18-2004 08:58 PM
03-18-2004 08:58 PM
Re: How to give write access to other users' directory to an user ?
1. #usermod -G group1 user2
2. #chmod 755 dir_name (directory of user1)
3. user2 can use newgrp to change the user and access the directory.
sks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-18-2004 08:59 PM
03-18-2004 08:59 PM
Re: How to give write access to other users' directory to an user ?
1. #usermod -G group1 user2
2. #chmod 755 dir_name (directory of user1)
3. user2 can use newgrp to change the user and access the directory.
sks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-18-2004 10:05 PM
03-18-2004 10:05 PM
Re: How to give write access to other users' directory to an user ?
in /etc/group file add the following subsituting usera & userb with your user's id.
sample::555:usera,userb
In the user's directory
/home/usera/test
if test is the directory you want to give permission on,
chown -R usera:sample /home/usera/test
chmod -R 774 /home/usera/test
this will enable userb to read,write & execute anything in usera's home directory.
Pls let us know if this helps.
Regards,
Anil