X-Recipient: archive-cygwin@delorie.com
X-SWARE-Spam-Status: No, hits=-1.7 required=5.0	tests=AWL,BAYES_00,SPF_NEUTRAL,TW_RW,TW_WX,TW_XR,T_RP_MATCHES_RCVD
X-Spam-Check-By: sourceware.org
Message-ID: <4F411C7A.3070307@cornell.edu>
Date: Sun, 19 Feb 2012 10:59:54 -0500
From: Ken Brown <kbrown@cornell.edu>
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:10.0.1) Gecko/20120208 Thunderbird/10.0.1
MIME-Version: 1.0
To: cygwin@cygwin.com
Subject: Re: hexedit install flub...now shell seems rudimentary
References: <CALc-FG90mh+ct6t8Z=KALkaon3Gng9V24U8+1jykHpXBLApS-A@mail.gmail.com>	<4F3F98C1.6000400@cornell.edu>	<20120218201651.GB5319@jethro.local.lan> <CALc-FG99afcbvH-FdhqHq_v7wfzzmHTs7Neu0e78nidsH5JCWw@mail.gmail.com>
In-Reply-To: <CALc-FG99afcbvH-FdhqHq_v7wfzzmHTs7Neu0e78nidsH5JCWw@mail.gmail.com>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
X-PMX-CORNELL-SPAM-CHECKED: Pawpaw
X-Original-Sender: kbrown@cornell.edu - Sun Feb 19 10:59:59 2012
X-PMX-CORNELL-REASON: CU_White_List_Override
X-IsSubscribed: yes
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com

[Please don't top post.]

On 2/18/2012 3:53 PM, Adrian Sandstrom wrote:
> I didn't have /etc/profile so I copied /etc/default/etc/profile to
> /etc/profile.
>
> Aside from /etc/profile, I don't have any of the other files that
> David mentions, but do have the profile.d directory. Here are the
> permissions of all related files mentioned:
>
> bash-4.1$ ls -l profile*
> -rw-r-----  1 adrian None 6.9K Feb 18 11:14 profile
>
> profile.d:
> total 4.0K
> -rw-r--r-- 1 adrian root 109 Jan 18 07:50 openssl.csh
> -rw-r--r-- 1 adrian root  41 Jan 18 07:50 openssl.sh
> -rwxr-xr-x 1 adrian root  74 Jan 29 19:13 xinit.csh*
> -rwxr-xr-x 1 adrian root  44 Jan 29 19:13 xinit.sh*
>
>
>   I did see that both base-files postinstall scripts in
> /etc/postinstall/ were not executable:
>
> bash-4.1$ ls -l base*
> -rw-rw---- 1 adrian root 1.2K Feb 12 13:13 base-files-mketc.sh.done
> -rw-rw---- 1 adrian root  925 Feb 12 13:13 base-files-profile.sh.done
>
> So I changed them to be:
>
> bash-4.1$ ls -l base*
> -rwxrwx--- 1 adrian root 1.2K Feb 12 13:13 base-files-mketc.sh.done*
> -rwxrwx--- 1 adrian root  925 Feb 12 13:13 base-files-profile.sh.done*
>
> I ran setup again without installing anything -->  no change to terminal
> I ran setup again selecting to reinstall hexedit -->  no change to terminal
>
> I really appreciate your guys' help! Can't wait to find out what the issue is...

David already told you that the issue is probably the permissions on 
some of the files in the base-files package.  I would suggest that you 
use setup.exe to reinstall the base-files package, and then manually 
change the permissions as he suggested:

>> This is probably caused by incorrect permissions in the latest base-files'
>> package contents.
>> A release fixing this will be available shortly.
>> For the time being, please check and correct perms in:
>>
>> /etc/bash.bash_logout
>> /etc/profile.d
>> /etc/profile.d/tzset.sh
>> /etc/profile.d/tzset.csh
>> /etc/profile.d/lang.csh
>> /etc/profile.d/lang.sh
>> /etc/bash.bashrc
>> /etc/skel/.inputrc
>> /etc/skel/.profile
>> /etc/skel/.bashrc
>> /etc/skel/.bash_profile
>> /etc/profile
>>
>> All of them should have owner/group root.root and 644 perms (rw-r--r--)

Ken


--
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

