← Back to team overview

kernel-packages team mailing list archive

[Bug 496840] Re: Failure to set permissions on Samba share via CIFS

 

*** This bug is a duplicate of bug 816663 ***
    https://bugs.launchpad.net/bugs/816663

** This bug has been marked a duplicate of bug 816663
   Failure to set permissions on Samba share via CIFS

-- 
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/496840

Title:
  Failure to set permissions on Samba share via CIFS

Status in “linux” package in Ubuntu:
  Won't Fix

Bug description:
  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

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/496840/+subscriptions