On 2016-04-08 12:59, Achim Gratz wrote:
Houder <houder <at> xs4all.nl> writes:
MY APOLOGIES FOR WASTING YOUR TIME! I meant 444 (r--r--r--). Sigh.

Try if the following patch fixes your problem:

--- /bin/rebaselst
+++ #<buffer rebaselst>
@@ -97,6 +97,7 @@
     echo "creating empty $1"
     touch -t 7001010000  "$1"
   fi
+  chmod 644 "$1"
 }

 _tr () {

No ... it did not.

However, this modification did.

--- a/rebaselst.orig
+++ b/rebaselst
@@ -93,9 +93,14 @@ check_file () {
     echo "removing $1"
     rm -f $1
   fi
+  if [ "$2" = "no" -a  -e $1 ] ; then
+    echo "chmod 644 $1"
+    chmod 644 "$1"
+  fi
   if [ ! -e "$1" ] ; then
     echo "creating empty $1"
     touch -t 7001010000  "$1"
+    chmod 644 "$1"
   fi
 }

See attached file ...

Regards,
Henri

P.S. I did not examine /bin/rebaselst in detail ...

=====
2016/04/08 12:43:44 Starting cygwin install, version 2.874
2016/04/08 12:43:44 User has NO backup/restore rights
2016/04/08 12:43:44 Current Directory: e:/Setup/_test_repository
2016/04/08 12:43:44 Could not open Service control manager
2016/04/08 12:43:50 source: from local dir
2016/04/08 12:43:52 root: e:\Setup\test user
2016/04/08 12:43:53 Selected local directory: e:/Setup/_test_repository
Found ini file - 
e:/Setup/_test_repository/http%3a%2f%2fftp.snt.utwente.nl%2fpub%2fsoftware%2fcygwin%2f/x86/setup.ini
2016/04/08 12:43:53 PACKAGEDB::packagedb
2016/04/08 12:43:53 cygwin 0060bcc0 0060bcc0 0060bcc0 0121fc60
2016/04/08 12:43:53 cygwin    2.5.0-0.13
2016/04/08 12:43:53 PACKAGEDB::packagedb
2016/04/08 12:43:53 tar 0060bcc0 0060bcc0 0060bcc0 01258088
2016/04/08 12:43:53 tar    1.28-1
2016/04/08 12:43:53 PACKAGEDB::packagedb
2016/04/08 12:43:53 vim-minimal 0060bcc0 0060bcc0 0060bcc0 0125c4a8
2016/04/08 12:43:53 vim-minimal    7.4.1558-1
2016/04/08 12:43:53 INIDBBUILDERPACKAGE::buildPackage
2016/04/08 12:43:53 a2ps 0060bcc0 0060bcc0 0060bcc0 0060bcc0
2016/04/08 12:43:53 a2ps    
2016/04/08 12:43:53 buildPackageVersion, before add_correct_version ... 01264ce8
2016/04/08 12:43:53 buildPackageVersion, after  add_correct_version ... 01264ce8
2016/04/08 12:43:53 buildPackageInstall: a2ps .... 
x86/release/a2ps/a2ps-4.14-3.tar.xz
2016/04/08 12:43:53 buildPackageVersion, before add_correct_version ... 01266ef8
2016/04/08 12:43:53 buildPackageVersion, after  add_correct_version ... 01266ef8
2016/04/08 12:43:53 buildPackageInstall: a2ps .... 
x86/release/a2ps/a2ps-4.14-2.tar.bz2
2016/04/08 12:43:53 INIDBBUILDERPACKAGE::buildPackage
2016/04/08 12:43:53 cygwin 0060bcc0 0060bcc0 0060bcc0 0121fc60
2016/04/08 12:43:53 cygwin    2.5.0-0.13
2016/04/08 12:43:53 buildPackageVersion, before add_correct_version ... 04ca52f0
2016/04/08 12:43:53 buildPackageVersion, after  add_correct_version ... 04ca52f0
2016/04/08 12:43:53 buildPackageInstall: cygwin .... 
x86/release/cygwin/cygwin-2.4.1-1.tar.xz
2016/04/08 12:43:53 buildPackageVersion, before add_correct_version ... 04ca7500
2016/04/08 12:43:53 buildPackageVersion, after  add_correct_version ... 04ca7500
2016/04/08 12:43:53 buildPackageInstall: cygwin .... 
x86/release/cygwin/cygwin-2.3.1-1.tar.xz
2016/04/08 12:43:53 buildPackageVersion, before add_correct_version ... 04ca9710
2016/04/08 12:43:53 buildPackageVersion, after  add_correct_version ... 0121fc60
2016/04/08 12:43:53 buildPackageInstall: cygwin .... 
x86/release/cygwin/cygwin-2.5.0-0.13.tar.xz
2016/04/08 12:43:53 INIDBBUILDERPACKAGE::buildPackage
2016/04/08 12:43:53 tar 0060bcc0 0060bcc0 0060bcc0 01258088
2016/04/08 12:43:53 tar    1.28-1
2016/04/08 12:43:53 buildPackageVersion, before add_correct_version ... 0c2d5478
2016/04/08 12:43:53 buildPackageVersion, after  add_correct_version ... 01258088
2016/04/08 12:43:53 buildPackageInstall: tar .... 
x86/release/tar/tar-1.28-1.tar.xz
2016/04/08 12:43:53 buildPackageVersion, before add_correct_version ... 0c2d6580
2016/04/08 12:43:53 buildPackageVersion, after  add_correct_version ... 0c2d6580
2016/04/08 12:43:53 buildPackageInstall: tar .... 
x86/release/tar/tar-1.27.1-1.tar.xz
2016/04/08 12:43:53 INIDBBUILDERPACKAGE::buildPackage
2016/04/08 12:43:53 vim-minimal 0060bcc0 0060bcc0 0060bcc0 0125c4a8
2016/04/08 12:43:53 vim-minimal    7.4.1558-1
2016/04/08 12:43:53 buildPackageVersion, before add_correct_version ... 0c8c1a78
2016/04/08 12:43:53 buildPackageVersion, after  add_correct_version ... 0125c4a8
2016/04/08 12:43:53 buildPackageInstall: vim-minimal .... 
x86/release/vim/vim-minimal/vim-minimal-7.4.1558-1.tar.xz
2016/04/08 12:43:53 buildPackageVersion, before add_correct_version ... 0c8c2b80
2016/04/08 12:43:53 buildPackageVersion, after  add_correct_version ... 0c8c2b80
2016/04/08 12:43:53 buildPackageInstall: vim-minimal .... 
x86/release/vim/vim-minimal/vim-minimal-7.4.1506-1.tar.xz
.ini setup_version is 2.873, our setup_version is 2.874
2016/04/08 12:43:53 PACKAGEMETA::ScanDownLoadedFiles
2016/04/08 12:43:53 Henri- a2ps -- versions:  4.14-2  4.14-3
2016/04/08 12:43:53 Henri- a2ps x 1 1 0 0  x p c t i
2016/04/08 12:43:53 01266ef8 01264ce8 0060bcc0 0060bcc0
2016/04/08 12:43:53 Henri- a2ps  p: 4.14-2 c: 4.14-3 t:  i: 
2016/04/08 12:43:53 packageversion::accessible: a2ps, available?: 0 ... Good 
Gracious!
2016/04/08 12:43:53 packageversion::accessible: a2ps, available?: 0 ... Good 
Gracious!
2016/04/08 12:43:53 a2ps 4.14-2 **
2016/04/08 12:43:53 ====> a2ps : pkg will be erased!
2016/04/08 12:43:53 packageversion::accessible: a2ps, available?: 0 ... Good 
Gracious!
2016/04/08 12:43:53 packageversion::accessible: a2ps, available?: 0 ... Good 
Gracious!
2016/04/08 12:43:53 a2ps 4.14-3 **
2016/04/08 12:43:53 ====> a2ps : pkg will be erased!
2016/04/08 12:43:53 PACKAGEMETA::ScanDownLoadedFiles (2)
2016/04/08 12:43:53 Henri- a2ps -- versions:
2016/04/08 12:43:53 Henri- a2ps x 1 1 0 0  x p c t i
2016/04/08 12:43:53 Henri- a2ps  p: 4.14-2 c: 4.14-3 t:  i: 
2016/04/08 12:43:53 PACKAGEMETA::ScanDownLoadedFiles
2016/04/08 12:43:53 Henri- cygwin -- versions:  2.3.1-1  2.4.1-1  2.5.0-0.13
2016/04/08 12:43:53 Henri- cygwin x 1 1 1 1  x p c t i
2016/04/08 12:43:53 04ca7500 04ca52f0 0121fc60 0121fc60
2016/04/08 12:43:53 Henri- cygwin  p: 2.3.1-1 c: 2.4.1-1 t: 2.5.0-0.13 i: 
2.5.0-0.13
2016/04/08 12:43:53 packageversion::accessible: cygwin, available?: 0 ... Good 
Gracious!
2016/04/08 12:43:53 packageversion::accessible: cygwin, available?: 0 ... Good 
Gracious!
2016/04/08 12:43:53 cygwin 2.3.1-1 *cygwin*
2016/04/08 12:43:53 ====> cygwin : pkg will be erased!
2016/04/08 12:43:53 packageversion::accessible: cygwin, available?: 0 ... Good 
Gracious!
2016/04/08 12:43:53 packageversion::accessible: cygwin, available?: 0 ... Good 
Gracious!
2016/04/08 12:43:53 cygwin 2.4.1-1 *cygwin*
2016/04/08 12:43:53 ====> cygwin : pkg will be erased!
2016/04/08 12:43:53 PACKAGEMETA::ScanDownLoadedFiles (2)
2016/04/08 12:43:53 Henri- cygwin -- versions:  2.5.0-0.13
2016/04/08 12:43:53 Henri- cygwin x 1 1 1 1  x p c t i
2016/04/08 12:43:53 Henri- cygwin  p: 2.3.1-1 c: 2.4.1-1 t: 2.5.0-0.13 i: 
2.5.0-0.13
2016/04/08 12:43:54 PACKAGEMETA::ScanDownLoadedFiles
2016/04/08 12:43:54 Henri- tar -- versions:  1.27.1-1  1.28-1
2016/04/08 12:43:54 Henri- tar x 1 1 0 1  x p c t i
2016/04/08 12:43:54 0c2d6580 01258088 0060bcc0 01258088
2016/04/08 12:43:54 Henri- tar  p: 1.27.1-1 c: 1.28-1 t:  i: 1.28-1
2016/04/08 12:43:54 packageversion::accessible: tar, available?: 0 ... Good 
Gracious!
2016/04/08 12:43:54 packageversion::accessible: tar, available?: 0 ... Good 
Gracious!
2016/04/08 12:43:54 tar 1.27.1-1 *tar*
2016/04/08 12:43:54 ====> tar : pkg will be erased!
2016/04/08 12:43:54 PACKAGEMETA::ScanDownLoadedFiles (2)
2016/04/08 12:43:54 Henri- tar -- versions:  1.28-1
2016/04/08 12:43:54 Henri- tar x 1 1 0 1  x p c t i
2016/04/08 12:43:54 Henri- tar  p: 1.27.1-1 c: 1.28-1 t:  i: 1.28-1
2016/04/08 12:43:54 PACKAGEMETA::ScanDownLoadedFiles
2016/04/08 12:43:54 Henri- vim-minimal -- versions:  7.4.1506-1  7.4.1558-1
2016/04/08 12:43:54 Henri- vim-minimal x 1 1 0 1  x p c t i
2016/04/08 12:43:54 0c8c2b80 0125c4a8 0060bcc0 0125c4a8
2016/04/08 12:43:54 Henri- vim-minimal  p: 7.4.1506-1 c: 7.4.1558-1 t:  i: 
7.4.1558-1
2016/04/08 12:43:54 packageversion::accessible: vim-minimal, available?: 0 ... 
Good Gracious!
2016/04/08 12:43:54 packageversion::accessible: vim-minimal, available?: 0 ... 
Good Gracious!
2016/04/08 12:43:54 vim-minimal 7.4.1506-1 *vim-minimal*
2016/04/08 12:43:54 ====> vim-minimal : pkg will be erased!
2016/04/08 12:43:54 PACKAGEMETA::ScanDownLoadedFiles (2)
2016/04/08 12:43:54 Henri- vim-minimal -- versions:  7.4.1558-1
2016/04/08 12:43:54 Henri- vim-minimal x 1 1 0 1  x p c t i
2016/04/08 12:43:54 Henri- vim-minimal  p: 7.4.1506-1 c: 7.4.1558-1 t:  i: 
7.4.1558-1
2016/04/08 12:43:54 PACKAGEMETA::trustp
2016/04/08 12:43:54 Henri> cygwin   1  6 6 6  6
2016/04/08 12:43:54 Henri> cygwin 1 1 1 1 1  _d p c t i
2016/04/08 12:43:54 Henri> cygwin  p: 2.3.1-1 c: 2.4.1-1 t: 2.5.0-0.13 i: 
2.5.0-0.13
2016/04/08 12:43:54 packageversion::accessible: cygwin, available?: 1 ... Good 
Gracious!
2016/04/08 12:43:54 PACKAGEMETA::trustp
2016/04/08 12:43:54 Henri> tar   1  3 3 0  3
2016/04/08 12:43:54 Henri> tar 1 1 1 0 1  _d p c t i
2016/04/08 12:43:54 Henri> tar  p: 1.27.1-1 c: 1.28-1 t:  i: 1.28-1
2016/04/08 12:43:54 packageversion::accessible: tar, available?: 1 ... Good 
Gracious!
2016/04/08 12:43:54 PACKAGEMETA::trustp
2016/04/08 12:43:54 Henri> vim-minimal   1  11 11 0  11
2016/04/08 12:43:54 Henri> vim-minimal 1 1 1 0 1  _d p c t i
2016/04/08 12:43:54 Henri> vim-minimal  p: 7.4.1506-1 c: 7.4.1558-1 t:  i: 
7.4.1558-1
2016/04/08 12:43:54 packageversion::accessible: vim-minimal, available?: 0 ... 
Good Gracious!
Visited: 66 nodes out of 66 while creating dependency order.
Dependency order of packages: cygwin dash _autorebase libiconv2 libintl8 
alternatives base-cygwin libattr1 libgcc1 libgmp10 libstdc++6 terminfo 
libncursesw10 libreadline7 tzcode coreutils bash findutils sed base-files 
libbz2_1 bzip2 libffi6 libp11-kit0 libtasn1_6 p11-kit p11-kit-trust 
ca-certificates popt cygutils editrights zlib0 file libmpfr4 gawk libargp 
getent libpcre1 grep groff gzip hostname info ipc-utils less libuuid1 libblkid1 
libgdbm4 libiconv liblzma5 libopenssl100 libpipeline1 libsmartcols1 login lynx 
util-linux man-db mintty ncurses openssl rebase run xz tar vim-minimal which 
2016/04/08 12:44:00 running: e:\Setup\test\bin\dash.exe 
"/etc/postinstall/0p_000_autorebase.dash"
cat: '/var/lib/rebase/dynpath.d/*': No such file or directory
chmod 644 /var/cache/rebase/rebase_pkg
Updating package information in /var/cache/rebase/rebase_pkg.
chmod 644 /var/cache/rebase/rebase_lst
Updating rebase information for installed dynamic objects in 
/var/cache/rebase/rebase_lst.
chmod 644 /var/cache/rebase/rebase_lst
chmod 644 /var/cache/rebase/rebase_pkg
chmod 644 /var/cache/rebase/rebase_exe
Updating rebase information for installed executables in 
/var/cache/rebase/rebase_exe.
removing /var/cache/rebase/rebase_dyn
creating empty /var/cache/rebase/rebase_dyn
chmod 644 /var/cache/rebase/rebase_user
Updating rebase information for user-defined dynamic objects 
/var/cache/rebase/rebase_user.
chmod 644 /var/cache/rebase/rebase_user_exe
Updating rebase information for user-defined executables 
/var/cache/rebase/rebase_user_exe.
Rebasing with list /var/cache/rebase/rebase_all, built from 
/var/cache/rebase/rebase_lst /var/cache/rebase/rebase_dyn 
/var/cache/rebase/rebase_user.
2016/04/08 12:44:03 running: e:\Setup\test\bin\dash.exe 
"/etc/postinstall/0p_update-info-dir.dash"
2016/04/08 12:44:05 note: Nothing needed to be installed
2016/04/08 12:44:05 Ending cygwin install
--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

Reply via email to