doc.tbz2 tarball content in 4.1.0 has wrong permission

8 views
Skip to first unread message

François Bissey

unread,
Nov 17, 2016, 5:34:34 PM11/17/16
to libsingular-devel
Hi,

I am just packaging 4.1.0 for Gentoo and it is very nice
not have the separate "share" tarball anymore.
However the current install process for the content of that tarball:
-cat ${top_srcdir}/doc/doc.tbz2| (cd
$(DESTDIR)$(datadir)/singular; tar jxf -)
-mkdir $(DESTDIR)$(datadir)/info
-mv $(DESTDIR)$(datadir)/singular/singular.hlp
$(DESTDIR)$(datadir)/info/.

means that the permission of the tarred content is preserved.
And currently it is 640 for files 651 for the html folder
itself. Concretely that means that when singular is installed
by root, normal users cannot read singular.hlp or the html
pages.

Good permissions would be 644 (rw-r--r--) and 655 (rwxr-xr-x).

Francois

Dr. David Kirkby

unread,
Nov 17, 2016, 6:24:36 PM11/17/16
to libsingu...@googlegroups.com


-------- Original message --------
From: François Bissey
Date:17/11/2016 10:34 PM (GMT+00:00)
To: libsingular-devel
Subject: [libsingular-devel] doc.tbz2 tarball content in 4.1.0 has wrong permission .

> Good permissions would be 644 (rw-r--r--) and 655 (rwxr-xr-x).

>Francois

You mean 644 and 755.

Dave.


Francois Bissey

unread,
Nov 17, 2016, 7:14:12 PM11/17/16
to libsingu...@googlegroups.com

> On 18/11/2016, at 12:24, Dr. David Kirkby <drki...@gmail.com> wrote:
>
> You mean 644 and 755.
>

Indeed! Thanks for the correction.

François

han...@mathematik.uni-kl.de

unread,
Nov 18, 2016, 5:37:06 AM11/18/16
to libsingu...@googlegroups.com
On Fri, Nov 18, 2016 at 11:34:29AM +1300, François Bissey wrote:
...
> means that the permission of the tarred content is preserved.
> And currently it is 640 for files 651 for the html folder
> itself. Concretely that means that when singular is installed
> by root, normal users cannot read singular.hlp or the html
> pages.
The permisssion in doc.tbz2 will be 644 resp. 755 in the next release,
thank you.

Hans
Reply all
Reply to author
Forward
0 new messages