cp -p on CIFS mount does not preserve permissions and returns a permission denied error
Bug #276472 reported by
Stefan
This bug affects 2 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
samba (Ubuntu) |
Fix Released
|
Medium
|
Surbhi Palande | ||
Hardy |
Won't Fix
|
Medium
|
Unassigned | ||
Lucid |
Won't Fix
|
Medium
|
Unassigned |
Bug Description
The original mtime is not preserved after a file is copied to a mounted CIFS directory.
root@laptop:~# cp -p /etc/hosts /mnt/temp/test/
root@laptop:~# ls -la /etc/hosts /mnt/temp/
-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/
/mnt/temp is a CIFS mount.
Description: Ubuntu 8.04.1
Release: 8.04
Linux version 2.6.24-19-generic (buildd@terranova) (gcc version 4.2.3 (Ubuntu 4.2.3-2ubuntu7)) #1 SMP Wed Aug 20 22:56:21 UTC 2008
Related branches
lp:~csurbhi/ubuntu/maverick/samba/samba-fix.276472
- Steve Langasek: Needs Information
- Ubuntu branches: Pending requested
-
Diff: 67 lines (+28/-1)5 files modified.pc/applied-patches (+1/-0)
debian/changelog (+8/-0)
debian/patches/error-trans.fix-276472 (+15/-0)
debian/patches/series (+1/-0)
source3/lib/errmap_unix.c (+3/-1)
Changed in linux: | |
milestone: | ubuntu-8.04.2 → ubuntu-8.04.3 |
Changed in linux (Ubuntu Hardy): | |
assignee: | nobody → Stefan Bader (stefan-bader-canonical) |
Changed in linux (Ubuntu Lucid): | |
assignee: | Stefan Bader (stefan-bader-canonical) → Surbhi Palande (csurbhi) |
Changed in linux (Ubuntu Lucid): | |
status: | Triaged → In Progress |
summary: |
- cp -p on CIFS mount does not preserve timestamp + cp -p on CIFS mount does not preserve permissions and returns a + permission denied error |
tags: | added: patch |
tags: | added: patch-forwarded-upstream |
Changed in samba (Ubuntu Hardy): | |
assignee: | Stefan Bader (stefan-bader-canonical) → nobody |
Changed in samba (Ubuntu Lucid): | |
assignee: | Surbhi Palande (csurbhi) → nobody |
To post a comment you must log in.
This seems to be a known bug: kerneltrap. org/mailarchive /git-commits- head/2008/ 3/23/1230954
http://