cygwin installation on a synology NAS drive

Dr. Volker Zell dr.volker.zell@oracle.com
Mon Mar 2 16:18:00 GMT 2015


>>>>> Corinna Vinschen writes:

    > On Mar  2 15:43, U-leila\vzell wrote:
    >> Hi
    >> 
    >> I created a shared folder on a Synology NAS and mapped it to a Windows 7
    >> host system. Both Windows 7 and Synology NAS have the same named user
    >> account (part of admin groups). The named user has full access to the
    >> shared folder on the NAS side.
    >> 
    >> I then tried installing latest cygwin versions (x86/x64) on the mapped
    >> drive (at the root filesystem) but got permissions errors from setup.exe
    >> 
    >> Setup was actually able to create the cygwin directory structure but
    >> could not write to the log file.
    >> 
    >> Creating directories/files and writing to files is no problem with
    >> windows tools on the mapped drive.
    >> 
    >> Anybody else tried this setup or knows what's going on here ? Or is a
    >> cygwin installation on a NAS not supported ? 

    > Does the NAS screw up POSIX-like ACLs?  Problems with FILE_DELETE_CHILD?
    > The /var/log dir is created with 1777 perms, so the FILE_DELETE_CHILD
    > flag is not set in the ACEs.

This is how it looks like with icacls:

Q:\var Everyone:(NP)(RX)
       Everyone:(OI)(CI)(IO)(RX)
       CREATOR OWNER:(OI)(CI)(IO)(F)

Q:\etc Everyone:(NP)(RX)
       Everyone:(OI)(CI)(IO)(RX)
       CREATOR OWNER:(OI)(CI)(IO)(F)

Q:\bin Everyone:(NP)(RX)
       Everyone:(OI)(CI)(IO)(RX)
       CREATOR OWNER:(OI)(CI)(IO)(F)

Q:\dev Everyone:(NP)(RX)
       Everyone:(OI)(CI)(IO)(RX)
       CREATOR OWNER:(OI)(CI)(IO)(F)

Q:\home Everyone:(NP)(RX,W)
        Everyone:(OI)(CI)(IO)(RX)
        CREATOR OWNER:(OI)(CI)(IO)(F)

Q:\lib Everyone:(NP)(RX)
       Everyone:(OI)(CI)(IO)(RX)
       CREATOR OWNER:(OI)(CI)(IO)(F)

Q:\tmp Everyone:(NP)(RX,W)
       Everyone:(OI)(CI)(IO)(RX)
       CREATOR OWNER:(OI)(CI)(IO)(F)

Q:\usr Everyone:(NP)(RX)
       Everyone:(OI)(CI)(IO)(RX)
       CREATOR OWNER:(OI)(CI)(IO)(F)

Q:\var\log Everyone:(NP)(RX,W)
           Everyone:(OI)(CI)(IO)(RX)
           CREATOR OWNER:(OI)(CI)(IO)(F)

Q:\var\run Everyone:(NP)(RX,W)
           Everyone:(OI)(CI)(IO)(RX)
           CREATOR OWNER:(OI)(CI)(IO)(F)

Q:\var\tmp Everyone:(NP)(RX,W)
           Everyone:(OI)(CI)(IO)(RX)
           CREATOR OWNER:(OI)(CI)(IO)(F)

Q:\var\log\setup.log Everyone:(R)

Q:\var\run\utmp Everyone:(R,W)

Q:\etc\setup Everyone:(NP)(RX)
             Everyone:(OI)(CI)(IO)(RX)
             CREATOR OWNER:(OI)(CI)(IO)(F)

Q:\etc\fstab.d Everyone:(NP)(RX,W)
               Everyone:(OI)(CI)(IO)(RX)
               CREATOR OWNER:(OI)(CI)(IO)(F)

Q:\etc\postinstall Everyone:(NP)(RX)
                   Everyone:(OI)(CI)(IO)(RX)
                   CREATOR OWNER:(OI)(CI)(IO)(F)

Q:\etc\setup\timestamp Everyone:(I)(RX)
                       (I)(F)

Q:\etc\setup\_autorebase.lst.gz Everyone:(R)

Q:\etc\setup\setup.rc Everyone:(R)

Q:\etc\postinstall\0p_000_autorebase.dash Everyone:(RX)

Q:\etc\postinstall\0p_000_autorebase.dash.new Everyone:(RX)

Q:\dev\mqueue Everyone:(NP)(RX,W)
              Everyone:(OI)(CI)(IO)(RX)
              CREATOR OWNER:(OI)(CI)(IO)(F)

Q:\dev\shm Everyone:(NP)(RX,W)
           Everyone:(OI)(CI)(IO)(RX)
           CREATOR OWNER:(OI)(CI)(IO)(F)

Q:\usr\local Everyone:(NP)(RX)
             Everyone:(OI)(CI)(IO)(RX)
             CREATOR OWNER:(OI)(CI)(IO)(F)

Q:\usr\src Everyone:(NP)(RX)
           Everyone:(OI)(CI)(IO)(RX)
           CREATOR OWNER:(OI)(CI)(IO)(F)

Q:\usr\tmp Everyone:(NP)(RX,W)
           Everyone:(OI)(CI)(IO)(RX)
           CREATOR OWNER:(OI)(CI)(IO)(F)

Q:\usr\local\bin Everyone:(NP)(RX)
                 Everyone:(OI)(CI)(IO)(RX)
                 CREATOR OWNER:(OI)(CI)(IO)(F)

Q:\usr\local\etc Everyone:(NP)(RX)
                 Everyone:(OI)(CI)(IO)(RX)
                 CREATOR OWNER:(OI)(CI)(IO)(F)

Q:\usr\local\lib Everyone:(NP)(RX)
                 Everyone:(OI)(CI)(IO)(RX)
                 CREATOR OWNER:(OI)(CI)(IO)(F)

Successfully processed 29 files; Failed processing 0 files


--
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