Re: FHS compliance and UNIX sockets
>>>>> "Oliver" == Oliver Elphick <olly@lfix.co.uk> writes:
>> From the FHS: (v2.1, same section) Note: programs that run as
>> non-root users may be unable to create fil es under /var/run
>> and therefore need a subdirectory owned by the appropriate
>> user.
Oliver> So the package should provide /var/run/<package> for them
Oliver> to use?
Depends on how you interpret: "...owned by the appropriate user".
Now what on earth does that mean? The user who needs to create the
file/socket?
Using /var/run/<package> would be a serious limitation unless you made it
drwxrwxrwt (or used setUID/setGID stuff), because multiple users can use
these programs at the same time.
--
Brian May <bam@debian.org>
Reply to: