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...
when running
\ls -1 -Rarl test_filesagainst./ft_ls -Rarl test_fileson my computer:there is a link without permissions in the subfolder
files_for_testscalledbullshitnothere.there is also a directory without permissions called
nopermissions.the real ls prints the permission errors as:
while we print the errors as:
I don't really understand why the real ls prints these 2 errors differently...