Points why NodeBB is where it is::
- Main admin/inventor @julian is simply clueless as to what to do next,
- NodeBB has stupid CLA.
- JavaScript,
- some stupid DB chosen - why not mysql?
And muchb more....
Points why NodeBB is where it is::
And muchb more....
@bri said in ./nodebb setup Permission denied:
@julian Honestly, I wouldn't
chmod
, just delete and reinstall (or move) in a more appropriate location, and then adjust permissions (if still necessary).@Wojciech-Lisik You shouldn't install programs in
/usr/
, but rather something more like/usr/local/opt/
or, ideally, some subdirectory under your user's home directory (for development). If you're setting up a production server, you'd want to create some directory structure under/etc/
owned by a special, non-root user with the least privilege possible. Most of my setups follow the paradigm of storing server files hosted by NGINX under/usr/share/nginx/
and setting rwx privileges to the special user I set up only in that folder.You should never have to use
sudo
or the root login to install nodebb (or any other web software, for that matter), and doing so can be a huge security risk.Here's a neat Superuser answer that outlines what the intended usage of each folder in a *nix machine is for.
Nice write but really dont even try to teach me how things should be done in IT. I have setup 1k+ servers in my career and I really have indepth knowledge of how public-facing server should be architectured.
@julian @PitaJ and other wise-heads :: how installer is supposed to write sth to folder which access to is limited by permissions? The only way is to use sudo
and change ownership of installed file/s aftewards.
JS sucks
JS is commonly used by crackers so its not trustworthy language.
@pitaj if thats the case, than how on Earth installer is going to modify system files?