Samba permission problem

Samba permission problem

shimi linux-il at shimi.net
Sun Nov 4 01:19:58 IST 2012


On Sun, Nov 4, 2012 at 1:06 AM, Shlomo Solomon <shlomo.solomon at gmail.com>wrote:

> I have a partition on my computer defined as a share on Samba. A user
> on another machine can read and create files. Files are created as
> rw-r--r-- as intended. But even though the user can create a file, the
> new file can't be saved after editing/changing it.
>
>
By the user?

Maybe it's a locking issue. Did you try on very simple programs, such as
Notepad, that does not use lockfiles?


> I've looked at all the Samba parameters I could think of but can't find
> anything.
>
>
If you're looking at locks, you should check the oplocks parameters...

See: http://oreilly.com/catalog/samba/chapter/book/ch05_05.html


> BTW - I always thought that "w" allows creating and also updating
> existing files. What am I missing here?
>
>
In Linux you're (AFAIK) right, but there's another OS here, that may not be
working the same way you think :)

I am assuming you already increased verbosity levels and tried to check the
samba logs for the specific client, to see any errors there?

-- Shimi
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.cs.huji.ac.il/pipermail/linux-il/attachments/20121104/2c6ae39a/attachment.html>


More information about the Linux-il mailing list