cancel
Showing results for 
Search instead for 
Did you mean: 

File permission change for directory in vcs

Dilipsun
Level 2
Certified

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

1 ACCEPTED SOLUTION

Accepted Solutions

Gaurav_S
Moderator
Moderator
   VIP    Certified

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

 


 

View solution in original post

4 REPLIES 4

Gaurav_S
Moderator
Moderator
   VIP    Certified

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

 

Dilipsun
Level 2
Certified
Hi Gaurav, Thanks for the details .wont the permission change affect the underlying application which is running on that mountpoint . Regards Dilip

Marianne
Moderator
Moderator
Partner    VIP    Accredited Certified

If you check output of 'ps -ef' , which user is listed against the Application processes/daemons?

Gaurav_S
Moderator
Moderator
   VIP    Certified

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

 


 

View solution in original post