HP3000-L Archives

March 2007, Week 1

HP3000-L@RAVEN.UTC.EDU

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
Donna Hofmeister <[log in to unmask]>
Reply To:
Date:
Wed, 7 Mar 2007 08:58:40 -0800
Content-Type:
text/plain
Parts/Attachments:
text/plain (63 lines)
by saying '/dir' -- you're implying this directory is hanging off of root?  could your syntax be wrong and you really want './dir'  or possibly '../dir'?  anyhow....

you are also implying that the directory command is being issued for the entire directory.  the permission for the *directory* (not the files) will allow access to what's below 'dir'.  that you can see into the directory as 'mgr' (and mgr is probably the creator) isn't suprising.       - d

----- 
Donna Hofmeister, HP-CSA Sr. System Programmer
dgarverick -at- longs -dot- com
925-210-6631 Longs Drug Stores

>>>MY opinions, not Longs Drug Stores'<<<


----- Original Message ----
From: john pitman <[log in to unmask]>
To: [log in to unmask]
Sent: Tuesday, March 6, 2007 10:24:59 PM
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 *


 
____________________________________________________________________________________
Sucker-punch spam with award-winning protection. 
Try the free Yahoo! Mail Beta.
http://advision.webevents.yahoo.com/mailbeta/features_spam.html

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

ATOM RSS1 RSS2