[Libreoffice] Unix permissions in scp2/inc/macros.inc

Tomáš Chvátal scarabeus at gentoo.org
Fri Jul 29 12:04:56 PDT 2011


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi,
I was looking onto installed files by the libreoffice default install
method and noticed that they are not world writable.

This is caused by definition in bootstrap/scp2/inc/macros.inc around
line 94 where it says:

#define BIN_FILE_BODY \
        UnixRights   = 555

#define TXT_FILE_BODY \
        UnixRights   = 444

It would make much more sense to install files with perms for the owner
to write into them I would say so straight forward change to 755 and 644
is what I am thinking about.

The problem might be for installations where owner is not root and that
owner might want to manage the installation (things like Gentoo prefix).

I would say that write protection for owner is usually required only on
files where it is really really really important they are not altered
directly by user, stuff like /etc/sudoers and similar stuff.

Cheers

Tomas

PS: I am not on the list so CC me :)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.17 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk4zBFgACgkQHB6c3gNBRYelFgCggp5lTHxfMMbA4txlDZyYBC0M
HloAn2ouTwsUMH/xG7a23lor+aoiLiTE
=PbLo
-----END PGP SIGNATURE-----


More information about the LibreOffice mailing list