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