Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Symlinks not showing up but accessible via Menu - Go To Folder #8181

Closed
cyberduck opened this issue Aug 16, 2014 · 4 comments
Closed

Symlinks not showing up but accessible via Menu - Go To Folder #8181

cyberduck opened this issue Aug 16, 2014 · 4 comments

Comments

@cyberduck
Copy link
Collaborator

@cyberduck cyberduck commented Aug 16, 2014

1e69563 created the issue

After upgrading from v4.4.4 to v4.5.1 I can't see symlinks anymore on one special ftp-server, on other servers they appear.
However when I type the known name of the symlink into the dialog I can reach the linked directory.

LOG from 4.4.4 - working

220---------- Welcome to Pure-FTPd [privsep] [TLS] ----------
220-You are user number 6 of 50 allowed.
220-Local time is now 17:14. Server port: 21.
220-This is a private system - No anonymous login
220-IPv6 connections are also welcome on this server.
220 You will be disconnected after 15 minutes of inactivity.
USER m***_ftp
331 User m***_ftp OK. Password required
PASS ********
230 OK. Current restricted directory is /
FEAT
211-Extensions supported:
 EPRT
 IDLE
 MDTM
 SIZE
 MFMT
 REST STREAM
 MLST type*;size*;sizd*;modify*;UNIX.mode*;UNIX.uid*;UNIX.gid*;unique*;
 MLSD
 AUTH TLS
 PBSZ
 PROT
 UTF8
 ESTA
 PASV
 EPSV
 SPSV
 ESTP
211 End.
OPTS UTF8 ON
200 OK, UTF-8 enabled
SYST
215 UNIX Type: L8
PWD
257 "/" is your current location
STAT /
213-STAT
drwxrwxrwx    4 33         www-data         4096 Aug 16 16:46 .
drwxrwxrwx    4 33         www-data         4096 Aug 16 16:46 ..
lrwxrwxrwx    1 0          0                  47 Aug 16 06:23 article_images_macarons -> /var/www10/m12336/macarons/http/images/produkte
lrwxrwxrwx    1 0          0                  38 Aug 16 06:23 layout_macarons -> /var/www10/m12336/macarons/http/layout
lrwxrwxrwx    1 0          0                  52 Aug 16 06:23 market_sync_macarons -> /var/www10/m12336/macarons/upload/market_sync/yatego
drwxr-xr-x    2 33         www-data         4096 May 16  2012 marketplace
lrwxrwxrwx    1 0          0                  36 Aug 16 06:23 pdf_macarons -> /var/www10/m12336/macarons/documents
drwxr-xr-x    2 33         www-data         4096 May 16  2012 upload_article_image_12883
213 End.
CWD /article_images_macarons
250 OK. Current directory is /article_images_macarons
CWD /layout_macarons
250 OK. Current directory is /layout_macarons
CWD /market_sync_macarons
250 OK. Current directory is /market_sync_macarons
CWD /pdf_macarons
250 OK. Current directory is /pdf_macarons

LOG from 4.5.1 (not working)

220---------- Welcome to Pure-FTPd [privsep] [TLS] ----------
220-You are user number 7 of 50 allowed.
220-Local time is now 17:15. Server port: 21.
220-This is a private system - No anonymous login
220-IPv6 connections are also welcome on this server.
220 You will be disconnected after 15 minutes of inactivity.
USER m***_ftp
331 User m***_ftp OK. Password required
PASS ********
230 OK. Current restricted directory is /
FEAT
211-Extensions supported:
 EPRT
 IDLE
 MDTM
 SIZE
 MFMT
 REST STREAM
 MLST type*;size*;sizd*;modify*;UNIX.mode*;UNIX.uid*;UNIX.gid*;unique*;
 MLSD
 AUTH TLS
 PBSZ
 PROT
 UTF8
 ESTA
 PASV
 EPSV
 SPSV
 ESTP
