Re: Not a valid PKT

[email protected] (Al)
Newsgroups alt.bbs.mystic
Organization Agency HUB, Dunedin - New Zealand
Message-ID <[email protected]>
> Finally, I recursively changed the owner of the Mystic directory and files to
> root leaving the sysop group unchanged.  This worked, no errors.  I now am
> trying to determine what the correct permission settings for the directories
> and folders should be so that I can run Mystic as the sysop user as the owner
< and group so that root is not exposed.  Is there a way to give the sysop user
> permissions to the ethernet ports so Mystic can use the IP ports when
> running as the sysop user?

I use setcap here to give a server access to ports below 1024.

You need to be root (or use sudo) to run this command.

sudo setcap 'cap_net_bind_service=+ep'  /mystic/mis

You can then use getcap to check that mis has the permisions to open those 
ports. There is a write here on the synchronet wiki.

https://wiki.synchro.net/howto:linux_non-root

It talks about this and other methods.

If you happen to run mis or mutil as root you can end up with these kind of 
permissions issues so best not to do that. :)
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.