delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2007/10/30/03:13:19

X-Recipient: archive-cygwin AT delorie DOT com
X-Spam-Check-By: sourceware.org
X-IronPort-AV: E=Sophos;i="4.21,346,1188792000"; d="scan'208";a="11578253"
MIME-Version: 1.0
Subject: "My Documents" directory not listed as writable?
Date: Tue, 30 Oct 2007 08:11:45 -0000
Message-ID: <DD74FBB8EE28D441903D56487861CD9D22BDD6FB@lonpexch01.citrite.net>
From: "John Cooper" <John DOT Cooper AT eu DOT citrix DOT com>
To: <cygwin AT cygwin DOT com>
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
X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id l9U8D7I7005236

[I'm using Cygwin 1.5.24-2 on Windows XP and Vista]

Does anyone know why, by default, the "My Documents" directory is not
listed as writable? :
  $ ls -ld $USERPROFILE/My\ Documents
  dr-x------+ 22 John None 0 Oct 20 18:26 C:\Documents and
Settings\John/My Documents/

.. even though it actually is writable:

  $ touch $USERPROFILE/My\ Documents/foo
  $

This occurs on both my work and home machines; in the former case I log
in as a domain user but in the latter case the machine is just in a
workgroup.

This strangeness causes the zsh initialization scripts to fail to create
a .zcompdump file (when the HOME env var is set to the "My Documents"
directory), which in turn causes each zsh invocation to be much slower
than it should be. The "cacls" command indicates that the directory is
writable:
http://www.zsh.org/mla/users/2007/msg01023.html

Thanks,

John.

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


- Raw text -


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