/etc/empty, permissions

luke.kendall@cisra.canon.com.au luke.kendall@cisra.canon.com.au
Wed Sep 8 03:46:00 GMT 2004


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/



More information about the Cygwin mailing list