delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2018/02/19/12:11:34

X-Recipient: archive-cygwin AT delorie DOT com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:subject:to:references:from:message-id:date
:mime-version:in-reply-to:content-type
:content-transfer-encoding; q=dns; s=default; b=s7VW6sxysksosRO1
2VHj5iA2b8YLNNUjIBL6MxBBsG8ayWTwjeJZwcPcwbFhqEayIkyxYp28w2Qhk9On
3VqMZU0Xi4+becgHHUmKz5/Z7srMXbfeTesY6RudugCAFLa/iuQ/2QVOTLF0iC2S
W4HgReG6Ic+CDWKr779Q9Bzs9E0=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:subject:to:references:from:message-id:date
:mime-version:in-reply-to:content-type
:content-transfer-encoding; s=default; bh=RUDcdkWpSpPZliWpxPEFNb
VfLfo=; b=B25oS7n670OkrIvRRveG/iACuqGSt++X/73hnrPdR9V7w3aCi6uJ2m
hGyLKXpz64HuVoIyl5SgyDwkOQScKXHnQQ3wmXon3zbLAd5yY2v945h3JeuOs+vX
FUQNMzdMnLaOVSlqvLyuww3yC43Gb6CiMLZRqdClf1Y6+Sgef7OY0=
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
Authentication-Results: sourceware.org; auth=none
X-Virus-Found: No
X-Spam-SWARE-Status: No, score=-4.1 required=5.0 tests=AWL,BAYES_05,GIT_PATCH_2,KAM_LAZY_DOMAIN_SECURITY,T_RP_MATCHES_RCVD autolearn=ham version=3.3.2 spammy=dieser, wird, jeder, Admin
X-HELO: postfix2b-out.rz.hs-fulda.de
Subject: Re: "ls" doesn't show postscript files any longer
To: cygwin AT cygwin DOT com
References: <2ee02137-0e2a-0e98-ecac-1b8b8539bf24 AT informatik DOT hs-fulda DOT de> <d4d1d8a98673072131311e8e50acbc2f AT smtp-cloud9 DOT xs4all DOT net> <20e0cab7-5d4f-c057-af98-525f3928cb61 AT informatik DOT hs-fulda DOT de>
From: Siegmar Gross <siegmar DOT gross AT informatik DOT hs-fulda DOT de>
Message-ID: <9f54008d-66f4-dd57-4989-bb41cb3dfd7a@informatik.hs-fulda.de>
Date: Mon, 19 Feb 2018 18:11:02 +0100
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.6.0
MIME-Version: 1.0
In-Reply-To: <20e0cab7-5d4f-c057-af98-525f3928cb61@informatik.hs-fulda.de>
X-DVZ-HFD-Virus-Checked: Checked by SophosAV on sea1
X-SASI-RCODE: 200
X-IsSubscribed: yes
Note-from-DJ: This may be spam

Hi Henri,

I didn't remember that "icacls" is a Windows command. Here is
the output.

C:\>dir temp
  Datenträger in Laufwerk C: ist System
  Volumeseriennummer: 6A4A-9050

  Verzeichnis von C:\temp

19.02.2018  18:06    <DIR>          .
19.02.2018  18:06    <DIR>          ..
19.02.2018  17:33            69.864 chap4.pdf
19.02.2018  17:33           322.294 chap4.ps
19.02.2018  17:35             9.220 MpCmdRun.log
                3 Datei(en),        401.378 Bytes
                2 Verzeichnis(se), 87.388.815.360 Bytes frei

C:\>icacls temp
temp VORDEFINIERT\Administratoren:(I)(F)
      VORDEFINIERT\Administratoren:(I)(OI)(CI)(IO)(F)
      NT-AUTORITÄT\SYSTEM:(I)(F)
      NT-AUTORITÄT\SYSTEM:(I)(OI)(CI)(IO)(F)
      VORDEFINIERT\Benutzer:(I)(OI)(CI)(RX)
      NT-AUTORITÄT\Authentifizierte Benutzer:(I)(M)
      NT-AUTORITÄT\Authentifizierte Benutzer:(I)(OI)(CI)(IO)(M)

1 Dateien erfolgreich verarbeitet, bei 0 Dateien ist ein Verarbeitungsfehler aufgetreten.

C:\>icacls temp\chap4.*
temp\chap4.pdf NULL SID:(DENY)(Rc,S,WEA,X,DC)
                hermes\fd1026_2:(R,W,D,WDAC,WO)
                hermes\None:(DENY)(S,X)
                VORDEFINIERT\Administratoren:(DENY)(S,X)
                NT-AUTORITÄT\Authentifizierte Benutzer:(DENY)(S,X)
                NT-AUTORITÄT\SYSTEM:(DENY)(S,X)
                VORDEFINIERT\Benutzer:(DENY)(S,X)
                hermes\None:(RX)
                VORDEFINIERT\Administratoren:(RX,W)
                NT-AUTORITÄT\Authentifizierte Benutzer:(RX,W)
                NT-AUTORITÄT\SYSTEM:(RX,W)
                VORDEFINIERT\Benutzer:(RX)
                Jeder:(R)

temp\chap4.ps VORDEFINIERT\Administratoren:(I)(F)
               NT-AUTORITÄT\SYSTEM:(I)(F)
               VORDEFINIERT\Benutzer:(I)(RX)
               NT-AUTORITÄT\Authentifizierte Benutzer:(I)(M)

2 Dateien erfolgreich verarbeitet, bei 0 Dateien ist ein Verarbeitungsfehler aufgetreten.

C:\>


Kind regards

Siegmar

Am 19.02.2018 um 17:59 schrieb Siegmar Gross:
> Hi Henri,
> 
> I've created a one page file in directories /cygdrive/c/temp
> and /tmp. Using "ps2pdf" I can see the pdf-file but still
> not the ps-file. Unfortunately, I don't have "icacls" and I
> couldn't find it with setup-x86_64.exe, so that I can only
> provide the output from getfacl.
> 
> hermes temp 20 ps2pdf chap4.ps chap4.pdf
> %%[ ProductName: GPL Ghostscript ]%%
> %%[Page: 1]%%
> %%[LastPage]%%
> hermes temp 21 ls chap*
> chap4.pdf
> hermes temp 22 ls chap4.ps chap4.pdf
> chap4.pdf  chap4.ps
> hermes temp 23 getfacl chap4.ps
> # file: chap4.ps
> # owner: fd1026_2
> # group: None
> user::rwx
> group::---
> group:root:rwx
> group:Authentifizierte Benutzer:rwx
> group:SYSTEM:rwx
> group:Benutzer:r-x
> mask:rwx
> other:---
> 
> hermes temp 24 getfacl chap4.pdf
> # file: chap4.pdf
> # owner: fd1026_2
> # group: None
> user::rw-
> group::r-x                              #effective:r--
> group:root:rwx                          #effective:rw-
> group:Authentifizierte Benutzer:rwx     #effective:rw-
> group:SYSTEM:rwx                        #effective:rw-
> group:Benutzer:r-x                      #effective:r--
> mask:rw-
> other:r--
> 
> hermes temp 25 getfacl /cygdrive/c/temp/
> # file: /cygdrive/c/temp/
> # owner: Admin
> # group: None
> user::rwx
> group::---
> group:root:rwx
> group:Authentifizierte Benutzer:rwx
> group:SYSTEM:rwx
> group:Benutzer:r-x
> mask:rwx
> other:---
> default:user::---
> default:group::---
> default:group:root:rwx
> default:group:Authentifizierte Benutzer:rwx
> default:group:SYSTEM:rwx
> default:group:Benutzer:r-x
> default:mask:rwx
> default:other:---
> 
> hermes temp 26 cd /tmp/
> hermes tmp 27 ls *.ps
> ls: No match.
> hermes tmp 28 ls chap4.ps
> chap4.ps
> hermes tmp 29 getfacl chap4.ps
> # file: chap4.ps
> # owner: fd1026_2
> # group: None
> user::rwx
> group::r-x
> other:r-x
> 
> hermes tmp 30 getfacl /tmp
> # file: /tmp
> # owner: Admin
> # group: None
> # flags: --t
> user::rwx
> group::rwx
> other:rwx
> default:user::rwx
> default:group::r-x
> default:other:r-x
> 
> hermes tmp 31
> 
> I've updated Cygwin and Windows as I've said in my last email,
> but I haven't changed any permissions of directories. Do you
> need anything else? Thank you very much for any help in advance.
> 
> 
> Kind regards
> 
> Siegmar
> 
> 
> Am 19.02.2018 um 16:28 schrieb Houder:
>> On Mon, 19 Feb 2018 12:24:24, Siegmar Gross wrote:
>>> Hi,
>>>
>>> I'm using Cygwin on top of Windows 7 (all updates installed).
>>> "ls" doesn't show postscript files any longer after upgrading
>>> all installed Cygwin packages to the latest versions. I create
>>> the postscript file with MS Word 2003 using the "HP Color LJ
>>> 4550 PS" driver and printing to a file. In the past these files
>>> were visible.
>>>
>>> hermes temp 10 uname -a
>>> CYGWIN_NT-6.1 hermes 2.10.0(0.325/5/3) 2018-02-02 15:16 x86_64 Cygwin
>>> hermes temp 11 ls
>>> MpCmdRun.log
>>> hermes temp 12 ls *.ps
>>> ls: No match.
>>> hermes temp 13 ls chap4.ps
>>> chap4.ps
>>> hermes temp 14 file chap4.ps
>>> chap4.ps: PJL encapsulated PostScript document text
>>> hermes temp 15
>>>
>>> Does anybody know why I don't see the existing file any longer?
>>> What can I do to solve the problem? Thank you very much for any
>>> help in advance.
>>
>> Siegmar,
>>
>> I can hardly believe that the above data is helpful for the average Cygwin
>> user ...
>>
>> Reporting Problems (https://cygwin.com/problems.html) tells you to at least
>> attach the output of cygcheck:
>>
>>      "Run "cygcheck -s -v -r > cygcheck.out" and include that file as an
>>       attachment in your report. Please do not compress or otherwise encode
>>       the output. Just attach it as a straight text file so that it can be
>>       easily viewed."
>>
>> You might also want to show us the output of
>>
>>   - getfacl and
>>   - icacls
>>
>> applied to both the file "chap4.ps" and the current directory ...
>>
>> Henri
> 
> 
> Dieser Nachrichteninhalt wird auf Anfrage komplett heruntergeladen.
> 

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

- Raw text -


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