copy icon indicating copy to clipboard operation
copy copied to clipboard

File permissions are not preserved

Open achingbrain opened this issue 8 years ago • 0 comments

Making a file executable then using copy on it does not copy the executable bit:

$ touch foo.sh
$ chmod +x foo.sh 
$ ls -l foo.sh
-rwxr-xr-x  1 me  1002642239  0 30 Oct 17:25 foo.sh
$ ./node_modules/.bin/copy-cli foo.sh out
✔ out/foo.sh
$ ls -l out
total 0
-rw-r--r--  1 me  1002642239  0 30 Oct 17:48 foo.sh

achingbrain avatar Oct 30 '17 17:10 achingbrain