This is the mail archive of the
cygwin
mailing list for the Cygwin project.
RE: No permissions on files created outside Cygwin
- From: <daniel dot steinmann at ubs dot com>
- To: <cygwin at cygwin dot com>
- Date: Tue, 12 Apr 2005 13:18:04 +0200
- Subject: RE: No permissions on files created outside Cygwin
> What does calcs print on this file? How are the permissions
> set on your home directory? It looks as if the inheritence
> of permissions is set somewhat strange on your machine.
pidde2@w01b1k85 /home
$ cacls stm
d:\home\stm SWISS-DD\t131085:F
SWISS-DD\domain users:R
Everyone:(special access:)
READ_CONTROL
FILE_READ_EA
FILE_READ_ATTRIBUTES
NT AUTHORITY\SYSTEM:(OI)(CI)F
BUILTIN\Users:(OI)(CI)R
BUILTIN\Administrators:(OI)(CI)F
pidde2@w01b1k85 /home
$ cacls stm/_viminfo
d:\home\stm\_viminfo NT AUTHORITY\SYSTEM:F
BUILTIN\Users:R
BUILTIN\Administrators:F
pidde2@w01b1k85 /home
$ ls -l / | grep home
drwxr-x---+ 3 pidde2 domain users 0 Apr 8 15:26 home/
pidde2@w01b1k85 /home
$ ls -l /home | grep stm
drwxr-x---+ 25 pidde2 domain users 0 Apr 12 11:43 stm/
pidde2@w01b1k85 /home
$ mount | grep home
d:\home on /home type system (binmode)
Does this help?
One more information: I changed the entry in /etc/passwd from
pidde2@w01b1k85 /home
$ mkpasswd -d -u t131085
t131085:unused_by_nt/2000/xp:266959:10513:Steinmann,
Daniel,U-SWISS-DD\t131085,S-1-5-21-66736625-1179007725-475923621-256959:
//S01B1A50/T131085$:/bin/bash
to
pidde2@w01b1k85 /home
$ cat /etc/passwd
pidde2:unused_by_nt/2000/xp:266959:10513:Steinmann,
Daniel,U-SWISS-DD\t131085,S-1-5-21-66736625-1179007725-475923621-256959:
/home/stm:/bin/bash
But I still have no permissions if I use the original output from
mkpasswd.
Daniel
--
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/