Public bug reported:

This problem started immediately after upgrading to Ubuntu 8.10.
Bug #240588 may be related to this, but it doesn't give many details.

On a mounted cifs filesystem, some operations that should succeed, fail with 
the ENOTDIR
error.  Example:

  $ cd /shares/public
  $  touch example
  touch: setting times of `example': Not a directory
  $ ls -la example
  -rwxrw---- 1 eric root 0 Jan 21 13:27 example
  $ echo "test" >> example
  $ ls -la example
  -rwwrw---- 1 eric root 5 Jan 21 13:27 example
  $ echo "test" > example
  -bash: example: Not a directory
  $ chmod 600 example     
  chmod: changing permissions of `example': Not a directory

By strace-ing the commadns above, I gather that  the operations that fail 
include at least:
  chmod
  utimes
  chown
  open with the O_TRUNC bit set

here is the /shares/public's entry in /etc/fstab:
  //underdog/public  /shares/public cifs 
defaults,nodev,uid=eric,file_mode=0644,dir_mode=0755,credentials=/etc/smbserver.public

The client is running Ubuntu 8.10, with all current updates applied.
The server is running Ubuntu 7.04 with the 3.0.24-2ubuntu1.6 package.

** Affects: ubuntu
     Importance: Undecided
         Status: New

-- 
ENOTDIR error on cifs-mounted shares
https://bugs.launchpad.net/bugs/319815
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to