This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

/etc/empty, permissions


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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]