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-25-2003 02:45 AM
09-25-2003 02:45 AM
NFS
I am running samba on the HPUX box, and in order for me to control the permissions correctly on the NT side I need the perms to look like this:
drwxrwx--- 8 root root 75 Aug 28 11:24 fsdev
drwxrwx--- 8 root root 75 Aug 27 11:07 fsprd
drwxrwx--- 8 root root 75 Aug 28 14:46 fstst
770 and root:root
Now all my samba permissions are fine. The users are blocked and allowed to go where they want too.
BUUUUTTT, I nfs these files to another unix system and now, oracle users cant get into the NFS mounts because of the 770 and root:root perms on the system taht is handing out the files. Any ideas here or did I confuse everybody.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-25-2003 02:57 AM
09-25-2003 02:57 AM
Re: NFS
ihshp14:psfin> cd /app/psfin/fsdev/fsintfc
su: /app/psfin/fsdev/fsintfc: Permission denied.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-25-2003 02:57 AM
09-25-2003 02:57 AM
Re: NFS
what options/permissions are you exporting the filesystems as?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-25-2003 03:02 AM
09-25-2003 03:02 AM
Re: NFS
This is really a permission problem.
The user ID and group ID mappings must be the same between client and
server. However, the server maps UID 0 (the superuser) to UID -2
before performing access checks for a client. This process prevents
gaining superuser privileges on remote file systems.
So you have only permissions for root:root.
HTH,
Umapathy
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-25-2003 03:25 AM
09-25-2003 03:25 AM
Re: NFS
It is probable that nfs access is being blocked by the settings there.
Again, its very important to understand under the permissions you currently have, the user that needs to access those directories must be part of the root group.
That's opennning up some security issues, unless the users are all admins.
If you can't change the permissions on the files, you have a problem. oracle user should NOT be part of the root group. To enable access to those files, you will have to add access to the other section.
I would suggest this:
drwxrwxr-x 8 root root 75 Aug 28 11:24 fsdev
drwxrwxr-x 8 root root 75 Aug 27 11:07 fsprd
drwxrwxr-x 8 root root 75 Aug 28 14:46 fstst
This will be achieved by
chomd a+rx fsdev
chomd a+rx fsprd
chomd a+rx fstst
You have to give execute permissions to allow users to cd into a directory, last I checked. Denying write permissions keeps things secure.
Now files in the actual directory can be given proper permissions to allow oracle to access them.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-25-2003 03:34 AM
09-25-2003 03:34 AM
Re: NFS
root@mahimahi fsdev]# more /etc/exports
/ASU/fstst ihshp15(rw,sync,no_acl,no_root_squash)
/ASU/fsdev ihshp14(rw,sync,no_acl,no_root_squash)
/ASU/fsprd ihshp8(rw,sync,no_acl,no_root_squash)
/ASU/hrprd ihshp1(rw,sync,no_acl,no_root_squash) ihshp14(rw,sync,no_acl,no_root_squash)
/ASU/hrpt ihshp1(rw,sync,no_acl,no_root_squash)
/ASU/hrtst ihshp15(rw,sync,no_acl,no_root_squash)
/ASU/hrdev ihshp14(rw,sync,no_acl,no_root_squash)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-25-2003 03:48 AM
09-25-2003 03:48 AM
Re: NFS
I would change the group to oracle's group, and see what that does to your Samba setup.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-25-2003 09:21 AM
09-25-2003 09:21 AM
Re: NFS
Most likely the problem is with the UID not matching in the NFS server and NFS client.
Just for testing purpose, add the option "anon=0" to ur /etc/exports and exportfs and then try from the client.
dont forget to remove the anon once u r done ;)
Sundar.