[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Lynx-dev] Lynx Version 2.8.8pre.5 should copy files in share/lynx_d

From: Thomas Dickey
Subject: Re: [Lynx-dev] Lynx Version 2.8.8pre.5 should copy files in share/lynx_doc/ with correct owners/permissions
Date: Sun, 16 Mar 2014 11:19:36 -0400
User-agent: Mutt/1.5.20 (2009-06-14)

On Sun, Mar 16, 2014 at 08:11:31AM +0800, Rajeev V. Pillai wrote:
> On Saturday, March 15, 2014 10:48 PM, Thomas Dickey <address@hidden> wrote:
> > I see.? I had tested this by setting umask in the build process,
> > but using a pristine tarball (which would have correct permissions).
> > I did that for both dpkg and rpm...
> The source tarball does have the correct file permissions, but, when
> extracting files, GNU tar will consider the user's current umask value
> when setting a file's permissions instead of using only the mode-bits
> in the tarball.

I did say "pristine": packagers as a rule work directly from the tarball,
and the packaging systems generally (I don't know of exceptions) don't
alter the permissions.

(by the way, lynx's use of tar in this way for installing documentation
dates back to 

1998-09-12 (2.8.1dev.26)
* split out install-doc rule in top-level makefile to install extra
  documentation files in $(libdir)/lynx_doc (request by HN) - TD

> Speaking of tarballs, lynx2.8.8rel.2.tar has a couple of extraneous
> files:
> -rw-r--r-- dickey/lynx?????? 0 2014-03-10 03:13 lynx2-8-8/test/nobody
> -rw-r--r-- dickey/lynx?????? 0 2014-03-10 03:13 lynx2-8-8/test/X

those are intentional:

2014-03-09 (2.8.8rel.2)
* correct errata in test-files which cause broken links in break-out directory
  in server -TD
> > > and add a couple of additional commands in there--something along the 
> > > lines of:
> > > 
> > > find $(DOCDIR) -type d -print0 | xargs -0 chmod 755
> > > find $(DOCDIR) -type f -print0 | xargs -0 chmod 644>
> > something like (but not exactly: the example given isn't portable)
> I presume `find $(DOCDIR) -type d -exec chmod 755 {} \;' is more
> POSIX compliant?


Thomas E. Dickey <address@hidden>

Attachment: signature.asc
Description: Digital signature

reply via email to

[Prev in Thread] Current Thread [Next in Thread]