Skip to content

double check weird behaviour with the test "-Rarl test_files" #16

@lgutter

Description

@lgutter

when running \ls -1 -Rarl test_files against ./ft_ls -Rarl test_files on my computer:
there is a link without permissions in the subfolder files_for_tests called bullshitnothere.
there is also a directory without permissions called nopermissions.
the real ls prints the permission errors as:

ls: files_for_tests/bullshitnothere: Permission denied
ls: nopermissions: Permission denied

while we print the errors as:

ft_ls: bullshitnothere: Permission denied
ft_ls: nopermissions: Permission denied

I don't really understand why the real ls prints these 2 errors differently...

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions