Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Extended unix socket syntax is currently undocumented #99

Open
minusdavid opened this issue May 31, 2023 · 1 comment
Open

Extended unix socket syntax is currently undocumented #99

minusdavid opened this issue May 31, 2023 · 1 comment

Comments

@minusdavid
Copy link

While looking into why the Zebra unix socket defaults to 0666, I noticed that the following syntax is supported since 2003:

unix:[user=uid,][group=gid,][umask=mask,]file=path

I first noticed it in the YAZ news, then found it in the code, and then got it working in Zebra 2.2.3.

https://github.com/indexdata/yaz/blob/master/NEWS#LL3562C2-L3562C52

https://github.com/indexdata/yaz/blob/master/src/unix.c#L435

I was thinking that https://software.indexdata.com/yaz/doc/server.vhosts.html might be a good place for the syntax to be documented?

@minusdavid
Copy link
Author

It looks like the source for that might be at https://github.com/indexdata/yaz/blob/master/doc/gfs-virtual.xml ?

I don't know the yaz project well enough to try and generate the docs, but I wouldn't be opposed to sending a pull request 😅

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

1 participant