www.delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2008/02/25/02:20:58

X-Recipient: archive-cygwin AT delorie DOT com
X-Spam-Check-By: sourceware.org
X-YMail-OSG: 9aQNYhIVM1k3wSlIkXpvYrczq2uhHrn5V.e3_u6C7SPE6cyWOIqDRGpmrjBr.2QXyw--
X-Mailer: YahooMailRC/902.33 YahooMailWebService/0.7.162
Date: Sun, 24 Feb 2008 23:20:16 -0800 (PST)
From: Pedro Izecksohn <izecksohn AT yahoo DOT com>
Reply-To: Pedro Izecksohn <izecksohn AT yahoo DOT com>
Subject: Cygwin on Vista
To: cygwin AT cygwin DOT com
MIME-Version: 1.0
Message-ID: <694301.89358.qm@web50108.mail.re2.yahoo.com>
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
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
X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id m1P7KlQV009456

  I'm becoming an idiot. Every day I understand less:

bash-3.2$ file AWTPlayer.java
AWTPlayer.java: ASCII Java program text
bash-3.2$ unix2dos.exe AWTPlayer.java
AWTPlayer.java:
unix2dos processing AWTPlayer.java: Permission denied
bash-3.2$ unix2dos.exe < AWTPlayer.java > AWTPlayer2.java
bash-3.2$ file AWTPlayer2.java
AWTPlayer2.java: ASCII Java program text, with CRLF line terminators
bash-3.2$ icacls AWTPlayer.java
AWTPlayer.java TURION\Pedro:(I)(F)

Successfully processed 1 files; Failed processing 0 files
bash-3.2$ icacls AWTPlayer2.java
AWTPlayer2.java TURION\Pedro:(R,W,D,WDAC,WO)
                TURION\None:(R,W)
                Everyone:(R,W)

Successfully processed 1 files; Failed processing 0 files
bash-3.2$ groups
mkgroup
bash-3.2$

  1) Why unix2dos failed the first time?

bash-3.2$ ls testing
ls: cannot access testing: No such file or directory
bash-3.2$ touch testing
bash-3.2$ icacls testing
testing TURION\Pedro:(R,W,D,WDAC,WO)
        TURION\None:(R,W)
        Everyone:(R,W)

Successfully processed 1 files; Failed processing 0 files
bash-3.2$

  2) Why every file I create is created with the None and Everyone permissions?

P.S.: The last month I've being thinking about: Am I the only world dumb sysadmin that short circuited a LAN?




      Abra sua conta no Yahoo! Mail, o único sem limite de espaço para armazenamento!
http://br.mail.yahoo.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