https://bugzilla.novell.com/show_bug.cgi?id=231916 Summary: coreutils: ls -LRa doesn't follow symlinks on ext3 Product: openSUSE 10.2 Version: Final Platform: Other OS/Version: Other Status: NEW Severity: Major Priority: P5 - None Component: Basesystem AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: jblunck@novell.com QAContact: qa@suse.de How to reproduce: $ mkdir empty $ cd empty $ ln -s /tmp foo $ ls -LRa : .. foo $ Output from strace -v ls -LRa: open(".", O_RDONLY|O_NONBLOCK|O_LARGEFILE|O_DIRECTORY) = 3 fstat64(3, {st_dev=makedev(253, 5), st_ino=6570683, st_mode=S_IFDIR|0755, st_nlink=2, st_uid=16484, st_gid=50, st_blksize=4096, st_blocks=8, st_size=4096, st_atime=2007/01/04-22:33:10, st_mtime=2007/01/04-22:31:02, st_ctime=2007/01/04-22:31:02}) = 0 fcntl64(3, F_SETFD, FD_CLOEXEC) = 0 fstat64(3, {st_dev=makedev(253, 5), st_ino=6570683, st_mode=S_IFDIR|0755, st_nlink=2, st_uid=16484, st_gid=50, st_blksize=4096, st_blocks=8, st_size=4096, st_atime=2007/01/04-22:33:10, st_mtime=2007/01/04-22:31:02, st_ctime=2007/01/04-22:31:02}) = 0 getdents64(3, {{d_ino=6570683, d_off=12, d_type=DT_DIR, d_reclen=24, d_name="."} {d_ino=6504449, d_off=24, d_type=DT_DIR, d_reclen=24, d_name=".."} {d_ino=5538266, d_off=4096, d_type=DT_LNK, d_reclen=24, d_name="foo"}}, 4096) = 72 getdents64(3, {}, 4096) = 0 close(3) = 0 Seems that ls isn't calling stat64() if the filetype is symlink. Also happens with coreutils 6.7 from factory. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.