network copy access denied

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hi,
I'm trying to copy, either from copy/xcopy command or via the explorer,
few files between 2 Windows 2000 Server host. From the same directory to a
maintenance shared drive, only few files doesn't get copied because of an
'Access Denied'

ex: copy d:\temp\a.txt \\host1\d$\temp works ok
copy D:\temp\a2.txt \\host1\d$\temp access denied.

The file a2.txt doesn't exist on host1. The local permission are ok,
because I can copy the a2.txt locally without problem to any folder. When I
copy the file with /Z option it stop at ~ 77% and then I got a 'Access
denied'. If I remove some bytes from the file a2.txt (5 bytes is ok). The
copy works fine, same thing if I add bytes (5 bytes).

what's wrong
Thanks
 
simonm said:
Hi,
I'm trying to copy, either from copy/xcopy command or via the explorer,
few files between 2 Windows 2000 Server host. From the same directory to a
maintenance shared drive, only few files doesn't get copied because of an
'Access Denied'

ex: copy d:\temp\a.txt \\host1\d$\temp works ok
copy D:\temp\a2.txt \\host1\d$\temp access denied.

The file a2.txt doesn't exist on host1. The local permission are ok,
because I can copy the a2.txt locally without problem to any folder. When I
copy the file with /Z option it stop at ~ 77% and then I got a 'Access
denied'. If I remove some bytes from the file a2.txt (5 bytes is ok). The
copy works fine, same thing if I add bytes (5 bytes).

Maybe File Monitor and Handle Monitor from www.sysinternals.com would
provide more clues.
 
Hi,
I already try. Here what Filemon give me ...

CMD.EXE:800 QUERY INFORMATION D:\temp\n03e097_tr3.sam SUCCESS Attributes: A

CMD.EXE:800 OPEN D:\temp\ SUCCESS Options: Open Directory Access: All

CMD.EXE:800 DIRECTORY D:\temp\ SUCCESS FileBothDirectoryInformation:
n03e097_tr3.sam
CMD.EXE:800 OPEN D:\temp\n03e097_tr3.sam SUCCESS Options: Open Sequential
Access: All
CMD.EXE:800 READ D:\temp\n03e097_tr3.sam SUCCESS Offset: 0 Length: 512

CMD.EXE:800 OPEN \\acdbcgf1\d$\temp SUCCESS Options: Open Access: All

CMD.EXE:800 QUERY
INFORMATION \\acdbcgf1\d$\temp SUCCESS FileBasicInformation

CMD.EXE:800 CLOSE \\acdbcgf1\d$\temp SUCCESS

CMD.EXE:800 OPEN \\acdbcgf1\d$\temp\n03e097_tr3.sam FILE NOT FOUND Options:
Open Access: All
CMD.EXE:800 OPEN \\acdbcgf1\d$\temp\n03e097_tr3.sam FILE NOT FOUND Options:
Open Access: All
CMD.EXE:800 OPEN D:\temp\n03e097_tr3.sam SUCCESS Options: Open Sequential
Access: All
CMD.EXE:800 QUERY
INFORMATION D:\temp\n03e097_tr3.sam SUCCESS FileAttributeTagInformation

CMD.EXE:800 QUERY INFORMATION D:\temp\n03e097_tr3.sam SUCCESS Length: 79234

CMD.EXE:800 QUERY INFORMATION D:\temp\n03e097_tr3.sam SUCCESS Attributes: A

CMD.EXE:800 QUERY
INFORMATION D:\temp\n03e097_tr3.sam SUCCESS FileStreamInformation

CMD.EXE:800 QUERY INFORMATION D:\temp\n03e097_tr3.sam SUCCESS Attributes: A

CMD.EXE:800 QUERY
INFORMATION D:\temp\n03e097_tr3.sam SUCCESS FileEaInformation

CMD.EXE:800 CREATE \\acdbcgf1\d$\temp\n03e097_tr3.sam SUCCESS Options:
OverwriteIf Sequential Access: All
CMD.EXE:800 QUERY
INFORMATION \\acdbcgf1\d$\temp\n03e097_tr3.sam SUCCESS FileFsDeviceInformation
CMD.EXE:800 SET INFORMATION
\\acdbcgf1\d$\temp\n03e097_tr3.sam SUCCESS Length: 79234
CMD.EXE:800 QUERY INFORMATION D:\temp\n03e097_tr3.sam SUCCESS Length: 79234

CMD.EXE:800 WRITE \\acdbcgf1\d$\temp\n03e097_tr3.sam SUCCESS Offset: 0
Length: 61440CMD.EXE:800 DELETE \\acdbcgf1\d$\temp\n03e097_tr3.sam SUCCESS

CMD.EXE:800 CLOSE D:\temp\n03e097_tr3.sam SUCCESS

CMD.EXE:800 CLOSE \\acdbcgf1\d$\temp\n03e097_tr3.sam SUCCESS

CMD.EXE:800 CLOSE D:\temp\n03e097_tr3.sam SUCCESS

CMD.EXE:800 DIRECTORY D:\temp\ NO MORE FILES FileBothDirectoryInformation

CMD.EXE:800 CLOSE D:\temp\ SUCCESS

According to filemon, it was able to copy the first part of the file, but
when it reaches offset 61440 , an ACCESS DENIED is caught.

Also, the machine I copy from is a Domain controller, the machine a copy to
is part of the domain. If I copy the same file on a machine outside of the
domain it works!

Thanks
Simon
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top