Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Date: Fri, 28 Jan 2005 13:57:43 -0500 From: "Pierre A. Humblet" To: cygwin AT cygwin DOT com Subject: Re: touch failing on network share Message-ID: <20050128185743.GA205421@Worldnet> References: <0IB10066UIOUS6 AT pmismtp02 DOT mcilink DOT com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <0IB10066UIOUS6@pmismtp02.mcilink.com> User-Agent: Mutt/1.4.1i On Fri, Jan 28, 2005 at 11:43:41AM -0700, Mark Paulus wrote: > I have a network share set up on my > OS/2 box using HPFS. On that share, > I have directory: cygmanaged, and under that, I have > a directory tmp2. > > So, I can mount this directory as: > > mount --system --binary -omanaged z:/cygmanaged/tmp2 /tmp2, > and it looks like everything is fine. > > But, when I try to 'touch' any file/directory on that mount, I get this > error: touch: setting times of `cygwin-equivs/': Permission denied > > However, I can vi/edit/rm/mv or do just about anything else that I > want to the file. I just can't seem to do a touch on it. > > Does anyone have any insight into touch as to what it is doing that might > be causing the permissions problem? > > Thanks. > > I just tested this on the raw share (/cygdrive/z/foo) and it still fails. So, > it is not a managed mount problem/issue, but something deeper. I have observed a similar problem with a XP HOME mounting a remote Win98 drive. I traced it to SetFileTime failing, i.e. a MS issue. "strace touch xxx" will show you what happens. Pierre -- 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/