[Samba] Howto determine flags like readonly and readwrite.

Stef Bon stef at bononline.nl
Sun Feb 7 10:03:51 MST 2010


On Sunday 07 February 2010 15:37:42 Volker Lendecke wrote:
> On Fri, Feb 05, 2010 at 03:54:31PM +0100, Stef Bon wrote:
> > My question is now, how can I determine the flags in human readable form,
> > just like smbstatus.
> > The pid of the application (here openoffice writer) is
> > known, as well as the file/path to it.
> > I know where to look for info, /proc/<pidnr>/fdinfo/flags,
> > but this gives a (hex?) number. Is this
> > the lock I'm looking for, and how can I translate it into
> > terms like readonly, readwrite and exclusive.
> 
> You're on the same box as the smbd is, or on a different
> one?
> 

Different, I would say of course.
My construction is al about making connections from a workstation to a remote 
server.

Stef
> Volker


More information about the samba mailing list