On 2014-06-10, Alexander Hall <[email protected]> wrote:
> On June 10, 2014 6:24:17 AM CEST, Miod Vallat <[email protected]> wrote:
>>> http://www.openbsd.org/anoncvs.html  shows the 'cvs update' command
>>being
>>> run by root ("#" shell prompt), and I wouldn't expect any non-root
>>user
>>> to have write permission to /usr/src anyway.  So... why is doing the
>>> cvs-update as root a bad idea?
>>
>>Is this a kind of bad joke? Running anything as root unless it
>>absolutely requires root privileges is a bad idea. Put yourself in the
>>wsrc group, and you'll be able to write into /usr/src.
>>
>>Miod
>
> Indeed, however I agree that '#' suggests that the command is to be run as 
> root, and could be confusing.

Agreed, but this needs more work than just s/#/$/, as the suggested
method to extract src.tar.gz etc don't leave the files with suitable
ownership/perms.
 
Diffs (to www/build/mirros/anoncvs.html.head please) are welcome :)

Reply via email to