question

AntonioPerezMadrazo-5038 avatar image
0 Votes"
AntonioPerezMadrazo-5038 asked MotoX80 edited

No consigo realizar copia (COPY) de un archivo al directorio raíz de un disco duro externo con formato NTFS

No consigo realizar copia (COPY) de un archivo al directorio raíz de un disco duro externo con formato NTFS. Tampoco usando XCOPY.

Tampoco lo consigo al intentar copiarlo desde un disco externo al directorio raíz de otro disco externo:

Pero puedo conseguirlo si la unidad externa es una memoria flash, con formato exFAT, entonces la copia se efectúa perfectamente.

¿Por qué no se puede realizar la copia sobre el directorio raíz de un disco externo con formato NTFS?

Antonio.



not-supported
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

MotoX80 avatar image
0 Votes"
MotoX80 answered

So at some point, you copied a file to the external drive and copied it's permissions along with it. I have no way of knowing if that is right or wrong or what you intended to do.

Since your basic problem is root folder access, you can add an ACL that is set to "This folder and files". That will not push the permission down to subfolders which will avoid the problem you now see.

Try this.



124051-capture.jpg



capture.jpg (86.8 KiB)
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

DSPatrick avatar image
0 Votes"
DSPatrick answered

Q&A forums are currently English only. I'd try asking for help over here in dedicated forums.
https://social.msdn.microsoft.com/Forums/es-es/home
https://social.technet.microsoft.com/Forums/es-es/home
https://answers.microsoft.com/es-es

--please don't forget to upvote and Accept as answer if the reply is helpful--


5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

MotoX80 avatar image
0 Votes"
MotoX80 answered

Why can't I back up to the root directory of an NTFS-formatted external disk?‎

Probably because the default permissions only allow Administrators update access and the command prompt where you are running XCOPY was not opened with "run as administrator".

In the Windows Explorer, right click the volume and select Properties. Then select the Security tab. Grant "Users" full control.

Note, you did not say what error message you were getting. I assumed it to be "Access denied".

5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

AntonioPerezMadrazo-5038 avatar image
0 Votes"
AntonioPerezMadrazo-5038 answered MotoX80 commented

Hello MotoX80:

As you can see, YES really have Total Control, but don't get files copied with COPY or XCOPY command in root directory of this external disk

123686-i-have-total-control-but-dont-get-files-copied-or.jpg



Antonio


· 1
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

in root directory of this external disk

C:\Users is not the root directory on an external drive. What are the permissions on the root folder on the external drive?

0 Votes 0 ·
AntonioPerezMadrazo-5038 avatar image
0 Votes"
AntonioPerezMadrazo-5038 answered AntonioPerezMadrazo-5038 edited

MotoX80:

I suppose this is what you want to know:

123840-this-is-root-of-unit-e.jpg



5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

AntonioPerezMadrazo-5038 avatar image
0 Votes"
AntonioPerezMadrazo-5038 answered

Another view for SYSTEM group:

123852-this-is-for-system-group.jpg


And another for Administradores:

123883-this-is-for-administradores.jpg



Antonio


5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

MotoX80 avatar image
0 Votes"
MotoX80 answered

Another view for SYSTEM group:

You're not running as SYSTEM when you try the copy, so system doesn't matter.

And another for Administradores:

Even if the account that you are logged in with is a member of the Administrators group, the command prompt that you opened to run the XCOPY command won't get that security level unless you opened it with "run as administrator". (Unless you changed the default UAC setting.) In that case, your account is limited by the "Users" and "Creator Owner" entries.

Users probably has read only access, and Creator Owner is probably set to create "subfolders and files" but does not have access to the root folder.

Do you have any real security requirements for that external drive? Looks like you are using it for backup. I have an external Western Digital drive that I also use for backup and transferring files. I just set Users to Full Control. (I also added Everyone, which would also work. I don't remember why. Either one should be sufficient.)


123918-capture.jpg


123905-capture1.jpg



capture.jpg (43.1 KiB)
capture1.jpg (121.2 KiB)
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

AntonioPerezMadrazo-5038 avatar image
0 Votes"
AntonioPerezMadrazo-5038 answered AntonioPerezMadrazo-5038 edited

MotoX80:

Now I have stablished the following condition:

124012-now-i-have-stablished-this.jpg



Is this OK for get files copied with COPY or XCOPY command from a bath file?

Antonio


5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

AntonioPerezMadrazo-5038 avatar image
0 Votes"
AntonioPerezMadrazo-5038 answered MotoX80 edited

MotoX20:

After the changes I made before, I got the complete solution:

123910-this-was-the-final-solution.jpg


124052-now-is-ok.jpg



Thanks a lot for your help.

Antonio



· 1
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

You're welcome.

Dave

0 Votes 0 ·