shundezhang / datafabric-griffin

Automatically exported from code.google.com/p/datafabric-griffin
0 stars 0 forks source link

Griffin 0.9.0 cannot access root and absolute paths #6

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Open a GridFTP connection Griffin
2. Attempt to CD to /

What is the expected output? What do you see instead?

Expected: current directory changed to root directory.

Instead: 

220 irods-bestgrid.nesi.org.nz GridFTP Server (Griffin, Java, 0.9.0) Ready.
230 User vladimir.mencl logged in.
UberFTP> cd /
550 Requested action not taken. No permission.

What version of the product are you using? On what operating system?

Griffin 0.9.0 against iRODS 3.1 on CentOS 6 x86_64

iRODS has permissions configured to allow any user to list /

Griffin 0.9.0 breaks on accessing / - and that also breaks all absolute paths.

Thanks a lot in advance for looking into it.

Cheers,
Vlad

-- 
Vladimir Mencl, Ph.D.
E-Research Services and Systems Consultant
BlueFern Computing Services
University of Canterbury
Private Bag 4800
Christchurch 8140
New Zealand

http://www.bluefern.canterbury.ac.nz
mailto:vladimir.mencl@canterbury.ac.nz
Phone: +64 3 364 3012
Mobile: +64 21 997 352
Fax: +64 3 364 3002

Original issue reported on code.google.com by Vladimir.Mencl on 3 Apr 2013 at 10:57

GoogleCodeExporter commented 9 years ago
Oooops, apologies, got it wrong.  The problem is only with listing / itself - 
absolute paths do work.

Original comment by Vladimir.Mencl on 3 Apr 2013 at 10:59

GoogleCodeExporter commented 9 years ago
Hi, further clarification: the issue is _only_ with a "cd /" command - 
otherwise, doing a listing on "/" works all fine.

The error messages I see in the log are: 

2013-04-04 13:15:26,484  INFO [Thread-2] (FtpCmdEnc.java:64) - decrypted msg: 
CWD /
2013-04-04 13:15:27,186  INFO [Thread-2] (AbstractFtpCmd.java:127) - Printing 
encrypted msg: 550 Requested action not taken. No permission.

Apologies about the confusion.

Cheers,
Vlad

Original comment by Vladimir.Mencl on 4 Apr 2013 at 12:19

GoogleCodeExporter commented 9 years ago
Hi Vlad,
can you change log level to debug and send me the log?

Original comment by shunde.p...@gmail.com on 4 Apr 2013 at 4:03

GoogleCodeExporter commented 9 years ago
Hi Shunde,

Sorry about taking that long to get back to you.

I have just tested again.

The problem is only with the "CD /" command - I can even do an "LS /" all fine, 
the problem is only with the CD command.

The sequence as seen with the UberFTP command line client is:

uberftp gridgwtest.canterbury.ac.nz
220 gridgwtest.canterbury.ac.nz GridFTP Server (Griffin, Java, 0.9.0) Ready.
230 User vladimir.mencl logged in.
UberFTP> cd /
550 Requested action not taken. No permission.

I have configured Griffin log4j.properties with:

log4j.logger.au.org.arcs.griffin=DEBUG
log4j.logger.org.irods=DEBUG

I am attaching separate log files for:
1. starting up Griffin
2. connecting with a client session
3. Doing a "cd /" command within the session (and getting the error as per 
above).

Hope that helps you track it down.

Cheers,
Vlad

Original comment by Vladimir.Mencl on 18 Apr 2013 at 11:58

Attachments: