http://bugzilla.novell.com/show_bug.cgi?id=620489 http://bugzilla.novell.com/show_bug.cgi?id=620489#c0 Summary: sed --follow-symlinks broken: ck_follow_symlink: couldn't lstat o/../os-test Classification: openSUSE Product: openSUSE 11.3 Version: Factory Platform: x86-64 OS/Version: Other Status: NEW Severity: Normal Priority: P5 - None Component: Basesystem AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: koenig@linux.de QAContact: qa@suse.de Found By: --- Blocker: --- the following script triggers the sed bug: # rpm -q sed sed-4.1.5-133.10.x86_64 ------------------------------------------------------------------------------- #!/bin/bash rm -rf testdir mkdir -p testdir/subdir cd testdir/subdir echo foo > ../file ln -s ../file . ls -l file ls -lL file echo broken: sed -i --follow-symlinks s/foo/bar/ file cat file echo working: sed -i s/foo/bar/ file cat file ------------------------------------------------------------------------------- outputs: lrwxrwxrwx 1 root root 7 Jul 7 16:30 file -> ../file -rw-r--r-- 1 root root 4 Jul 7 16:30 file broken: ==> sed: ck_follow_symlink: couldn't lstat f/../file: No such file or directory foo working: bar -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.