[Expired for linux (Ubuntu) because there has been no activity for 60 days.]
** Changed in: linux (Ubuntu) Status: Incomplete => Expired -- You received this bug notification because you are a member of Kernel Packages, which is subscribed to linux in Ubuntu. https://bugs.launchpad.net/bugs/816663 Title: Failure to set permissions on Samba share via CIFS Status in “linux” package in Ubuntu: Expired Bug description: This bug is a clone of the automatically closed bug 496840. Please see that bug for attachments, discussion, and comments. 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: root@boris:/mnt# mount -t cifs //arctic/holding /mnt/testo -o credentials=/root/arctic.cifs.key,domain=Island,iocharset=utf8 root@boris:/mnt# mkdir ~/z root@boris:/mnt# mv ~/z testo/ mv: failed to preserve ownership for `testo/z': Permission denied mv: preserving permissions for `testo/z': Permission denied root@boris:/mnt# ls -ld testo/z drwx--S--- 2 clouserw root 0 2009-12-14 21:38 testo/z root@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 --- AlsaVersion: Advanced Linux Sound Architecture Driver Version 1.0.23. Architecture: i386 AudioDevicesInUse: USER PID ACCESS COMMAND /dev/snd/controlC0: clouserw 8056 F.... pulseaudio /dev/snd/pcmC0D0p: clouserw 8056 F...m pulseaudio CRDA: Error: [Errno 2] No such file or directory Card0.Amixer.info: Card hw:0 'Intel'/'HDA Intel at 0xf7ef8000 irq 76' Mixer name : 'Realtek ALC889' Components : 'HDA:10ec0889,104383c0,00100004' Controls : 36 Simple ctrls : 21 DistroRelease: Ubuntu 11.04 HibernationDevice: RESUME=UUID=3a59d229-0bb7-4288-98ed-ef3c94c1e55f InstallationMedia: Ubuntu 10.04 LTS "Lucid Lynx" - Release i386 (20100429) IwConfig: lo no wireless extensions. eth0 no wireless extensions. tun0 no wireless extensions. MachineType: System manufacturer System Product Name NonfreeKernelModules: nvidia Package: linux (not installed) ProcEnviron: LANGUAGE=en_US:en PATH=(custom, user) LANG=en_US.UTF-8 SHELL=/bin/bash ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-2.6.38-8-generic-pae root=UUID=26f5a6cf-f3e6-4c15-9c7e-9aced79daa84 ro quiet splash vt.handoff=7 ProcVersionSignature: Ubuntu 2.6.38-8.42-generic-pae 2.6.38.2 RelatedPackageVersions: linux-restricted-modules-2.6.38-8-generic-pae N/A linux-backports-modules-2.6.38-8-generic-pae N/A linux-firmware 1.52 RfKill: Tags: natty Uname: Linux 2.6.38-8-generic-pae i686 UpgradeStatus: Upgraded to natty on 2011-05-01 (86 days ago) UserGroups: adm admin cdrom dialout lpadmin plugdev sambashare dmi.bios.date: 03/23/2010 dmi.bios.vendor: American Megatrends Inc. dmi.bios.version: 0108 dmi.board.asset.tag: To Be Filled By O.E.M. dmi.board.name: P6X58D-E dmi.board.vendor: ASUSTeK Computer INC. dmi.board.version: Rev 1.xx dmi.chassis.asset.tag: Asset-1234567890 dmi.chassis.type: 3 dmi.chassis.vendor: Chassis Manufacture dmi.chassis.version: Chassis Version dmi.modalias: dmi:bvnAmericanMegatrendsInc.:bvr0108:bd03/23/2010:svnSystemmanufacturer:pnSystemProductName:pvrSystemVersion:rvnASUSTeKComputerINC.:rnP6X58D-E:rvrRev1.xx:cvnChassisManufacture:ct3:cvrChassisVersion: dmi.product.name: System Product Name dmi.product.version: System Version dmi.sys.vendor: System manufacturer To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/816663/+subscriptions -- Mailing list: https://launchpad.net/~kernel-packages Post to : kernel-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~kernel-packages More help : https://help.launchpad.net/ListHelp