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
sippts: permissions / database / working directory #2336
Comments
Hi Noraj I've just update the scripts to create database file (and open connections) only if -db parameter is chosen. I don't know if there are other problems with permissions, for example when create TXT logs. On this case you can open another issue and I'll check it. Commit. Pepelux/sippts@128520e |
You're very welcome, we'll try that. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Bug description
Troubleshooting:
The script has no permission to do
cp sippts_empty.db sippts.db
in the protected folder/usr/share/sippts/
.But we can't do something has the following for
/usr/bin/sipscan
because the whole script is made to find the db in the working directory.So with this kind of wrapper it ends with
Even if using
-nodb
the script will still look for the db in the first place.The only way (without making upstream changes or without using root privilegies) is to copy an empty db in the working directory
cp /usr/share/sippts/sippts_empty.db sippts.db
.So it is rather unhandy. Have we another way or do we need to call for an upstream fix?
The text was updated successfully, but these errors were encountered: