Setting this back to triaged as the following is still failing on
2.6.30-999-generic:

#> ls -l
total 4
-rw-r--r-- 1 stefan stefan 6 2009-06-19 10:18 a
-rw-r--r-- 1 stefan stefan 0 2009-06-19 10:18 b

#> sudo mount -tcifs -ocredentials=../<cred> //<server>/public /mnt
#> mkdir /mnt/Test
#> cp -a * /mnt/Test/
cp: setting permissions for `/mnt/Test/a': Permission denied
cp: setting permissions for `/mnt/Test/b': Permission denied
#> ls -la /mnt/Test/
total 4
drwxr-xr-x 2 stefan stefan 0 2009-06-19 10:26 .
drwxr-xr-x 9 stefan users  0 2009-06-19 10:26 ..
-rwx------ 1 stefan stefan 6 2009-06-19 10:26 a
-rw------- 1 stefan stefan 0 2009-06-19 10:18 b

So, access rights seem to change (execute bit for file is set and group
and other rights get dropped) and the timestamp is only used for the
empy file.


** Changed in: linux (Ubuntu)
       Status: Fix Released => Triaged

** Changed in: linux (Ubuntu)
     Assignee: (unassigned) => Stefan Bader (stefan-bader-canonical)

** Changed in: linux (Ubuntu)
   Importance: Undecided => Medium

-- 
cp -p on CIFS mount does not preserve timestamp
https://bugs.launchpad.net/bugs/276472
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