Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things

Re: -s test option returns differently in some cases

by hdb (Monsignor)
on Oct 14, 2013 at 08:07 UTC ( #1058141=note: print w/replies, xml ) Need Help??

in reply to -s test option returns differently in some cases

Just guessing: did you check that file permissions are the same on both machines?

  • Comment on Re: -s test option returns differently in some cases

Replies are listed 'Best First'.
Re^2: -s test option returns differently in some cases
by frogsausage (Sexton) on Oct 14, 2013 at 08:11 UTC
    Hi hdb, Actually, it is exactly the same file since it is located on a nfs directory. In the full script, I am now printing the value if a -e test returns true before going to the test that breaks and the path is exactly the same (which is expected).
      ...and the accounts on both machines have identical permissions and the NFS mounts are made in identical fashion i.e. with identical options, on the same mount point - each of which has identical permissions down to the mount point ?

      A user level that continues to overstate my experience :-))

        It is the same user on both machines, and same NFS area. Only the OS is different.

        Mount point in the same. Rights are the same. I just don't know how the NFS is mounted, that's all. I assume it is the same on both OS (IT topic, not mine so I bet it is a common solution).

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1058141]
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (5)
As of 2018-03-23 16:00 GMT
Find Nodes?
    Voting Booth?
    When I think of a mole I think of:

    Results (294 votes). Check out past polls.