This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Best Practice for file ownership and permissions?
- From: David Arnstein <arnstein at panix dot com>
- To: cygwin at cygwin dot com
- Date: Mon, 6 Feb 2006 16:43:11 -0500
- Subject: Best Practice for file ownership and permissions?
- Reply-to: arnstein at pobox 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@pobox.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/