what the unix file permissions like on the system A ?
Sledz, Steffen wrote:
We have this situation: System A (running openSUSE 11.0 with samba-3.2.3-0.1) exports user home shares (e.g. for user sledz). On system B (running openSUSE 11.0 with samba-3.2.3-0.1) user hydra mounts the home share from sledz at system A with this command: sudo mount -t cifs -o user=sledz,uid=hydra //A/sledz localdir A subdir of this directory seen from A looks like this: [EMAIL PROTECTED]> ls -laF . total 12 drwxr-xr-x 3 sledz domain users 4096 2008-09-02 10:33 ./ drwxr-xr-x 3 sledz domain users 4096 2008-09-02 09:54 ../ drwxr-xr-x 2 sledz domain users 4096 2008-09-02 09:52 foo/ [EMAIL PROTECTED]> ls -laF foo total 16 drwxr-xr-x 2 sledz domain users 4096 2008-09-02 09:52 ./ drwxr-xr-x 3 sledz domain users 4096 2008-09-02 10:33 ../ -rw-r--r-- 1 sledz domain users 3 2008-09-02 09:52 23.txt -rw-r--r-- 1 sledz domain users 3 2008-09-02 09:52 42.txt The same dir seen from B looks like this: [EMAIL PROTECTED]> ls -laF . total 0 drwxr-xr-x 3 hydra domain users 0 2008-09-02 10:33 ./ drwxr-xr-x 3 hydra domain users 0 2008-09-02 09:54 ../ drwxr-xr-x 2 hydra domain users 0 2008-09-02 09:52 foo/ [EMAIL PROTECTED]> 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 10:33 ../ -rw-r--r-- 1 hydra domain users 3 2008-09-02 09:52 23.txt -rw-r--r-- 1 hydra domain users 3 2008-09-02 09:52 42.txt When I try to copy the subdir foo on B a error occurs: [EMAIL PROTECTED]> 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 The access rights of bar look like this: [EMAIL PROTECTED]> ls -laF bar total 0 drwxr-xr-x 2 hydra domain users 0 2008-09-02 10:38 ./ drwxr-xr-x 4 hydra domain users 0 2008-09-02 10:38 ../ If I try to copy the files now everything is fine: [EMAIL PROTECTED]:~/ssz/bla/tmp> cp -v foo/* bar/ `foo/23.txt' -> `bar/23.txt' `foo/42.txt' -> `bar/42.txt' So what's the cause for the "Permission denied" error above? :(
-- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba