X-Recipient: archive-cygwin@delorie.com
X-SWARE-Spam-Status: No, hits=-1.9 required=5.0 	tests=AWL,BAYES_00,SARE_MSGID_LONG40,SPF_PASS
X-Spam-Check-By: sourceware.org
MIME-Version: 1.0
In-Reply-To: <782781.34739.qm@web33501.mail.mud.yahoo.com>
References: <32517.57262.qm@web33505.mail.mud.yahoo.com> 	 <4ABA9468.6060408@cygwin.com> 	 <32405.5122.qm@web33504.mail.mud.yahoo.com> 	 <4ABA99A9.6080103@cygwin.com> 	 <510384.1152.qm@web33508.mail.mud.yahoo.com> 	 <4ABAD5CB.1020208@cygwin.com> 	 <140340.33560.qm@web33502.mail.mud.yahoo.com> 	 <4ABB9291.2090501@cygwin.com> 	 <782781.34739.qm@web33501.mail.mud.yahoo.com>
Date: Thu, 24 Sep 2009 13:10:48 -0400
Message-ID: <f60fe000909241010l4aa6d877kaad5b3464851da1c@mail.gmail.com>
Subject: Re: sftp on a Windows 2003 server
From: "Mark J. Reed" <markjreed@gmail.com>
To: cygwin@cygwin.com
Content-Type: text/plain; charset=UTF-8
X-IsSubscribed: yes
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
Precedence: bulk
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie.com@cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com

On Thu, Sep 24, 2009 at 12:27 PM, Dave M  wrote:
> *** Warning: The permissions on the directory /var are not correct.
> *** Warning: They must match the regexp d..x..x..[xt]
> *** ERROR: Problem with /var directory. Exiting.
>
> Test@S-EXSYSLOG01 ~
> $ ls -l /var

That shows the permissions on the files *inside* of /var, not /var
itself.  Add  the -d option to ls (ls -ld /var) to see the permissions
on /var itself.

But chances are it's like /var/cache, /var/lib, /var/run, and /var/tmp
in your output, which have no "other" access at all, when they need at
least execute.

/var/empty, which you mentioned, already has the right permissions, as
does /var/log.  Very odd.

-- 
Mark J. Reed <markjreed@gmail.com>

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

