Comment 2 for bug 379233

Revision history for this message
ceg (ceg) wrote :

Hi there, it's now a vfat fs plugged into a 9.10 system:
ii coreutils 7.4-2ubuntu1 The GNU core utilities

$ ls -l /media/USB/
-rwxr-xr-x 1 test.txt1
-rwxr-xr-x 1 test.txt2

$ cp /media/USB/test.txt1 .
$ ls -l
-rwxr-xr-x 1 test.txt1

$ cp --no-preserve=mode /media/USB/test.file2 .
$ ls -l
-rwxr-xr-x 1 test.txt1
-rwxr-xr-x 1 test.txt2

With --no-preserve I'd expect the new file to have the same permissions as a newly created file (umask dependent) but this is not the case.