Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister
 
PerlMonks  

Re^2: Need help with script to create directories

by jlk (Hermit)
on Jun 20, 2004 at 05:09 UTC ( [id://368236]=note: print w/replies, xml ) Need Help??


in reply to Re: Need help with script to create directories
in thread Need help with script to create directories

Ok, did that and now the directory named "1" is called "testing", and all other results are the same. Also, the same errors were produced:

touch: /home/jlk/tmp/data/ecftp/archive/testing/testing.log cannot stat
touch: /home/jlk/tmp/data/ecftp/archive/testing/testing_ack.log cannot stat

Any idea what they mean?

Regards,
jlk

Seasame street was brought to you today by the letters M, I and T and the number 3.1415926535897932384626433832795

  • Comment on Re^2: Need help with script to create directories

Replies are listed 'Best First'.
Re^3: Need help with script to create directories
by davidj (Priest) on Jun 20, 2004 at 05:34 UTC
    Here is something you might want to check (this is from the solaris stat manpage which you may want to read):

    "You do not need any access rights to the file to get this information but you need search rights to all directories named in the path leading to the file." (italics mine for emphasis)

    The permissions are set to 777(wide open)

    This may be true of the parent directory, but is it true of all the directories in the path? Have the permissions changed on any of them?

    davidj

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://368236]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others imbibing at the Monastery: (9)
As of 2024-04-26 08:53 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found