public inbox for cygwin-apps@cygwin.com
 help / color / mirror / Atom feed
* New Setup 2.608 for Cygwin 1.7 on cygwin.com
@ 2008-08-20 11:26 Corinna Vinschen
  2008-08-20 11:36 ` Corinna Vinschen
  2008-08-20 13:30 ` New Setup 2.609 " Corinna Vinschen
  0 siblings, 2 replies; 3+ messages in thread
From: Corinna Vinschen @ 2008-08-20 11:26 UTC (permalink / raw)
  To: cygwin-apps

Hi,

I just uploaded yet another new setup-1.7.exe to install Cygwin 1.7.

You can find it here:  http://cygwin.com/setup-1.7.exe 

The version number is 2.608.
The SHA1 checksum is 796fece9c911a88228134db25b23e40413c9ebbf

New features:

- Does not change the default primary group to Admins or Users, rather
  sticks to the primary group of the current user.  The problem with
  changing the primary group like this is that the later postinstall
  calls to mkpasswd -l -c and mkgroup -l -c get hopelessly confused
  and potentially create no entry for the actual primary group of the
  user running setup, and it potentially creates an incorrect gid in
  the user's passwd entry, at least if the user is a domain user.
  This is not mkpasswd/mkgroup's fault, it's just the way the -c
  options are designed and setup really screws that up.

- Enables backup and restore rights if the user's token contains them,
  as well as opens and creates all files with backup intent.  This allows
  administrative users to override too tight permissions on installed
  files.

- All default directories are now created with useful POSIX-like
  permissions.  /tmp, /usr/tmp and /var/tmp are created with 01777
  permissions, all other dirs with 0755 permissions. 
  
- All files and directories extracted from the distro tar archives
  are now created with POSIX permissions as stored in the archives.

  I tested this change on XP SP3 as well as on Vista x64 SP1 with
  UAC switched on and it worked fine for me.  YMMV, unfortunately...

  I tried to do the permission setting as fast as possible, but this
  might slow down the installation process somewhat.  I didn't measure,
  but I think the advantage of having real POSIX permissions from the
  start is worth the tradeoff.

Features already in 2.606:

- Reads /etc/fstab if it can find it.

- Installs 1.7 on NT and 1.5.x on 9x.

As far as NT is affected:

- Uses long path names and the Cygwin UNICODE transformation of special
  DOS characters.  This should allow to install files with special DOS
  chars (foo:bar, a<b), as well as files with names consisting of DOS
  device names (nul.exe, aux.c).

- Setup will still look for an old install by searching the 1.5.x
  registry mount points.  If you don't change to another dir in the
  "Choose Installation Directory" dialog, it will perform an upgrade
  rather than a fresh parallel install.  So, please change the root
  directory to something like, say, C:\cygwin-1.7

- Reads package DB the first time *after* the user pressed the "Next"
  button in the "Choose Installation Directory" dialog, so that setup
  doesn't use the package DB from a former installation by accident if
  the user chooses to install into a new directory.
  
  This only works once! 
  
  If you press the "Next" button in the "Choose Installation Directory"
  dialog before you changed the root directory, then press the "Back"
  button, it's too late.  In that case, press "Cancel" and restart
  Setup-1.7.
  
  I couldn't figure out how to drop the entire package DB in memory so
  that it can be re-read when the directory gets changed by the user.
  Can somebody help coding this?

- Does not write registry mount points anymore.

- Dynamically changes the layout of the "Choose Installation Directory"
  dialog so that there's no user choice for text/binmode.

Other changes:

- Silently skip empty tar packages of the 46 byte type (for instance
  gcc-3.4.4-3).

- New command-line option which was already present in Dave's test
  release 2.602:
  
  -P --packages                          Specify packages to install


Have fun,
Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Project Co-Leader          cygwin AT cygwin DOT com
Red Hat

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: New Setup 2.608 for Cygwin 1.7 on cygwin.com
  2008-08-20 11:26 New Setup 2.608 for Cygwin 1.7 on cygwin.com Corinna Vinschen
@ 2008-08-20 11:36 ` Corinna Vinschen
  2008-08-20 13:30 ` New Setup 2.609 " Corinna Vinschen
  1 sibling, 0 replies; 3+ messages in thread
From: Corinna Vinschen @ 2008-08-20 11:36 UTC (permalink / raw)
  To: cygwin-apps

Just so that this doesn't get lost:

On Aug 20 13:27, Corinna Vinschen wrote:
> - Reads package DB the first time *after* the user pressed the "Next"
>   button in the "Choose Installation Directory" dialog, so that setup
>   doesn't use the package DB from a former installation by accident if
>   the user chooses to install into a new directory.
>   
>   This only works once! 
>   
>   If you press the "Next" button in the "Choose Installation Directory"
>   dialog before you changed the root directory, then press the "Back"
>   button, it's too late.  In that case, press "Cancel" and restart
>   Setup-1.7.
>   
>   I couldn't figure out how to drop the entire package DB in memory so
>   that it can be re-read when the directory gets changed by the user.
>   Can somebody help coding this?
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    Please?


Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Project Co-Leader          cygwin AT cygwin DOT com
Red Hat

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: New Setup 2.609 for Cygwin 1.7 on cygwin.com
  2008-08-20 11:26 New Setup 2.608 for Cygwin 1.7 on cygwin.com Corinna Vinschen
  2008-08-20 11:36 ` Corinna Vinschen
@ 2008-08-20 13:30 ` Corinna Vinschen
  1 sibling, 0 replies; 3+ messages in thread
From: Corinna Vinschen @ 2008-08-20 13:30 UTC (permalink / raw)
  To: cygwin-apps

Hi,

A tiny change to 2.608 results in 2.609:

You can find it here:  http://cygwin.com/setup-1.7.exe 

The SHA1 checksum is 5f97ae3e2f32176ef8ecc8df3ca91a99966e5401

New feature:

- The /var/log and /var/run are now created with 01777 permissions
  rather than with 755 permissions.

On Aug 20 13:27, Corinna Vinschen wrote:
> New features:
> 
> - Does not change the default primary group to Admins or Users, rather
>   sticks to the primary group of the current user.  The problem with
>   changing the primary group like this is that the later postinstall
>   calls to mkpasswd -l -c and mkgroup -l -c get hopelessly confused
>   and potentially create no entry for the actual primary group of the
>   user running setup, and it potentially creates an incorrect gid in
>   the user's passwd entry, at least if the user is a domain user.
>   This is not mkpasswd/mkgroup's fault, it's just the way the -c
>   options are designed and setup really screws that up.
> 
> - Enables backup and restore rights if the user's token contains them,
>   as well as opens and creates all files with backup intent.  This allows
>   administrative users to override too tight permissions on installed
>   files.
> 
> - All default directories are now created with useful POSIX-like
>   permissions.  /tmp, /usr/tmp and /var/tmp are created with 01777
>   permissions, all other dirs with 0755 permissions. 
>   
> - All files and directories extracted from the distro tar archives
>   are now created with POSIX permissions as stored in the archives.
> 
>   I tested this change on XP SP3 as well as on Vista x64 SP1 with
>   UAC switched on and it worked fine for me.  YMMV, unfortunately...
> 
>   I tried to do the permission setting as fast as possible, but this
>   might slow down the installation process somewhat.  I didn't measure,
>   but I think the advantage of having real POSIX permissions from the
>   start is worth the tradeoff.
> [...]


Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Project Co-Leader          cygwin AT cygwin DOT com
Red Hat

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2008-08-20 13:30 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-08-20 11:26 New Setup 2.608 for Cygwin 1.7 on cygwin.com Corinna Vinschen
2008-08-20 11:36 ` Corinna Vinschen
2008-08-20 13:30 ` New Setup 2.609 " Corinna Vinschen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).