delorie.com/archives/browse.cgi | search |
X-Authentication-Warning: | delorie.com: mail set sender to djgpp-bounces using -f |
X-Recipient: | djgpp AT delorie DOT com |
Date: | Thu, 02 Oct 2008 06:14:47 -0500 |
From: | JT Williams <jtw AT sfbrgenetics DOT org> |
Subject: | Re: EACCES using 'touch' |
In-reply-to: | <20080920190501.GA8618@sfbrgenetics.org> |
To: | djgpp AT delorie DOT com |
Message-id: | <20081002111447.GA18742@sfbrgenetics.org> |
MIME-version: | 1.0 |
References: | <20080920190501 DOT GA8618 AT sfbrgenetics DOT org> |
User-Agent: | Mutt/1.5.15 (2007-04-06) |
Reply-To: | djgpp AT delorie DOT com |
Errors-To: | nobody AT delorie DOT com |
X-Mailing-List: | djgpp AT delorie DOT com |
X-Unsubscribes-To: | listserv AT delorie DOT com |
Follow-up to previous posting. I have tested the touch program from the djgpp ports of fileutils versions 3.16, 4.0-r[2-5], and 4.1-r[1-7]. All versions refuse to touch the timestamp on a directory, emitting a 'permission denied' message. This behaviour is either a feature or a very old bug. -- j On Sat|2008.09.20, jt williams wrote: >Hello, > >On a plain vanilla DOS 5.0/djgpp 2.03+ system, running >bash 2.04.7(2), I am unable to 'touch' a directory (but >touching a file works as expected): > >% touch foo >% mkdir bar >% touch bar >touch: creating `bar': Permission denied (EACCES) >% touch -r foo bar >touch: creating `bar': Permission denied (EACCES) > >-- >j
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |