[gpfsug-discuss] Permissions issue in GPFS 4.2.3-4?

Buterbaugh, Kevin L Kevin.Buterbaugh at Vanderbilt.Edu
Wed Aug 30 20:26:41 BST 2017


Hi All,

We have a script that takes the output of mmlsfs and mmlsquota and formats a users’ GPFS quota usage into something a little “nicer” than what mmlsquota displays (and doesn’t display 50 irrelevant lines of output for filesets they don’t have access to).  After upgrading to 4.2.3-4 over the weekend it started throwing errors it hadn’t before:

awk: cmd. line:11: fatal: cannot open file `/var/mmfs/gen/mmfs.cfg.show' for reading (Permission denied)
mmlsfs: Unexpected error from awk. Return code: 2
awk: cmd. line:11: fatal: cannot open file `/var/mmfs/gen/mmfs.cfg.show' for reading (Permission denied)
mmlsfs: Unexpected error from awk. Return code: 2
Home (user): 11.82G 30G 40G 10807 200000 300000
awk: cmd. line:11: fatal: cannot open file `/var/mmfs/gen/mmfs.cfg.show' for reading (Permission denied)
mmlsquota: Unexpected error from awk. Return code: 2

It didn’t take long to track down that the mmfs.cfg.show file had permissions of 600 and a chmod 644 of it (on our login gateways only, which is the only place users run that script anyway) fixed the problem.

So I just wanted to see if this was a known issue in 4.2.3-4?  Notice that the error appears to be coming from the GPFS commands my script runs, not my script itself … I sure don’t call awk!  ;-)

Thanks…

Kevin
—
Kevin Buterbaugh - Senior System Administrator
Vanderbilt University - Advanced Computing Center for Research and Education
Kevin.Buterbaugh at vanderbilt.edu<mailto:Kevin.Buterbaugh at vanderbilt.edu> - (615)875-9633



-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://gpfsug.org/pipermail/gpfsug-discuss_gpfsug.org/attachments/20170830/64aa629e/attachment.htm>


More information about the gpfsug-discuss mailing list