|
Re: Destination folder access denied For the problem of copying from network drives:
On Win Vista, trying to copy a file from a share on Win XP. Some
files work, others give "Destination Folder Access Denied".
The error is really at the source, not the destination.
If I right-click the files from Vista, click "properties", and pick
the "security" tab, the files that do not work say "You do not have
permission to view or edit this object's permission settings"
Back on Win XP, the only way I can find to see file permissions is to
open a command prompt and use the "cacls" command:
C:\share>cacls *
C:\share\file1.exe COMPAQ800\Harold:F
NT AUTHORITY
\SYSTEM:F
BUILTIN
\Administrators:F
C:\share\file2.exe Everyone:C
BUILTIN\Administrators:F
COMPAQ800\Harold:F
NT AUTHORITY\SYSTEM:F
BUILTIN\Users:R
The file1.exe gives the error, the file2.exe does not.
The difference is that file2.exe has "Everyone:C" and "BUILTIN
\Users:R".
So let's add those permissions to the first file and try again:
C:\share>cacls file1.exe /E /G Everyone:C
processed file: C:\share\file1.exe
Now the copy works! And permissions can be viewed on Win Vista also.
"Everyone:C" is what was needed ("BUILTIN\Users:R" did not help any).
To fix all the files in a directory, use * for the file name, and to
fix all files in all subdirectories also, add /T
Hope that helps!
--- Bob |