[GE users] can't open output file "/some/path/TEST.1763": Permission denied

Andreas.Haas at Sun.COM Andreas.Haas at Sun.COM
Wed Aug 22 16:11:24 BST 2007


Hi Dmitry,

On Wed, 22 Aug 2007, Dmitry Zhukovski wrote:

> OK, after more investigations I found this problem persists on amd64
> servers and not on intel32.

Ok.

> I have upgraded to 6.1u2 as there was kind
> of similar Issue 2249 but it didn't help.

#2249 is not related. Must be some other bug.

> What do you think? Where can I have a look more?

Note, the '8259' here in

    [1021277:8259]: error: can't open output file "/some/path/TEST.1763": Permission denied

is actually geteuid(2) under which the open(2) system call fails while getuid(2) 
is '0' at this point in time.  Reproducing the actual problem in an isolated way thus should doable with a small C 
program that is run as user 'root':

#include ...

int main(int argc, char *argv[])
{
   seteuid(8259);
   if ((fd=open64("/some/path/TEST.1763", O_WRONLY|O_CREAT|O_APPEND, 0644))<0) {
     fprintf(stderr, "open64() failed: %s\n", strerror(errno));
     return 1;
   }
   return 0;
}

Could you try this and file us then an IssueZilla issue with the result?

Please make sure you add complete OS + HW information both for the 
execution node and the NFS server and all relevant information about 
the NFS mount.

Best regards,
Andreas

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe at gridengine.sunsource.net
For additional commands, e-mail: users-help at gridengine.sunsource.net




More information about the gridengine-users mailing list