This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Installer cannot write to Cygwin's /usr/local/etc




On 16/02/2014 09:57, Andrey Repin wrote:
Greetings, Marco Atzeri!

However you can check the Windows ACL with

$ cd /usr/local

/usr/local
$ getfacl bin

I would say, if you want to see _windows_ permissions, you need to use cacls.
gerfacl only show POSIX approximation of windows permissions.



correct.

Curious however
   NOTE: Cacls is now deprecated, please use Icacls.

but the two provide a slight different outputs:

I have no access to my Win7 box right now (I've somehow managed to lock my
account while experimenting with `net user' command in the light of new Cygwin
functionality, and being swamped by ongoing work load decided to postpone
investigation... though it is probably worth a warning...)
What icacls says about "X" meaning? (That seems to be the only difference?)

http://technet.microsoft.com/en-us/library/cc753525.aspx

RX (read and execute access)
R (read-only access)


(BTW, you can specify multiple objects for [i]cacls to inspect at once.)

    $ Icacls etc
etc GE-MATZERI-EU\0356EU:(F)
      BUILTIN\Administrators:(RX)
      Everyone:(RX)
      CREATOR OWNER:(OI)(CI)(IO)(F)
      CREATOR GROUP:(OI)(CI)(IO)(RX)
      Everyone:(OI)(CI)(IO)(RX)


regards
MArco


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]