To change the permissions of the vxfs_cmd.log file, customers can use the vxtunefs command with the -D option
Use the following command:
# /opt/VRTS/bin/vxtunefs -D eo_perm=
You can also manually set the parameter value in the configuration file using :
# vi /etc/vx/vxfssystem
eo_perm
The eo_perm option controls the permission settings for the vxfs_cmd.log file.
| Value | Description |
|---|---|
| 0 | Log files have 600 permissions (default). |
| 1 | Log files have 640 permissions. |
| 2 | Log files have 644 permissions. |
| 3 | Permissions are set based on the system umask. |
| 10 | Log files have 600 permissions. Permissions are not changed during product upgrade. |
| 11 | Log files have 640 permissions. Permissions are not changed during product upgrade. |
| 12 | Log files have 644 permissions. Permissions are not changed during product upgrade. |
| 13 | Permissions are set based on the system umask. Permissions are not changed during product upgrade. |
The permissions of vxfs_cmd.log will not change immediately after running the vxtunefs command.
Some data must be written to the vxfs_cmd.log file after the command is run for the new permissions to take effect.
To force this update, customers can run:
/opt/VRTS/bin/vxtunefs
This ensures the new permissions are applied to the vxfs_cmd.log file.
Applies to : VxFS 8.0.0.2900, 8.0.2.1600 onwards and InfoScale 9.0 onwards