- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- mount /opt/oracle
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
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
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
тАО06-26-2006 11:53 PM
тАО06-26-2006 11:53 PM
I feel like a real noob here ....
I want to mount /opt/oracle.
I made the directory with chmod 777 and chown oracle:dba however when I mount /opt/oracle the owner is root:root.
how can I mount as oracle:dba .
cheers
Solved! Go to Solution.
- Tags:
- mount
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-26-2006 11:58 PM
тАО06-26-2006 11:58 PM
Re: mount /opt/oracle
Try doingt he chown after you mount the directory. You are overlaying the original when you mount. If you unmount and look, the oracle:dba ownership should still be there
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-27-2006 12:01 AM
тАО06-27-2006 12:01 AM
Re: mount /opt/oracle
:(
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-27-2006 12:14 AM
тАО06-27-2006 12:14 AM
SolutionIf you do the following steps
1. mount the directory
2. chown oracle:dba /opt/oracle
3. ll /opt
the /opt/oracle directory is owned by root:root?
Do the oracle user and the dba group exist?
Also permissions of 777 is not a good idea. you should eliminate the world write flag (775). Any audit of the system will show the 777 as a major security risk.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-27-2006 12:43 AM
тАО06-27-2006 12:43 AM
Re: mount /opt/oracle
It looks like the only real solution is what DCE has already suggested.
Are you sure you are checking the permissions after the filesystem is mounted ?
bdf /opt/oracle - to check if the filesystem is mounted.
If not - mount the filesystem
chown -R oracle:dba /opt/oracle [ To recursively own each file and sub dir under /opt/oracle by user oracle ]
ls -ld /opt/oracle [ To confirm ]
Also I agree that the permissions should not be set to 777 as far as possible.
Just a reality check - are you checking the permissions after unmounting /opt/oracle and hence finding them to be root:root again ?
Regards,
Ninad
Mount /opt/oracle
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-27-2006 12:44 AM
тАО06-27-2006 12:44 AM
Re: mount /opt/oracle
I have done:
remove oracle user
recreated because the command id oracle displayed
uid=440(oracle) gid=106() groups=201(dba)
now displays
uid=440(oracle) gid=200(oinstall) groups=201(dba)
chown oracle:dba /opt/oracle
mount -a
owner is now oracle:dba
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-27-2006 12:45 AM
тАО06-27-2006 12:45 AM