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

Re: missing automount magic

by radiantmatrix (Parson)
on Nov 01, 2005 at 19:49 UTC ( [id://504715]=note: print w/replies, xml ) Need Help??


in reply to missing automount magic

This all works fine for me as well. Are you aware that some installations of find cache results?

Also, the advice to open a file on the automount system before using opendir/readdir is somewhat flawed: on UNIX, opening a directory is opening a file.

I'm curious: what happens if you manually mount the same volumes to the same paths, thus circumventing automount? If your Perl code succeeds, then it's time to trace and find out the differences. If it fails, you might be dealing with permissions issues (e.g. are you sure your Perl app runs as the same user for whom find works? Have you checked whether perl is setuid as well?).

Unfortunately, this seems somewhat specific to your system, which makes it very hard to debug via a forum.

<-radiant.matrix->
A collection of thoughts and links from the minds of geeks
The Code that can be seen is not the true Code
"In any sufficiently large group of people, most are idiots" - Kaa's Law

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others musing on the Monastery: (3)
As of 2024-03-28 13:13 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found