"ls" doesn't show postscript files any longer

Siegmar Gross siegmar.gross@informatik.hs-fulda.de
Mon Feb 19 17:11:00 GMT 2018


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



More information about the Cygwin mailing list