Networking Forums

Networking Forums > Computer Networking > Windows Networking > Strange Problems Copying Files From W2K3 to W2K

Reply
Thread Tools Display Modes

Strange Problems Copying Files From W2K3 to W2K

 
 
Will
Guest
Posts: n/a

 
      05-01-2007, 05:03 AM
One of my developers is reporting a problem that happens when he is trying
to copy a read-only file to a share from a W2K3 server to a W2K file server.

For example, a command like:

copy /Y SomeReadOnlyFile.ext \\my-server1\myshare\SomeReadOnlyFile.ext

has the following results:

(a) if the target file does not exist, the command succeeds, and the created
target file has read-only attribute;

(b) if the target file exists and is not read-only, the command fails (with
"Access is denied" diagnostics) and the target file has read-only attribute
and is truncated to zero;

(c) if the target file exists and is read-only, the command fails (with
"Access is denied" diagnostics).

The behaviour in case (c) is normal; in cases (a) and (b) - it isn't.

To compare, this is what happens when we run similar commands against
another Windows 2000 or Windows 2003 file server:

(a) if the target file does not exist, the command succeeds, and the created
target file does not have read-only attribute;

(b) if the target file exists and is not read-only, the command succeeds and
the target file does not have read-only attribute;

(c) if the target file exists and is read-only, the command fails (with
"Access is denied" diagnostics).

The first observation here is that the problem file server is attempting to
preserve the read only attribute, whereas the other servers do not. What
security policy setting causes that behavior on the server?

Once I know what setting causes this behavior, I will go turn it on the
other servers where copy is working and see if we can duplicate the issue.
Perhaps the issue is specific to W2K3 clients interacting to W2K servers.

Is the behavior reported above documented, and if yes is there a workaround?

--
Will




 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

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
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Error copying file form Dutch XP PC to English W2k3 or W2k svr Tom Windows Networking 2 05-20-2008 03:50 PM
Copying Files to SAN is SLOOOW Kenny Windows Networking 0 03-08-2007 08:34 PM
Lag time when copying files from the server via VPN boe Windows Networking 1 01-29-2005 08:00 PM
Error when Copying Files Hot Gal Windows Networking 0 05-05-2004 03:48 PM
Prevent files from unauthorized copying. Windows Networking 4 08-28-2003 10:48 PM



1 2 3 4 5 6 7 8 9 10 11