Matthew Roessner
asked on
CHMOD Error
One of our developers is attempting to use GMAKE in QP2TERM. He is getting a permissions error:
/QOpenSys/usr/bin/-sh: gmake: 0403-006 Execute permission denied
I attempted to do a chmod 777 /QIBM/ProdData/DeveloperTo ols/qsh/bi n/gmake
When I do this, I get the following error:
0481-014 chmod: not all requested changes were made to gmake
I tried to "cd" to the directory with GMAKE in it, but that hasn't helped.
Any ideas?
/QOpenSys/usr/bin/-sh: gmake: 0403-006 Execute permission denied
I attempted to do a chmod 777 /QIBM/ProdData/DeveloperTo
When I do this, I get the following error:
0481-014 chmod: not all requested changes were made to gmake
I tried to "cd" to the directory with GMAKE in it, but that hasn't helped.
Any ideas?
Go to a as/400 (iSeries) Green screen and use the WRKAUT command :-)
cd to folder containing gmake
ls -l
Post results.
ls -l
Post results.
ASKER
lrwxrwxrwx 1 qsys 0 54 Oct 14 07:35 del -> /QSYS.LIB/QAPTL.LIB/DEL.PG M
-rwx---r-x 1 qsys 0 2377 Aug 31 2007 edtstmf
-rwx---r-x 1 qsys 0 2771 Aug 31 2007 ez
-rwx---r-x 1 qsys 0 2769 Aug 31 2007 ezmrg
lrwxrwxrwx 1 qsys 0 56 Oct 14 07:35 flex -> /QSYS.LIB/QAPTL.LIB/FLEX.P GM
lrwxrwxrwx 1 qsys 0 56 Oct 14 07:35 gawk -> /QSYS.LIB/QAPTL.LIB/GAWK.P GM
lrwxrwxrwx 1 qsys 0 58 Oct 14 07:35 gmake -> /QSYS.LIB/QAPTL.LIB/GMAKE. PGM
lrwxrwxrwx 1 qsys 0 56 Oct 14 07:35 gzip -> /QSYS.LIB/QAPTL.LIB/GZIP.P GM
lrwxrwxrwx 1 qsys 0 54 Oct 14 07:35 icc -> /QSYS.LIB/QAPTL.LIB/ICC.PG M
lrwxrwxrwx 1 qsys 0 52 Oct 14 07:35 ld -> /QSYS.LIB/QAPTL.LIB/LD.PGM
lrwxrwxrwx 1 qsys 0 68 Oct 14 07:35 makedepend -> /QSYS.LIB/QAPTL.LIB/MAKEDE PEND.PGM
-rwx---r-x 1 qsys 0 2442 Aug 31 2007 mred
-rwx---r-x 1 qsys 0 2370 Aug 31 2007 mrhex
lrwxrwxrwx 1 qsys 0 52 Oct 14 07:35 ps -> /QSYS.LIB/QAPTL.LIB/PS.PGM
lrwxrwxrwx 1 qsys 0 54 Oct 14 07:35 qar -> /QSYS.LIB/QAPTL.LIB/QAR.PG M
-rwx---r-x 1 qsys 0 2375 Aug 31 2007 review
-rwx---r-x 1 qsys 0 2377 Aug 31 2007 edtstmf
-rwx---r-x 1 qsys 0 2771 Aug 31 2007 ez
-rwx---r-x 1 qsys 0 2769 Aug 31 2007 ezmrg
lrwxrwxrwx 1 qsys 0 56 Oct 14 07:35 flex -> /QSYS.LIB/QAPTL.LIB/FLEX.P
lrwxrwxrwx 1 qsys 0 56 Oct 14 07:35 gawk -> /QSYS.LIB/QAPTL.LIB/GAWK.P
lrwxrwxrwx 1 qsys 0 58 Oct 14 07:35 gmake -> /QSYS.LIB/QAPTL.LIB/GMAKE.
lrwxrwxrwx 1 qsys 0 56 Oct 14 07:35 gzip -> /QSYS.LIB/QAPTL.LIB/GZIP.P
lrwxrwxrwx 1 qsys 0 54 Oct 14 07:35 icc -> /QSYS.LIB/QAPTL.LIB/ICC.PG
lrwxrwxrwx 1 qsys 0 52 Oct 14 07:35 ld -> /QSYS.LIB/QAPTL.LIB/LD.PGM
lrwxrwxrwx 1 qsys 0 68 Oct 14 07:35 makedepend -> /QSYS.LIB/QAPTL.LIB/MAKEDE
-rwx---r-x 1 qsys 0 2442 Aug 31 2007 mred
-rwx---r-x 1 qsys 0 2370 Aug 31 2007 mrhex
lrwxrwxrwx 1 qsys 0 52 Oct 14 07:35 ps -> /QSYS.LIB/QAPTL.LIB/PS.PGM
lrwxrwxrwx 1 qsys 0 54 Oct 14 07:35 qar -> /QSYS.LIB/QAPTL.LIB/QAR.PG
-rwx---r-x 1 qsys 0 2375 Aug 31 2007 review
lrwxrwxrwx 1 qsys 0 58 Oct 14 07:35 gmake -> /QSYS.LIB/QAPTL.LIB/GMAKE. PGM
This means that "gmake" is a symbolic link to the native *PGM object QAPTL/GMAKE.
So in addition to having the correct Posix rights to the gmake link, you'll probably also need to make sure your developer has adequate rights to the program object (using EDTOBJAUT, for example) in order to execute it.
This means that "gmake" is a symbolic link to the native *PGM object QAPTL/GMAKE.
So in addition to having the correct Posix rights to the gmake link, you'll probably also need to make sure your developer has adequate rights to the program object (using EDTOBJAUT, for example) in order to execute it.
Normally, QAPTL/GMAKE should have *PUBLIC *USE. Library QAPTL would be the same.
Has this developer had success before doing related work in PASE? The problem isn't necessarily with permissions for gmake itself. Can you show the exact statements that result in the error?
Tom
Has this developer had success before doing related work in PASE? The problem isn't necessarily with permissions for gmake itself. Can you show the exact statements that result in the error?
Tom
ASKER
Our developers haven't done much in PASE before, so this is uncharted territory... I will check with the developer and will see if I can get the exact statements he is executing...
ASKER
Our developer is essentially trying to do the following, just as an example:
From within QP2Term:
export PATH=/QIBM/ProdData/Develo perTools/q sh/bin:/us r/bin:$PAT H
Then run the following:
gmake -v
When he runs this command, he gets the following error:
/QOpenSys/usr/bin/-sh: gmake: 0403-006 Execute permission denied.
From within QP2Term:
export PATH=/QIBM/ProdData/Develo
Then run the following:
gmake -v
When he runs this command, he gets the following error:
/QOpenSys/usr/bin/-sh: gmake: 0403-006 Execute permission denied.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.