Cannot access file in NAS

1136710 pts.
Tags:
EMC
Isilon
NAS
We have an EMC Isilon NAS and it's mounted like this:
mount 10.20.30.11:/folder /content
I understand that I can use the 1s command to find a file in a folder, like such:
bash-3.00# ls -l /content/a/b/1.txt

total 344131

rwxrwxrwx   1 1005     65533    140750 Feb 28 00:58 1.txt
But now we can't access it with the access() function.
#include 
#include 
#include 
#include 

using namespace std;

#include 
int main( int argc, const char* argv[] )
{
    int returnVal = 0;
    returnVal = access(argv[1], R_OK);
    cout << returnVal << endl;
    cout << errno << endl;
    return 0;
}
We keep getting this 'no such file or directory'. Anyone know what the problem is?
0

Answer Wiki

Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.

Discuss This Question:  

 
There was an error processing your information. Please try again later.
Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.

Forgot Password

No problem! Submit your e-mail address below. We'll send you an e-mail containing your password.

Your password has been sent to:

To follow this tag...

There was an error processing your information. Please try again later.

Thanks! We'll email you when relevant content is added and updated.

Following

Share this item with your network: