Hi, I searched a bit and couldn't find any similar problems, so I hope someone can help or point me in the right direction.
Systems:
OS 10.2.6, G4 Powerbook
NFS server is running NFS3 and is an SGI Irix 6.5.16f
The sgi disk is mounted correctly, and my user ID is the same on both machines.
Some simple tests indicate things are functioning for reading and writing -- I can see, access, and edit files on the remote disk. I can use touch and echo to create newfiles and edit and save them.
I have some mapping and plotting software (GMT - Generic Mapping Tools) that I installed with fink. It too works normally, unless my current working directory is on the remote disk. This seems very odd to me. Here are 4 examples using a command that outputs a postscript file of a basic x-y grid. The first two are fine, the second two generate errors. The command is
psbasemap -JM6.0 -R0/10/0/10 -Ba1f1g0.5
Trial 1: CWD is my Mac home (/Users/jrh)
stdout = ~/test.ps (gv ~test.ps -- OK)
Trial 2: CWD is my Mac home (/Users/jrh)
stdout = remotedisk/test.ps (gv remotedisk/test.ps -- OK)
Trial 3: cd to a writable directory on the remote disk
stdout = ./ and I get
psbasemap: Error returned by fcntl [F_WRLCK]
Trial 4: as above but with
stdout = ~/
psbasemap: Error returned by fcntl [F_WRLCK]
In both of the latter two cases, the file test.ps is created, but is empty.
Why would my current working directory matter to executing a basic unix command??
jrh
Systems:
OS 10.2.6, G4 Powerbook
NFS server is running NFS3 and is an SGI Irix 6.5.16f
The sgi disk is mounted correctly, and my user ID is the same on both machines.
Some simple tests indicate things are functioning for reading and writing -- I can see, access, and edit files on the remote disk. I can use touch and echo to create newfiles and edit and save them.
I have some mapping and plotting software (GMT - Generic Mapping Tools) that I installed with fink. It too works normally, unless my current working directory is on the remote disk. This seems very odd to me. Here are 4 examples using a command that outputs a postscript file of a basic x-y grid. The first two are fine, the second two generate errors. The command is
psbasemap -JM6.0 -R0/10/0/10 -Ba1f1g0.5
Trial 1: CWD is my Mac home (/Users/jrh)
stdout = ~/test.ps (gv ~test.ps -- OK)
Trial 2: CWD is my Mac home (/Users/jrh)
stdout = remotedisk/test.ps (gv remotedisk/test.ps -- OK)
Trial 3: cd to a writable directory on the remote disk
stdout = ./ and I get
psbasemap: Error returned by fcntl [F_WRLCK]
Trial 4: as above but with
stdout = ~/
psbasemap: Error returned by fcntl [F_WRLCK]
In both of the latter two cases, the file test.ps is created, but is empty.
Why would my current working directory matter to executing a basic unix command??
jrh