<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Nov 1, 2017 at 4:27 PM, Martin Měřinský <span dir="ltr"><<a href="mailto:mermar@centrum.cz" target="_blank">mermar@centrum.cz</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">On Tue, 2017-10-31 at 18:21 +0100, Robert C. Helling wrote:<br>
> Hi,<br>
><br>
> > Am 31.10.2017 um 12:51 schrieb Tomaz Canabrava <<a href="mailto:tcanabrava@kde.org">tcanabrava@kde.org</a>><br>
> > :<br>
> ><br>
> ><br>
> > perhaps we should remove that, period.<br>
><br>
> A while ago, we had problems with people who at some point ran<br>
> subsurface as root and the touched all kinds of files which meant<br>
> later it did no longer run under the normal user. So I added the test<br>
> and, since I didn’t want to for it users to shoot in their foot if<br>
> they insisted on that introduced this command line option. So from<br>
> that perspective it could simply go.<br>
><br>
> The only reason I see for running with root privileges is checking if<br>
> some problem is really because of lacking permissions. But still<br>
> that’s not a good excuse.<br>
<br>
</span>Thank you for your reply.<br>
<br>
I don't see what is undocumented feature good for. From my point of<br>
view, it would be better to remove such feature, disable to run<br>
Subsurface as root and fix error messages.<br>
<br>
On the other hand, I personally don't like software preventing user<br>
from doing something he wants, if there is no technical reason to.<br>
Running Subsurface as root under Wayland can be fixed (using polkig?).<br>
And the necessity to use --allow_run_as_root option is very good and<br>
very discouraging ;-) Document such feature with warning should be good<br>
enough.<br>
<br></blockquote><div><br></div><div>A lot of users don't know what they are doing, they are basically following internet recipes and running sudo $rand</div><div>its important to prevent users shooting at their own foot.</div><div><br></div><div> <br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Another option would be enabling this feature compile-time. I do not<br>
prefer this solution.<br>
<span class="HOEnZb"><font color="#888888"><br>
M.<br>
</font></span><div class="HOEnZb"><div class="h5">______________________________<wbr>_________________<br>
subsurface mailing list<br>
<a href="mailto:subsurface@subsurface-divelog.org">subsurface@subsurface-divelog.<wbr>org</a><br>
<a href="http://lists.subsurface-divelog.org/cgi-bin/mailman/listinfo/subsurface" rel="noreferrer" target="_blank">http://lists.subsurface-<wbr>divelog.org/cgi-bin/mailman/<wbr>listinfo/subsurface</a><br>
</div></div></blockquote></div><br></div></div>