- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Change the permission of any directory or file...
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
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
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
08-10-2011 01:29 AM
08-10-2011 01:29 AM
Change the permission of any directory or file this group "oracle" the owner
Hi,
How i can change the permission of any directory or file this group "oracle" the owner of these directory's.
and how i can change the permission of 3 or 6 directory's this group "dba" the owner of these directory's.
Thanks
- Tags:
- chmod
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-10-2011 04:37 AM
08-10-2011 04:37 AM
Re: Change the permission of any directory or file this group "oracle" the owner
Hi,
and i have other quesions
i convert my systems to trusted mode, does this effect on the permission of files and directory ?
becuase some permission of files and directory change it from 744 to 700 of some user and group.
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-10-2011 05:42 AM
08-10-2011 05:42 AM
Re: Change the permission of any directory or file this group "oracle" the owner
>How I can change the permission of any directory or file this group "oracle" the owner of these directories.
If you are the owner you can just do chmod. If a local system, root can also do this.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-10-2011 07:42 AM - edited 08-10-2011 07:44 AM
08-10-2011 07:42 AM - edited 08-10-2011 07:44 AM
Re: Change the permission of any directory or file this group "oracle" the owner
Use the find command to discover all directories of files ownd by "oracle" and then change them:
find / -user oracle -exec chown newuser {} \;
Two comments though:
you need to do this as root or as oracle
this sounds dangerous - that are a lot of files that need to be owned by oracle - perhaps limit this to a particular directory rather than starting your find command at / ???
Pete