- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- ACL not working when NFS Server and Client is same...
Operating System - HP-UX
1752577
Members
5403
Online
108788
Solutions
Forums
Categories
Company
Local Language
back
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
back
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
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Topic Options
- 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
01-21-2008 03:56 AM
01-21-2008 03:56 AM
ACL not working when NFS Server and Client is same machine
We have two Rx7620 servers that are running HP-UX 11.23. These servers are wbscsp01 and wbscsp02.
Space is presented to each server from XP128. In wbscsp02 there are two mount points call bscs1 and bscs1/WORK1
/dev/vgbscs01/lvol1 50057216 27934211 20758630 57% /bscs1
/dev/vgbscs01/lvol2 134766592 129157006 5609586 96% /bscs1/WORK1
Same server (wbscsp02) above two mount points are shared by NFS and mounted to /bscs and /bscs/WORK
192.168.1.3:/bscs1 50057216 27933320 20759465 57% /bscs
192.168.1.3:/bscs1/WORK1
134766592 129157036 5609556 96% /bscs/WORK
Actually in the wbscsp02 server also, application users works in this /bscs and /bscs/WORK locations not the bscs1 and /bscs1/WORK1
In the wbscsp01 server also access this NFS shared /bscs1 and /bscs1/WORK1 (in wbscsp02) through /bscs and /bscs/WORK mount points.
192.168.1.3:/bscs1 50057216 27933376 20759416 57% /bscs
192.168.1.3:/bscs1/WORK1
134766592 129166408 5600184 96% /bscs/WORK
Recently I got the requirement to create some ACL to files under NFS environment.
For the example I have done it following way
I create a file under /bscs1 mount point in wbscsp02 server
-rw-r--r-- 1 bscsprod bscsprod 34 Jan 21 10:57 acltest3
Has given write and read access to above file for dhaj user.
$ getacl acltest3
# file: acltest3
# owner: bscsprod
# group: bscsprod
user::rw-
user:dhaj:rw-
group::r--
class:rw-
other:r—
-rw-rw-r--+ 1 bscsprod bscsprod 0 Jan 21 15:37 acltest3
When I access this file from the wbscsp01 server (NFS client) as expected ACL working fine. (Login from the dhaj user and both servers uid of the dhaj is 126)
Wbscsp01
$ hostname
$ wbscsp01
$ whoami
dhaj
$ pwd
$ /bscs
$ ll acltest3
-rw-rw-r-- 1 bscsprod bscsprod 0 Jan 21 15:37 acltest3
$ touch acltest3
$ ll acltest3
-rw-rw-r-- 1 bscsprod bscsprod 0 Jan 21 16:33 acltest3
But my problem is when I access this file from wbscsp02 server ( where NFS server and client both running), It doesn’t give allow to edit or change
$ hostname
wbscsp02
$ whoami
dhaj
$ pwd
/bscs
$ ll acltest3
-rw-rw-r-- 1 bscsprod bscsprod 0 Jan 21 16:33 acltest3
$ touch acltest3
touch: cannot change times on acltest3
$
It is appreciate if you can able to give me some solution to above reason and why is it not possible to access when NFS client also in the NFS Server?
Thanks & Regards
Dhananjaya Amarakoon
Space is presented to each server from XP128. In wbscsp02 there are two mount points call bscs1 and bscs1/WORK1
/dev/vgbscs01/lvol1 50057216 27934211 20758630 57% /bscs1
/dev/vgbscs01/lvol2 134766592 129157006 5609586 96% /bscs1/WORK1
Same server (wbscsp02) above two mount points are shared by NFS and mounted to /bscs and /bscs/WORK
192.168.1.3:/bscs1 50057216 27933320 20759465 57% /bscs
192.168.1.3:/bscs1/WORK1
134766592 129157036 5609556 96% /bscs/WORK
Actually in the wbscsp02 server also, application users works in this /bscs and /bscs/WORK locations not the bscs1 and /bscs1/WORK1
In the wbscsp01 server also access this NFS shared /bscs1 and /bscs1/WORK1 (in wbscsp02) through /bscs and /bscs/WORK mount points.
192.168.1.3:/bscs1 50057216 27933376 20759416 57% /bscs
192.168.1.3:/bscs1/WORK1
134766592 129166408 5600184 96% /bscs/WORK
Recently I got the requirement to create some ACL to files under NFS environment.
For the example I have done it following way
I create a file under /bscs1 mount point in wbscsp02 server
-rw-r--r-- 1 bscsprod bscsprod 34 Jan 21 10:57 acltest3
Has given write and read access to above file for dhaj user.
$ getacl acltest3
# file: acltest3
# owner: bscsprod
# group: bscsprod
user::rw-
user:dhaj:rw-
group::r--
class:rw-
other:r—
-rw-rw-r--+ 1 bscsprod bscsprod 0 Jan 21 15:37 acltest3
When I access this file from the wbscsp01 server (NFS client) as expected ACL working fine. (Login from the dhaj user and both servers uid of the dhaj is 126)
Wbscsp01
$ hostname
$ wbscsp01
$ whoami
dhaj
$ pwd
$ /bscs
$ ll acltest3
-rw-rw-r-- 1 bscsprod bscsprod 0 Jan 21 15:37 acltest3
$ touch acltest3
$ ll acltest3
-rw-rw-r-- 1 bscsprod bscsprod 0 Jan 21 16:33 acltest3
But my problem is when I access this file from wbscsp02 server ( where NFS server and client both running), It doesn’t give allow to edit or change
$ hostname
wbscsp02
$ whoami
dhaj
$ pwd
/bscs
$ ll acltest3
-rw-rw-r-- 1 bscsprod bscsprod 0 Jan 21 16:33 acltest3
$ touch acltest3
touch: cannot change times on acltest3
$
It is appreciate if you can able to give me some solution to above reason and why is it not possible to access when NFS client also in the NFS Server?
Thanks & Regards
Dhananjaya Amarakoon
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
News and Events
Support
© Copyright 2024 Hewlett Packard Enterprise Development LP