delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2004/09/08/00:11:38

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Date: Wed, 8 Sep 2004 12:28:46 +1000 (EST)
From: luke DOT kendall AT cisra DOT canon DOT com DOT au
Subject: /etc/empty, permissions
To: cygwin AT cygwin DOT com
MIME-Version: 1.0
Message-Id: <20040908022846.7D9E084C99@pessard.research.canon.com.au>

There used to be a file /etc/empty, which doesn't seem to exist any
more.

I know, because for a while it was being created with the wrong
permission and our local post-install script used to fix it.

Do I still need to worry about this?

Likewise the user and the group SYSTEM no longer seem to exist.

Here's precisely what we used to do, using information from the mailing
list.  Is any of it still needed? 

    # Working around /etc/profile permission error (may take a few mins...)
    ls -l /etc/profile
    chmod -R a+rx /etc
    ls -l /etc/profile
    CYGPATH=`cygpath -m /`
    chmod -R a+rx /usr/share/texmf &
    chmod -R ug+rwX,o+rX "$CYGPATH"
    chmod 1777 /tmp /var/tmp /usr/tmp
    #
    # Allow any Administrator to install more Cygwin packages:
    #
    echo "Allowing any Administrator to install more Cygwin packages..."
    chown -R Administrator.SYSTEM "$CYGPATH"
    chown SYSTEM.SYSTEM /etc/empty
    chmod go-w /etc/empty 

Regards,

luke


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019