kern/86619: linux emulator interacts oddly with cp

Daniel O'Connor doconnor at gsoft.com.au
Tue Sep 27 00:20:17 PDT 2005


>Number:         86619
>Category:       kern
>Synopsis:       linux emulator interacts oddly with cp
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue Sep 27 07:20:16 GMT 2005
>Closed-Date:
>Last-Modified:
>Originator:     Daniel O'Connor
>Release:        FreeBSD 7.0-CURRENT i386
>Organization:
>Environment:
System: FreeBSD inchoate.localdomain 7.0-CURRENT FreeBSD 7.0-CURRENT #1: Thu 
Sep 15 12:51:11 CST 2005 
darius at inchoate.localdomain:/usr/src/sys/i386/compile/INCHOATE i386


>Description:
The Linux cp command (at least with suse-9.3) interacts oddly with the Linux 
emualtor, ie
[inchoate 12:19] ~ >touch /tmp/abc
[inchoate 12:19] ~ >ls -la /tmp/abc
-rw-r--r--  1 darius  wheel  0 Sep 27 12:19 /tmp/abc
[inchoate 12:19] ~ >/compat/linux/bin/cp.foo -p /tmp/abc /tmp/def
[inchoate 12:19] ~ >ls -la /tmp/def
-----wS---  1 darius  wheel  0 Sep 27 12:19 /tmp/def
[inchoate 12:20] ~ >rm -f /tmp/def
[inchoate 12:20] ~ >/compat/linux/bin/cp.foo -p /tmp/abc /tmp/def
[inchoate 12:20] ~ >ls -la /tmp/def
-rwsrwxrwx  1 darius  wheel  0 Sep 27 12:20 /tmp/def

>How-To-Repeat:
>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted:


More information about the freebsd-bugs mailing list