diff options
author | David Kalnischkies <kalnischkies@gmail.com> | 2013-07-13 23:05:55 +0200 |
---|---|---|
committer | David Kalnischkies <kalnischkies@gmail.com> | 2013-08-12 18:01:37 +0200 |
commit | 11b126f9d229c85bfc7a6092527af46f7314f188 (patch) | |
tree | 663e959951f81f800441df048e73808d74399984 /po/tr.po | |
parent | 7a2690a3bf59244fff417ab494f68fd9301b74d9 (diff) |
do not try to chown if not run as root
If this code is run as non-root we are in a special situation (e.g. in
our testcases) where it is obvious that we can't enforce user/group on
any file, so skip this code altogether instead of bugging users with
an error message – which we also switch to a warning as a failure to
open the file is "just" a warning, so the 'wrong' owner shouldn't be
that much of an issue.
The file is still handled with chmod, so all the security we can enforce
is still enforced of course, which also gets a warning if it fails.
Git-Dch: Ignore
Diffstat (limited to 'po/tr.po')
0 files changed, 0 insertions, 0 deletions