211 End.
OPTS UTF8 ON
200 OK, UTF-8 enabled
SYST
215 UNIX Type: L8
PWD
257 "/" is your current location
CWD /
250 OK. Current directory is /
TYPE A
200 TYPE is now ASCII
PASV
227 Entering Passive Mode (217,24,219,14,245,221)
MLSD
150 Accepted data connection
type=cdir;sizd=4096;modify=20140816144639;UNIX.mode=0777;UNIX.uid=33;UNIX.gid=33;unique=18g21e0991; .
type=pdir;sizd=4096;modify=20140816144639;UNIX.mode=0777;UNIX.uid=33;UNIX.gid=33;unique=18g21e0991; ..
type=OS.unix=slink:;size=47;modify=20140816042300;UNIX.mode=0777;UNIX.uid=0;UNIX.gid=0;unique=18g21e0014; article_images_macarons
type=OS.unix=slink:;size=38;modify=20140816042300;UNIX.mode=0777;UNIX.uid=0;UNIX.gid=0;unique=18g21e0013; layout_macarons
type=OS.unix=slink:;size=52;modify=20140816042300;UNIX.mode=0777;UNIX.uid=0;UNIX.gid=0;unique=18g21e0015; market_sync_macarons
type=dir;sizd=4096;modify=20120516094904;UNIX.mode=0755;UNIX.uid=33;UNIX.gid=33;unique=18g21e0992; marketplace
type=OS.unix=slink:;size=36;modify=20140816042300;UNIX.mode=0777;UNIX.uid=0;UNIX.gid=0;unique=18g21e0012; pdf_macarons
type=dir;sizd=4096;modify=20120516094904;UNIX.mode=0755;UNIX.uid=33;UNIX.gid=33;unique=18g21e0993; upload_article_image_12883
226-Options: -a -l 
226 8 matches total

@cyberduck
Copy link
Collaborator Author

@cyberduck cyberduck commented Aug 16, 2014

1e69563 commented

strange, but when I create a folder in my root and delete it afterwards, the symlinks show up again, here the logs

login

220---------- Welcome to Pure-FTPd [privsep] [TLS] ----------
220-You are user number 4 of 50 allowed.
220-Local time is now 17:45. Server port: 21.
220-This is a private system - No anonymous login
220-IPv6 connections are also welcome on this server.
220 You will be disconnected after 15 minutes of inactivity.
USER m***_ftp331 User m***_ftp OK. Password required
PASS ********
230 OK. Current restricted directory is /
FEAT
211-Extensions supported:
 EPRT
 IDLE
 MDTM
 SIZE
 MFMT
 REST STREAM
 MLST type*;size*;sizd*;modify*;UNIX.mode*;UNIX.uid*;UNIX.gid*;unique*;
 MLSD
 AUTH TLS
 PBSZ
 PROT
 UTF8
 ESTA
 PASV
 EPSV
 SPSV
 ESTP
211 End.
OPTS UTF8 ON
200 OK, UTF-8 enabled
SYST
215 UNIX Type: L8
PWD
257 "/" is your current location
CWD /
250 OK. Current directory is /
TYPE A
200 TYPE is now ASCII
PASV
227 Entering Passive Mode (217,24,219,14,39,212)
MLSD
150 Accepted data connection
type=cdir;sizd=4096;modify=20140816153623;UNIX.mode=0777;UNIX.uid=33;UNIX.gid=33;unique=18g21e0991; .
type=pdir;sizd=4096;modify=20140816153623;UNIX.mode=0777;UNIX.uid=33;UNIX.gid=33;unique=18g21e0991; ..
type=OS.unix=slink:;size=47;modify=20140816042300;UNIX.mode=0777;UNIX.uid=0;UNIX.gid=0;unique=18g21e0014; article_images_macarons
type=OS.unix=slink:;size=38;modify=20140816042300;UNIX.mode=0777;UNIX.uid=0;UNIX.gid=0;unique=18g21e0013; layout_macarons
type=OS.unix=slink:;size=52;modify=20140816042300;UNIX.mode=0777;UNIX.uid=0;UNIX.gid=0;unique=18g21e0015; market_sync_macarons
type=dir;sizd=4096;modify=20120516094904;UNIX.mode=0755;UNIX.uid=33;UNIX.gid=33;unique=18g21e0992; marketplace
type=OS.unix=slink:;size=36;modify=20140816042300;UNIX.mode=0777;UNIX.uid=0;UNIX.gid=0;unique=18g21e0012; pdf_macarons
type=dir;sizd=4096;modify=20120516094904;UNIX.mode=0755;UNIX.uid=33;UNIX.gid=33;unique=18g21e0993; upload_article_image_12883
226-Options: -a -l 
226 8 matches total

new Folder

MKD /test
257 "/test" : The directory was successfully created
CWD /
250 OK. Current directory is /
TYPE A
200 TYPE is now ASCII
PASV
227 Entering Passive Mode (217,24,219,14,191,52)
MLSD
150 Accepted data connection
type=cdir;sizd=4096;modify=20140816153940;UNIX.mode=0777;UNIX.uid=33;UNIX.gid=33;unique=18g21e0991; .
type=pdir;sizd=4096;modify=20140816153940;UNIX.mode=0777;UNIX.uid=33;UNIX.gid=33;unique=18g21e0991; ..
type=OS.unix=slink:;size=47;modify=20140816042300;UNIX.mode=0777;UNIX.uid=0;UNIX.gid=0;unique=18g21e0014; article_images_macarons
type=OS.unix=slink:;size=38;modify=20140816042300;UNIX.mode=0777;UNIX.uid=0;UNIX.gid=0;unique=18g21e0013; layout_macarons
type=OS.unix=slink:;size=52;modify=20140816042300;UNIX.mode=0777;UNIX.uid=0;UNIX.gid=0;unique=18g21e0015; market_sync_macarons
type=dir;sizd=4096;modify=20120516094904;UNIX.mode=0755;UNIX.uid=33;UNIX.gid=33;unique=18g21e0992; marketplace
type=OS.unix=slink:;size=36;modify=20140816042300;UNIX.mode=0777;UNIX.uid=0;UNIX.gid=0;unique=18g21e0012; pdf_macarons
type=dir;sizd=4096;modify=20140816153940;UNIX.mode=0755;UNIX.uid=33;UNIX.gid=33;unique=18g22210b7; test
type=dir;sizd=4096;modify=20120516094904;UNIX.mode=0755;UNIX.uid=33;UNIX.gid=33;unique=18g21e0993; upload_article_image_12883
226-Options: -a -l 

226 9 matches total

delete folder

CWD /test
250 OK. Current directory is /test
TYPE A
200 TYPE is now ASCII
PASV
227 Entering Passive Mode (217,24,219,14,101,34)
MLSD
150 Accepted data connection
type=cdir;sizd=4096;modify=20140816153940;UNIX.mode=0755;UNIX.uid=33;UNIX.gid=33;unique=18g22210b7; .
type=pdir;sizd=4096;modify=20140816153940;UNIX.mode=0777;UNIX.uid=33;UNIX.gid=33;unique=18g21e0991; ..
226-Options: -a -l 

226 2 matches total
STAT /test
213-STAT

drwxr-xr-x    2 33         www-data         4096 Aug 16 17:39 .

drwxrwxrwx    5 33         www-data         4096 Aug 16 17:39 ..

213 End.
RMD /test
250 The directory was successfully removed
STAT /
213-STAT

drwxrwxrwx    4 33         www-data         4096 Aug 16 17:40 .

drwxrwxrwx    4 33         www-data         4096 Aug 16 17:40 ..

lrwxrwxrwx    1 0          0                  47 Aug 16 06:23 article_images_macarons -> /var/www10/m12336/macarons/http/images/produkte

lrwxrwxrwx    1 0          0                  38 Aug 16 06:23 layout_macarons -> /var/www10/m12336/macarons/http/layout

lrwxrwxrwx    1 0          0                  52 Aug 16 06:23 market_sync_macarons -> /var/www10/m12336/macarons/upload/market_sync/yatego

drwxr-xr-x    2 33         www-data         4096 May 16  2012 marketplace

lrwxrwxrwx    1 0          0                  36 Aug 16 06:23 pdf_macarons -> /var/www10/m12336/macarons/documents

drwxr-xr-x    2 33         www-data         4096 May 16  2012 upload_article_image_12883

213 End.
CWD /article_images_macarons
250 OK. Current directory is /article_images_macarons
CWD /layout_macarons
250 OK. Current directory is /layout_macarons
CWD /market_sync_macarons
250 OK. Current directory is /market_sync_macarons
CWD /pdf_macarons
250 OK. Current directory is /pdf_macarons

Loading

@cyberduck
Copy link
Collaborator Author

@cyberduck cyberduck commented Aug 16, 2014

@dkocher commented

The output of MLSD does not contain symbolic link targets for type=OS.unix=slink. This issue has appeared becuase we now give MLSD preference over STAT if supported by the server (as per the FEAT reply) as of a9dc5c4.

Loading

@cyberduck
Copy link
Collaborator Author

@cyberduck cyberduck commented Aug 16, 2014

@dkocher commented

You can disable the use of MLSD to workaround this issue.

Loading

@cyberduck
Copy link
Collaborator Author

@cyberduck cyberduck commented Aug 16, 2014

@dkocher commented

This is a bug with Pure-FTPd and should be reported to them.

Loading

@cyberduck cyberduck closed this Aug 16, 2014
@iterate-ch iterate-ch locked as resolved and limited conversation to collaborators Nov 26, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
2 participants