Context: Sun Sparc2 client and servers
         SunOS 4.1.2
         AFS 3.2

   snd% fs getcellstatus srtc.srs.gov
   Cell srtc.srs.gov status: setuid allowed

I have an suid program (not a script) out in AFS. I set the modes on
the file after copying it into AFS.

   snd% ls -l qstat
   ---s--x--x  1 root       237568 Feb  6 20:17 qstat

   snd% ./qstat
   ./qstat: Permission denied

But, if I 

   snd% chmod 4511 qstat

so that 

   snd% ls -l qstat
   -r-s--x--x  1 root       237568 Feb  6 20:17 qstat

then

   snd% ./qstat
   ===============================================================
   NQS Version: 2.2  BATCH DEVICE PIPE REQUESTS on slsand 
   ===============================================================
   REQUEST       NAME            OWNER       QUEUE       PRI NICE CPU   STATE

(works!)

Note:

 - The software was particular about setting modes on qstat to 4111; 
   I hesitate to override this.
 - Mode 4111 works fine on SUN if qstat is in regular filesystem.
 - Mode 4111 works fine on AIX clients no matter where qstat is.

Any ideas?

_Chuck Henkel
 [EMAIL PROTECTED]

Reply via email to