[Bug 276472] [NEW] cp -p on CIFS mount does not preserve permissions and returns a permission denied error

Launchpad Bug Tracker 276472 at bugs.launchpad.net
Tue Mar 16 08:21:02 GMT 2010


You have been subscribed to a public bug:

The original mtime is not preserved after a file is copied to a mounted
CIFS directory.

root at laptop:~# cp -p /etc/hosts /mnt/temp/test/
root at laptop:~# ls -la /etc/hosts /mnt/temp/test/hosts
-rw-r--r-- 1 root root 354 2007-11-13 18:57 /etc/hosts
-rw-r--r-- 1 root root 354 2008-09-30 21:54 /mnt/temp/test/hosts


/mnt/temp  is a CIFS mount.

Description:    Ubuntu 8.04.1
Release:        8.04

Linux version 2.6.24-19-generic (buildd at terranova) (gcc version 4.2.3
(Ubuntu 4.2.3-2ubuntu7)) #1 SMP Wed Aug 20 22:56:21 UTC 2008

** Affects: samba (Ubuntu)
     Importance: Medium
     Assignee: Surbhi Palande (csurbhi)
         Status: In Progress

** Affects: samba (Ubuntu Lucid)
     Importance: Medium
     Assignee: Surbhi Palande (csurbhi)
         Status: In Progress

** Affects: samba (Ubuntu Hardy)
     Importance: Medium
     Assignee: Stefan Bader (stefan-bader-canonical)
         Status: Triaged


** Tags: cifs cp timestamp
-- 
cp -p on CIFS mount does not preserve permissions and returns a permission denied error
https://bugs.launchpad.net/bugs/276472
You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to samba in ubuntu.



More information about the Ubuntu-server-bugs mailing list