When the Ubuntu system copies a file to another file, it prompts “Permission denied”, which means that the recognition is rejected, meaning that the permission to copy the file has found a problem, so how to solve it?
First, ostensibly because of lack of authority, and therefore can be resolved by way usr folder authorization:
zhengxiangwen @ 10: ~ $ sudo chmod -R 777 usr
where
-R refers to all subdirectories and files that are cascaded into the directory
777 is the highest privilege for all users
However, the above solution is only a temporary solution, in fact, we need to enter the system as an administrator, in order to be unimpeded
Then the problem comes, how can we enter the system as an administrator, down Look:
After Ubuntu is installed, the root initial password (default password) is unknown and needs to be set.
1, first use the user created when installing Ubuntu to log in to the system;
2, then enter the command: sudo passwd 摁 enter;
3, the next will Prompt you: Enter a new password, repeat the password, and finally prompt you for passwd:password updated sucessfully;
The root password has been set.
4, then you can enter the command: su root;
Log in to the system as root, then you can copy the file, you can.
The above is the solution to the Permission denied error when Ubuntu copies files. Just follow the steps above to set the root password and log in as root. You can copy the files normally.
As a beginner of Linux terminal, there is a lot of knowledge to learn. In addition
Kid3 can modify the tag tag of ID3 in mp3, can also modify the tag tag of ID3v1 and ID3v2 at the sam
As a qualified Linux system administrator, it is necessary to constantly monitor th
Linux users often use the scp and sftp commands when transferring remote files. How
How to let ordinary users use port
How Linux implements remote control of shell commands
Linux backup method through shell script
How to analyze Nginx logs in Linux system
Linux system settings DB2 and other services boot process
Introduction to Common Disk Arrays for Linux Systems
Ubuntu system pinyin can not correctly type how to solve?
Red Flag Linux6.0 system to install VirtualBox skills
Linux system uses FTP method by command
How to verify SHA1 and MD5 in Linux system?
Linxu system uses SSH to report Access Denied. What should I do?
Win10's 10 features, let you fall in love with it
Linux operating system sound card driver installation and configuration
What is the difference between the features of the Windows 10 system versions?
Windows7/8/8.1 accidentally deleted EFI startup items, unable to boot solution
How to close the file sharing wizard in Win10 10102 Preview?
Win10 will use the split screen function to increase the work efficiency by
How to modify the size of the recycle bin in the win8 system
How to run Android4.0 in Win7 and other systems
Six ways to speed up Win XP startup speed
Win7, Win8.1 upgrade Win10 TH2 official version of the detailed graphic tutorial