[Libreoffice] permission 444/555 of installation files

Petr Mladek pmladek at suse.cz
Mon Jul 18 11:08:50 PDT 2011


Andreas Radke píše v Po 18. 07. 2011 v 18:26 +0200:
> For a long time now we see lots of files installed with permission 444
> and 555 in ArchLinux. We are not sure if this is caused by a bug in our
> chroot environment using fakeroot or due to the LibO installer. Because of
> the missing write permission our build tools fail to strip the symbols.
> So we apply this:
> 
>  #fix http://bugs.archlinux.org/task/17656
>  find ${pkgdir} -perm 444 -exec ls -lh {} \;
>  find ${pkgdir} -perm 444 -exec chmod 644 {} \;
>  find ${pkgdir} -perm 555 -exec ls -lh {} \;
>  find ${pkgdir} -perm 555 -exec chmod 755 {} \;

I was always curious about the too strict permissions. I havn't seen it
in other software.

The attached patch should change it. I am not sure if it is acceptable
for others, though.


Best Regards,
Petr

PS: If you want to test it, please, remove scp2/unxlng* and
rebuild/deliver it. Just for sure ;-)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: scp2-more-reasonable-file-access-rights.diff
Type: text/x-patch
Size: 374 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/libreoffice/attachments/20110718/1cc58b99/attachment.bin>


More information about the LibreOffice mailing list