John

You don't mention it but do both users have the same home group,
or have they changed group into the same group? Your example
shows an absolute directory reference (/abc and /xyz) but are
the actual commands doing relative directory references (./abc
and ./xyz)? If so and the users are in different groups that might
explain the results you are seeing, and explain when you run it
all from MGR why it works.

Hope this helps

Robert Schlosser
Global Business Systems
Premier Farnell plc
T 864 487-1362
F 864.487.1904
E rschlosser@premierfarnell.com
www.newarkinone.com



-----Original Message-----
From: john pitman [mailto:jpitman@RYCO.COM.AU]
Sent: Wednesday, March 07, 2007 1:25 AM
To: HP3000-L@RAVEN.UTC.EDU
Subject: [HP3000-L] posix question....


I have a funny one.



A user is running a program that creates files in a posix dir - /xyz say. A
batch job under a different logon then ftps the files to another system, and
renames the files to another posix dir, say /abc. This means the /abc
files are listed as created by the batch job user.



Next day, user runs same program again. This checks for existence of files
in /abc dir, and all the opens fail, with errno = 50. Even if I do a
chmod 777 on the first file, the open still fails.even though I can see the
file as the session user, and I can cat it to the terminal..

What am I missing here please?



If I run the program as MGR, it all works fine..



Thanks,

john




* To join/leave the list, search archives, change list settings, *
* etc., please visit http://raven.utc.edu/archives/hp3000-l.html *


https://www.mailcontrol.com/sr/wQw0zmjPoHdJTZGyOCrrhg==
sR3rnGUZSsrfQ6FSEWyH5DAUy1bpUnH8wYjXloOaA==
Click on the link above to report this email as spam to BlackSpider.

* To join/leave the list, search archives, change list settings, *
* etc., please visit http://raven.utc.edu/archives/hp3000-l.html *