Home  >  Article  >  Operation and Maintenance  >  What should I do if centos cannot paste files?

What should I do if centos cannot paste files?

coldplay.xixi
coldplay.xixiOriginal
2020-06-24 11:27:089091browse

What should I do if centos cannot paste files?

Solution to the problem that centos cannot paste files:

1. There is a "testfile" in the centos user directory A folder containing multiple files.

What should I do if centos cannot paste files?

#2. Right-click "Copy" and then "Paste", and a copy error prompt window will appear.

What should I do if centos cannot paste files?

What should I do if centos cannot paste files?

3. In some places, the right-click "Paste" button is gray and the file cannot be copied at all. These are mostly file permission issues. .

What should I do if centos cannot paste files?

#4. So in order to avoid these situations, we usually right-click on the folder and "Open in Terminal".

What should I do if centos cannot paste files?

5. Switch to the "root" user and use "chmod -R" to give the folder testfile to be copied and the files in it read and write permissions, for example, directly give 777.

chmod-R 777 testfile

What should I do if centos cannot paste files?

6. Then use the "cp -R" command to copy the folder testfile and the files inside , copy to the required location, such as home.

cp-R testfile/home

What should I do if centos cannot paste files?

7. Then we can find the copied testfile folder under home, inside The files are in there too.

What should I do if centos cannot paste files?

Recommended tutorial: "centos tutorial"

The above is the detailed content of What should I do if centos cannot paste files?. For more information, please follow other related articles on the PHP Chinese website!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn