c2c-oerpscenario team mailing list archive
-
c2c-oerpscenario team
-
Mailing list archive
-
Message #03779
[Bug 673963] [NEW] TRUNK cd .. ERROR 451 in FTP Client
Public bug reported:
Installed CRM , with document management and demo data.
FTP to the server login admin
tp> pwd
257 "/v6testcrm/principals/__uids__/admin" is the current directory.
ftp> cd ..
451 Exception.
ftp>
[2010-11-11 12:10:11,550][v6testcrm] INFO:FTP:[admin]@127.0.0.1:47461 FAIL get_crdata() ".." Exception: Exception.
[2010-11-11 12:13:28,698][v6testcrm] ERROR:FTP:[01]: Traceback (most recent call last):
[2010-11-11 12:13:28,698][v6testcrm] ERROR:FTP:[02]: File "/home/chanon/OPENERP/openerp-TRUNK/server/bin/addons/document_ftp/ftpserver/ftpserver.py", line 1800, in try_as_current_user
[2010-11-11 12:13:28,699][v6testcrm] ERROR:FTP:[03]: return self.run_as_current_user(function, *args, **kwargs)
[2010-11-11 12:13:28,699][v6testcrm] ERROR:FTP:[04]: File "/home/chanon/OPENERP/openerp-TRUNK/server/bin/addons/document_ftp/ftpserver/ftpserver.py", line 1775, in run_as_current_user
[2010-11-11 12:13:28,699][v6testcrm] ERROR:FTP:[05]: return function(*args, **kwargs)
[2010-11-11 12:13:28,699][v6testcrm] ERROR:FTP:[06]: File "/home/chanon/OPENERP/openerp-TRUNK/server/bin/addons/document_ftp/ftpserver/abstracted_fs.py", line 274, in get_crdata
[2010-11-11 12:13:28,699][v6testcrm] ERROR:FTP:[07]: assert '..' not in p_parts
[2010-11-11 12:13:28,700][v6testcrm] ERROR:FTP:[08]: AssertionError
[2010-11-11 12:13:28,700][v6testcrm] INFO:FTP:[admin]@127.0.0.1:47461 FAIL get_crdata() ".." Exception: Exception.
I think the ".." handling is OS specific and not part of the FTP spec. But I think it is considered as normal behavior by most client.
** Affects: openobject-addons
Importance: Undecided
Status: New
** Tags: ftp
--
TRUNK cd .. ERROR 451 in FTP Client
https://bugs.launchpad.net/bugs/673963
You received this bug notification because you are a member of C2C
OERPScenario, which is subscribed to the OpenERP Project Group.
Status in OpenObject Addons Modules: New
Bug description:
Installed CRM , with document management and demo data.
FTP to the server login admin
tp> pwd
257 "/v6testcrm/principals/__uids__/admin" is the current directory.
ftp> cd ..
451 Exception.
ftp>
[2010-11-11 12:10:11,550][v6testcrm] INFO:FTP:[admin]@127.0.0.1:47461 FAIL get_crdata() ".." Exception: Exception.
[2010-11-11 12:13:28,698][v6testcrm] ERROR:FTP:[01]: Traceback (most recent call last):
[2010-11-11 12:13:28,698][v6testcrm] ERROR:FTP:[02]: File "/home/chanon/OPENERP/openerp-TRUNK/server/bin/addons/document_ftp/ftpserver/ftpserver.py", line 1800, in try_as_current_user
[2010-11-11 12:13:28,699][v6testcrm] ERROR:FTP:[03]: return self.run_as_current_user(function, *args, **kwargs)
[2010-11-11 12:13:28,699][v6testcrm] ERROR:FTP:[04]: File "/home/chanon/OPENERP/openerp-TRUNK/server/bin/addons/document_ftp/ftpserver/ftpserver.py", line 1775, in run_as_current_user
[2010-11-11 12:13:28,699][v6testcrm] ERROR:FTP:[05]: return function(*args, **kwargs)
[2010-11-11 12:13:28,699][v6testcrm] ERROR:FTP:[06]: File "/home/chanon/OPENERP/openerp-TRUNK/server/bin/addons/document_ftp/ftpserver/abstracted_fs.py", line 274, in get_crdata
[2010-11-11 12:13:28,699][v6testcrm] ERROR:FTP:[07]: assert '..' not in p_parts
[2010-11-11 12:13:28,700][v6testcrm] ERROR:FTP:[08]: AssertionError
[2010-11-11 12:13:28,700][v6testcrm] INFO:FTP:[admin]@127.0.0.1:47461 FAIL get_crdata() ".." Exception: Exception.
I think the ".." handling is OS specific and not part of the FTP spec. But I think it is considered as normal behavior by most client.
Follow ups
References