[Samba] Howto determine flags like readonly and readwrite.

Volker Lendecke Volker.Lendecke at SerNet.DE
Sun Feb 7 07:37:42 MST 2010

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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: Digital signature
URL: <http://lists.samba.org/pipermail/samba/attachments/20100207/ac22ac96/attachment.pgp>

More information about the samba mailing list