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.

-- 
cp preserves mode with --no-preserve=mode
https://bugs.launchpad.net/bugs/379233
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to