07-21-2015 11:16 AM
Hi All ,
We have a directory say /test which is under vcs in AIX ,The filesystem is JFS2 .
The owner and group of directory is root:root .The filesystem is currently mounted by vcs .
canwe chnage the permission with chown command .
NOTE: i dont see ownership assigned for mountpoint when i checked via hares -display <Mountpoint>
Regards
Dilip
Solved! Go to Solution.
07-23-2015 10:41 PM
Hi Dilip,
You would indeed configure VCS with same user settings which is required by application. For e.g. if you have a apache service which needs to be onlined as "apache" user ... then you would configure VCS application resource to use "apache" user only .. similarly the mount directory should have appropriate owner & group owner permissions.
Now if there is any specific non-root owner for mount point, you can configure that in VCS using MntPtOwner option.
Hope this answers ..
G
07-21-2015 10:08 PM
Hi Dilip.
VCS agent would online a resource using root ownership, if you change it to any other user level permission, still the agent has powers to online as root .. so shouldn't be a problem..unless you have explicitly defined optional mount attributes ..
There are set of optional attributes that can be configured, behavior of mount resource will depend on these parameters .. refer following optional attributes in link below
AccessPermissionChk
MntPtGroup
MntPtOwner
MntPtPermission
https://sort.symantec.com/public/documents/sfha/6.1/aix/productguides/html/vcs_bundled_agents/ch02s07s05.htm
G
07-22-2015 03:29 AM
07-23-2015 04:15 AM
If you check output of 'ps -ef' , which user is listed against the Application processes/daemons?
07-23-2015 10:41 PM
Hi Dilip,
You would indeed configure VCS with same user settings which is required by application. For e.g. if you have a apache service which needs to be onlined as "apache" user ... then you would configure VCS application resource to use "apache" user only .. similarly the mount directory should have appropriate owner & group owner permissions.
Now if there is any specific non-root owner for mount point, you can configure that in VCS using MntPtOwner option.
Hope this answers ..
G