delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2006/02/06/16:43:20

X-Spam-Check-By: sourceware.org
Date: Mon, 6 Feb 2006 16:43:11 -0500
From: David Arnstein <arnstein AT panix DOT com>
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
User-Agent: Mutt/1.5.10i
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

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/

- Raw text -


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