- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Permissions in One Shot
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
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
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
тАО10-24-2002 04:49 AM
тАО10-24-2002 04:49 AM
I want any information found under that specific directory to be inherited with the new permissions.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-24-2002 04:53 AM
тАО10-24-2002 04:53 AM
Re: Permissions in One Shot
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-24-2002 04:53 AM
тАО10-24-2002 04:53 AM
Solutionchmod -R 750 directory_name
Would change the permissions to rwxr-x---
for directory name and everything under it.
you can use more intuitive options like
u for user permission
g for group permissions
o for everyone else
chmod -R u=rwx directory_name
Eileen
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-24-2002 04:56 AM
тАО10-24-2002 04:56 AM
Re: Permissions in One Shot
chmod -R 644 or 755 or which permission needed.
C.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-24-2002 04:56 AM
тАО10-24-2002 04:56 AM
Re: Permissions in One Shot
I believe you're looking at the command:
chmod -R perms pathname
e.g.
chmod -R ug+r,o-r,a+X /tmp/robin
Rgds, Robin.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-24-2002 04:57 AM
тАО10-24-2002 04:57 AM
Re: Permissions in One Shot
chmod, chgrp and chown all have a -R' option for recursivity on subdirectories. Just notice that access rights on a directory is not the same as on a file :
for example :
- write on a file allows you to change its content
- write on directory allows you to change its content also, but in this case it means adding ou removing files.
So you can easily be able to have permission to delete files that you can't even read ...
Regards,
Jean-Louis.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-24-2002 05:01 AM
тАО10-24-2002 05:01 AM
Re: Permissions in One Shot
4-read(r)
2-write(w)
1-execute(x)
Ex.
chmod -R 755 /home
This will be as
-rwx-r-xr-x
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-24-2002 05:08 AM
тАО10-24-2002 05:08 AM
Re: Permissions in One Shot
I figured out what is the correct command through the man pages right after I posted the question.
When I came back to share what I found 'chmod -R go-w *' I saw a huge number of replies.... Thanks anyway
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-25-2002 08:04 AM
тАО10-25-2002 08:04 AM
Re: Permissions in One Shot
Regards,
Mark