App.yml visible worldwide?

Did my half-yearly upgrade (which went smooth for once, just the usual clearing old containers because of disc space)…
But at the beginning I saw some message about app.yml being far too visible (app.yml visible worldwide) and a command to fix it with.
Of course upgrading is long enough to scroll that message past any buffers and google is your friend (or the search here) isn’t helpful this time. Trying to guess which log file the info might be in… uhum.

Pretty certain someone here says tada in about two seconds though but in the end I just run the thing again to see the message even if the forum is down for another few minutes. So for reference:

chmod o-rwx containers/app.yml

And as an improvement I really would love to see in *nix logging… any processing that takes several pages should always END with a message saying (the operation performed was logged into xxxx.log).

This seems to be the answer:

Though I’ve not acted on the advice.

This is one of the first things I asked about when I started with Discourse:

2 Likes

“world readable” is a Unix term which means that all users on your system can access the file. It does not mean “worldwide” as in “everyone on the planet”.

In most Discourse installations, there is only one user (you) so this does not really matter.

@gabenp maybe it’s a good idea to use a less technical term here. It causes a bit of panic every now and then.

6 Likes

Ah, so long since I did *nix only I tend to forget things. Much more worried about what my web servers shine through by mistake… there I would not like to see the term worldwide :slight_smile: .

1 Like