Public bug reported: Binary package hint: samba
I'm trying to use a samba share via CIFS and am encountering problems when trying to copy or move files onto the share. If I create a file directly on the share it works as expected (using my umask for permissions) but copying or moving result in errors. To reproduce: r...@boris:/mnt# mount -t cifs //arctic/holding /mnt/testo -o credentials=/root/arctic.cifs.key,domain=Island,iocharset=utf8 r...@boris:/mnt# mkdir ~/z r...@boris:/mnt# mv ~/z testo/ mv: failed to preserve ownership for `testo/z': Permission denied mv: preserving permissions for `testo/z': Permission denied r...@boris:/mnt# ls -ld testo/z drwx--S--- 2 clouserw root 0 2009-12-14 21:38 testo/z r...@boris:/mnt# umask 0022 This looks _a lot_ like (and might be a duplicate/dependent on) debian bug 532153 ("cifs reports EACCES instead of EOPNOTSUPP for acls" http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=532153). It looks like that bug is still open though and I'm not sure what the progress is or if there is a workaround in the mean time. Neither my server or client have ACLs on their filesystem. One maybe relevent note is that mounting the same share from OS X and moving files onto it works as expected with permissions being preserved. OS X has a concept of ACLs on by default. I'm attaching an strace. ProblemType: Bug Architecture: i386 Date: Mon Dec 14 21:44:52 2009 DistroRelease: Ubuntu 9.10 NonfreeKernelModules: nvidia Package: smbfs 2:3.4.0-3ubuntu5.1 ProcEnviron: LANGUAGE=en_US.UTF-8 PATH=(custom, user) LANG=en_US.UTF-8 SHELL=/bin/bash ProcVersionSignature: Ubuntu 2.6.31-14.48-generic SourcePackage: samba Uname: Linux 2.6.31-14-generic i686 ** Affects: samba (Ubuntu) Importance: Undecided Status: New ** Tags: apport-bug i386 -- Failure to set permissions on Samba share via CIFS https://bugs.launchpad.net/bugs/496840 You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to samba in ubuntu. -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs