[email protected]
[Top] [All Lists]

Re: [Samba] Howto determine flags like readonly and readwrite.

Subject: Re: [Samba] Howto determine flags like readonly and readwrite.
From: Volker Lendecke
Date: Sun, 7 Feb 2010 23:19:15 +0100
On Sun, Feb 07, 2010 at 06:03:51PM +0100, Stef Bon wrote:
> 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.

Ok, then I did not fully understand what you want to
achieve. You quote smbstatus which is only available
locally where smbd is running. What kind of information do
you want to present where?

To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba

<Prev in Thread] Current Thread [Next in Thread>