From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <96078608810536.tru64-unix-managers.marc@archive.invalid> From: ASIMEONE () iga ! com Date: Wed, 26 Feb 1997 22:14:04 +0000 To: tru64-unix-managers Subject: NFS permission problem X-MARC-Message: https://marc.info/?l=tru64-unix-managers&m=96078608810536 Hello, We are having, what is looks like, a NFS permission problem. I have a UFS mounted disk on an Alpha V2.0 disk. The disk is exported with the -root=0 flags and I also added -rw=(hostname) The disk is NFS mounted on a risc box running ultrix 4.2a. We can create/delete/read/write to the nfs mounted disk from the risc box. The user being used has a uid:gid of 0:75. We also tried using root. The ownership of the files are root. The problem is, when the developers run their code, it gets a permission denied when it tries to open a particular file on the nfs disk. The code is also being run from the nfs disk from the risc box. We can read the files from the unix prompt, chmod, anything we want. The permissions of the files have rwrwrw. The executable has rwxrxrx. I also changed the particular file it is trying to read to rwxrwxrwx. If we move all the files and code over to a local disk on the risc box and run it, there is no problem. I cut and paste the particular section of code that is having the problem and included it here along with the dbx output. If anyone can shed some light on this, I'd appreciate it. If more info is needed, please let me know. will summarize. thanks, Allan ______________________________________ /* Utility to convert the denomination file from 4.22 to 4.23 */ #include #include #include int eflg, dnm, tst,ln,language; char dnmrec[40]; char epath[40], dpath[40], sysgroup[40]; char *idst="@(#) file cnv_dnm_4.23.c version 1.2 get performed 10:21:47 2/14/97"; main() { printf("HELLO 1"); if(!prepth(epath,dpath,sysgroup)) { printf("HELLO 2"); printf("Cannot find system access record for user\n"); exit(0); } printf("HELLO 3"); printf("\nUtility to convert denomination file: 4.22 --> 4.23."); printf("HELLO 4"); dnm = myopen("02denom",ISINOUT+ISMANULOCK); printf("HELLO 5"); if(dnm < 0) printf("Error %d on open of 02denom\n",iserrno); printf("HELLO 6"); tst = isread(dnm,dnmrec,ISFIRST); if(tst < 0) printf("Error %d on first read of 02denom\n",iserrno); } __________________________________________________ su-/FNB/QA/usr/CVM/utilities/exec [1] dbx test dbx version 2.10.1 Type 'help' for help. reading symbolic information ... main: Source not available (dbx) run HELLO 1HELLO 3 Utility to convert denomination file: 4.22 --> 4.23.HELLO 4HELLO 5Error 13 on m HELLO 6Error 101 on first read of 02denom Program terminated normally (dbx)