Upload a zip file to a linux host. After decompression, the permission is abnormal. Use a virtual machine to solve the File Permission problem.
Source: Internet
Author: User
Upload the zip file to the linux host. After decompression, the permission is abnormal. Use a virtual machine to solve the File Permission problem-Linux Enterprise Application-Linux server application information. For details, see the following. Yesterday, I downloaded a sablog installation package in rar format. It cannot be decompressed after being uploaded to a linux host. So I used winrar to decompress the package into zip format and then uploaded it to a linux host. The package was decompressed smoothly, however, I encountered a problem during the installation, and I was prompted that the permission was not enough. I checked that 644 of the file permissions should have been obtained. After decompression, the permission was 600, resulting in insufficient permissions. Change the permission, what's worse is that CPanel of the Space Provider provides the permission to modify a single folder and a single file. It is too troublesome to extract so many levels of directories one by one after the sablog is decompressed, with the tfp client tool leechftp, you can only modify permissions for multiple files in a single folder, but cannot recursively Modify permissions. You can only find another method.
I think of the Virtual Machine vmware installed a few days ago, virtualizing Ubuntu and turbolinux, and entering the ubuntu graphic interface, using samba file sharing access to copy the sablog under windows on the local machine, use chmod-R 744 sablog to modify all permissions, then use the tar-cf Command to package and upload it back to win, and then upload the packaged tar file under win to a remote linux host, decompress the package at the remote end. The permission is normal and can be properly installed. The problem is solved now.
Unexpectedly, the Directory Security in linux has brought a little trouble to install the php program. I have always thought that the zip compression format is no different from the rar compression format. Today I finally know the difference, zip is still relatively old, Bao Dao is not old, in linux win all to eat.
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.