English Amiga Board

Go Back   English Amiga Board > Support > support.WinUAE

Thread Tools
Old 28 October 2017, 15:49   #1
Registered User
Join Date: Aug 2004
Posts: 2,967
Bogus file is write protected message with Copy CLONE to shared directory

With a shared folder configured, try this:
> Echo hello >test1
> Protect test1 -WD
> Copy test1 test2 CLONE
> Copy test1 SHARE:test3 CLONE
SHARE:test3: file is write protected
The file did copy correctly to SHARE:test3 though, and its protection bits are ----r-e-.
mark_k is offline  
Old 28 October 2017, 18:11   #2
Registered User
thomas's Avatar
Join Date: Jan 2002
Location: Germany
Posts: 5,733
The message is issued because it fails to update the creation date.
thomas is offline  
Old 28 October 2017, 18:41   #3
Toni Wilen
WinUAE developer
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 43
Posts: 22,128
Fixed. File handle needed for changing datestamp (SetFileTime()) asked for file write permission when only attribute write permission was needed.
Toni Wilen is online now  
Old 28 October 2017, 22:01   #4
Registered User
Join Date: Aug 2004
Posts: 2,967
Thanks. Wonder why I didn't notice that before now. I normally use Directory Opus 4 for file-copying. Maybe Opus sets the new file date before its protection bits?
mark_k is offline  

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
Thread Tools

Similar Threads
Thread Thread Starter Forum Replies Last Post
Bug with shared-directory+Winuae/OS41FE thellier support.WinUAE 1 11 August 2016 22:45
Write-protected DamienD support.WinUAE 2 08 November 2015 22:38
Disk is write protected ? THX1138 support.Apps 10 01 December 2002 11:09
Write protected? Geordy New to Emulation or Amiga scene 8 30 October 2001 18:15

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

All times are GMT +2. The time now is 22:26.

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2018, vBulletin Solutions Inc.
Page generated in 0.06339 seconds with 12 queries