X-Spam-Check-By: sourceware.org Date: Mon, 6 Feb 2006 16:43:11 -0500 From: David Arnstein To: cygwin AT cygwin DOT com Subject: Best Practice for file ownership and permissions? Message-ID: <20060206214311.GA27201@panix.com> Reply-To: arnstein AT pobox DOT com Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.10i Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com I frequently encounter problems due to file ownership and permissions for the "system" files in /usr, /bin, /sbin/ /etc, and so forth. For example, when I type su Administrator cygwin responds /usr/bin/su: /bin/bash: Permission denied I know enough to have done mkpasswd -l >/etc/passwd mkgroup -l >/etc/group My CYGWIN variable is "ntsec,server" I use Windows XP and all my filesystems are NTFS. What is the recommended user.group ownership for the important files in /bin, /sbin, /usr, /etc, and so on? What are the recommended permission bits? -- David Arnstein arnstein AT pobox DOT com -- 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/