SUMMARY: permissions denied from Solaris8 to NT using sysopen sys tem call

From: Kumar, Rakesh <Rakesh.Kumar_at_kla-tencor.com>
Date: Thu Feb 28 2002 - 13:17:02 EST
Thanks to lbmoore@scrippsops.com , Casper.Dik@Sun.COM and
jayl@accelerant.net

I found that Administrators group was having RWXD permissions on parent
directory. I reapplied it on parent directory and it worked. I do not know
why it worked after reapplying the same permissions. Is that a NT Bug?

Rakesh

>  -----Original Message-----
> From: 	Kumar, Rakesh  
> Sent:	Wednesday, February 27, 2002 2:49 PM
> To:	'sunmanagers@sunmanagers.org'
> Subject:	permissions denied from Solaris8 to NT using sysopen system
> call
> 
> Hi All,
> Here I am facing a problem while running a perl script for creating a file
> on NT machine thru nfs mount. This problem only coming when I try this
> script from Solaris 8. It is working fine on Solaris 2.6 and HP-UX 11.00.
> Also I can create the file using touch command. Please suggest me some
> solution for this
> 
> The Perl Script:
> #!/usr/local/bin/perl -w
> use FileHandle;
> $dest = "/u01/test/test2552/aaa.001";
> if( ! sysopen( ZCDEST, $dest, O_WRONLY|O_CREAT|O_EXCL, 0000) )
> {
>         print "Unable to open file ".$dest.": status $!\n";
>         exit;
> }
> print "Closing file ".$dest;
> close( ZCDEST );
> print "\n End ... \n";
> 
> The Mount output:
> /u01/test/test2552 on 10.70.59.175:/E/2552
> remote/read/write/setuid/dev=4300013 on Wed Feb 27 13:38:28 2002
> 
> The error:
> Unable to open file /u01/test/test2552/aaa.001: status Permission denied
> 
> 
> Thanks
> 
> Rakesh Kumar
_______________________________________________
sunmanagers mailing list
sunmanagers@sunmanagers.org
http://www.sunmanagers.org/mailman/listinfo/sunmanagers
Received on Thu Feb 28 12:19:15 2002

This archive was generated by hypermail 2.1.8 : Thu Mar 03 2016 - 06:42:35 EST