Samba permission problem

Samba permission problem

Shlomo Solomon shlomo.solomon at gmail.com
Sun Nov 4 02:14:03 IST 2012


It's not a lock problem (see further details below) and the other
machine is also Linux.

Just to be a bit clearer, if I open Kwrite on the other (Linux) machine,
write some text and "save as" to the shared partition, the file is
created. If I now make a change to the file and try to save, I get an
error message saying I don't have permission (sorry, I don't remember
the exact message and am not at the other machine right now).

On Sun, 4 Nov 2012 01:19:58 +0200
shimi <linux-il at shimi.net> wrote:

> 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



-- 
Shlomo Solomon
http://the-solomons.net
Sent by Claws Mail 3.7.9 - KDE 4.6.5 - LINUX Mandriva 2011.0




More information about the Linux-il mailing list