delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2005/04/12/07:18:23

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
MIME-Version: 1.0
Subject: RE: No permissions on files created outside Cygwin
Date: Tue, 12 Apr 2005 13:18:04 +0200
Message-ID: <B70880B308FD6D4C921FFFA8AA88846B11D912@S01B1F4D.flur.zuerich.ubs.ch>
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
From: <daniel DOT steinmann AT ubs DOT com>
To: <cygwin AT cygwin DOT com>
X-OriginalArrivalTime: 12 Apr 2005 11:18:05.0702 (UTC) FILETIME=[4C6CB260:01C53F51]
X-IsSubscribed: yes
X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id j3CBIJIP029311

> 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 AT 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 AT w01b1k85 /home
$ cacls stm/_viminfo 
d:\home\stm\_viminfo NT AUTHORITY\SYSTEM:F 
                     BUILTIN\Users:R 
                     BUILTIN\Administrators:F 


pidde2 AT w01b1k85 /home
$ ls -l / | grep home
drwxr-x---+  3 pidde2 domain users    0 Apr  8 15:26 home/

pidde2 AT w01b1k85 /home
$ ls -l /home | grep stm 
drwxr-x---+ 25 pidde2 domain users 0 Apr 12 11:43 stm/

pidde2 AT 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 AT 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 AT 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/


- Raw text -


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