changed: #recursiveCopyDirectory:to:
authorStefan Vogel <sv@exept.de>
Sun, 15 Nov 2009 23:16:28 +0100
changeset 12530 96a8b0ef61f5
parent 12529 259acc29cc3a
child 12531 6f4df9b6c1f5
changed: #recursiveCopyDirectory:to: keep access rights of copied files
UnixOperatingSystem.st
--- a/UnixOperatingSystem.st	Sun Nov 15 23:15:14 2009 +0100
+++ b/UnixOperatingSystem.st	Sun Nov 15 23:16:28 2009 +0100
@@ -3709,7 +3709,7 @@
     "copy the directory named 'sourcePathName' and all contained files/directories to 'destination'.
      Return true if successful."
 
-    ^ self executeCommand:('/bin/cp -rf ''' , sourcePathName, ''' ''', destination , '''')
+    ^ self executeCommand:('/bin/cp -af ''' , sourcePathName, ''' ''', destination , '''')
 
     "Modified: / 5.6.1998 / 18:33:57 / cg"
 !
@@ -12701,11 +12701,11 @@
 !UnixOperatingSystem class methodsFor:'documentation'!
 
 version
-    ^ '$Header: /cvs/stx/stx/libbasic/UnixOperatingSystem.st,v 1.260 2009-11-05 14:35:41 stefan Exp $'
+    ^ '$Header: /cvs/stx/stx/libbasic/UnixOperatingSystem.st,v 1.261 2009-11-15 22:16:28 stefan Exp $'
 !
 
 version_CVS
-    ^ '$Header: /cvs/stx/stx/libbasic/UnixOperatingSystem.st,v 1.260 2009-11-05 14:35:41 stefan Exp $'
+    ^ '$Header: /cvs/stx/stx/libbasic/UnixOperatingSystem.st,v 1.261 2009-11-15 22:16:28 stefan Exp $'
 ! !
 
 UnixOperatingSystem initialize!