Score:0

Copying files from Windows to Ubuntu via USB gives permissions or rights issues

jp flag

Copying from Windows 10 -> Ubuntu LTS 20.04

I want to use USB because the Ubuntu box is to be secure and not access any resources on the LAN nor have any online accounts.

I am running bitlocker on my Windows PC. I'm not sure if that's relevant. When I copy files I run into two different problems, say with a simple text file:

  • The file extension is the same but the error message opening it is "You do not have the permissions necessary to open the file"
  • The file has a .pfile extension and is garbled (it's protected by Windows Rights Management)

How do I avoid this? It's even worse because I backup my windows files to a veracrypt encrypted container on Windows. And even if stumble on the correct permissions so that I can open the encrypted container in Ubuntu - the files inside that container are all .pfile and so not accessible.

It's a frustrating exercise..

I need to correct my issue: the files on Windows were encrypted using EFS which leaves them encrypted even when copying to other drives

sudodus avatar
jp flag
The text files `file.txt` should be possible to read by Ubuntu. It is possible that the USB drive is mounted with ownership and permissions, that allow only the root user ID to read. In that case either use `sudo less file.txt` to read it and `sudo cp file.txt target-direcory` to copy it. But you may prefer to mount it so that your normal user ID can manage the files. See [this link](https://askubuntu.com/questions/11840/how-do-i-use-chmod-on-an-ntfs-or-fat32-partition/956072#956072). -- I don't know about the pfiles.
mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.