Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

RE: Slow compdump on Vista - no .zcompdump created



> try running
> cacls "`cygpath -w /c/Users/johnc.CITRITE/Documents`"
>
> and seeing if the output tells you anything interesting about the ACLs
> in effect.  After all, there has to be some reason why cygwin doesn't
> think that you have full write permissions to that directory.

It doesn't seem to show anything peculiar - it indicates that I (a
domain user) have full permissions and (I think) that these permissions
are inherited:
  CITRITE\johnc:F
  CITRITE\johnc:(OI)(CI)(IO)F

It also shows that Domain Users (and also "Everyone") have some special
read permissions:
  CITRITE\Domain Users:(special access:)
                                                      READ_CONTROL
                                                      FILE_READ_EA
 
FILE_READ_ATTRIBUTES

I'll take a look later on my home machine (not in a domain) to see if
the problem occurs there - I suspect it won't.

    --- John.


-----Original Message-----
From: Matthew Wozniski [mailto:godlygeek@xxxxxxxxx] 
Sent: 25 October 2007 19:54
To: zsh-users@xxxxxxxxxx
Cc: John Cooper
Subject: Re: Slow compdump on Vista - no .zcompdump created

On Thu, Oct 25, 2007 at 12:12:59PM +0100, John Cooper wrote:
> I can create files in this directory:
>   $ touch /c/Users/johnc.CITRITE/Documents/foo 
>   $
> 
> .. although Cygwin seems to think it is not writeable:
>   $ ls -ld /c/Users/johnc.CITRITE/Documents
> 
>   dr-x------+ 16 johnc mkpasswd 16384 Oct 25 12:10
> /c/Users/johnc.CITRITE/Documents/
> 

Now we're on to something.  The directory is conspicuously missing
a 'w' for user permissions, but its permissions list ends in a '+',
which means overriding ACLs are in effect that mean that the
permissions on the directory can't really be mapped to simple user,
group, and other permissions.  Maybe you're only allowed to create
certain types of files in that directory, or something similar.
I dunno, I'm not really a windows person.  In any event, try running

cacls "`cygpath -w /c/Users/johnc.CITRITE/Documents`"

and seeing if the output tells you anything interesting about the ACLs
in effect.  After all, there has to be some reason why cygwin doesn't
think that you have full write permissions to that directory.

~Matt



Messages sorted by: Reverse Date, Date, Thread, Author