This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: touch failing on network share


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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]