Skip to content

ls -lF (long-listing + classifer) includes "@" trailing classifier when it shouldn't #12036

@reardonia

Description

@reardonia

gnu ls drops the link classifier during long-listing. uutils ls also drops the extra /. gnu clearly has an error but it is long-established behavior that it always appends / to directory symlinks.

/usr/bin/gnuls -lF . :

lrwxrwxrwx 1 xbmc users 19 Apr 27 10:26 test-videos -> /media/test-videos//

/usr/bin/ls -lF . :

lrwxrwxrwx 1 xbmc users 19 Apr 27 10:26 test-videos@ -> /media/test-videos/

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions