[Samba] Permission denied on mounted CIFS share

Sledz, Steffen sledz at DResearch.DE
Tue Sep 2 09:30:28 GMT 2008


> try giving the files 0755 perms

Hmmm? What's the intention for this? They had 0644 perms. Why should the x-bit change the behaviour?

Even though that's not clear for me I still tried it and got this.  :(

  hydra at B> ls -laF foo/
  total 8
  drwxr-xr-x 2 hydra domain users 0 2008-09-02 09:52 ./
  drwxr-xr-x 3 hydra domain users 0 2008-09-02 11:24 ../
  -rwxr-xr-x 1 hydra domain users 3 2008-09-02 09:52 23.txt*
  -rwxr-xr-x 1 hydra domain users 3 2008-09-02 09:52 42.txt*
  hydra at B> cp -rv foo bar
  `foo' -> `bar'
  `foo/23.txt' -> `bar/23.txt'
  cp: cannot create regular file `bar/23.txt': Permission denied
  `foo/42.txt' -> `bar/42.txt'
  cp: cannot create regular file `bar/42.txt': Permission denied


More information about the samba mailing list