Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
PerlMonks  

Re^2: -s test option returns differently in some cases

by frogsausage (Sexton)
on Oct 14, 2013 at 08:11 UTC ( #1058142=note: print w/replies, xml ) Need Help??


in reply to Re: -s test option returns differently in some cases
in thread -s test option returns differently in some cases

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).
  • Comment on Re^2: -s test option returns differently in some cases

Replies are listed 'Best First'.
Re^3: -s test option returns differently in some cases
by Bloodnok (Vicar) on Oct 14, 2013 at 10:06 UTC
    ...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).

        Run the mount command on both machines - in the output, amongst all the mounted fileystems, you'll see the mount point listed along with the options used when the mount is/was made.

        It's probably also worthwhile to check that the uid and gid (c/w user and group names) are the same on both machines.

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

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others cooling their heels in the Monastery: (9)
As of 2016-10-01 21:26 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    How many different varieties (color, size, etc) of socks do you have in your sock drawer?






    Results (7 votes). Check out past polls.