The image permission after downloading the centos 600 editor is unreadable.

Source: Internet
Author: User
The image uploaded by the Baidu editor under centos has the permission of 600. my system is shopex + centos, so there is no problem in uploading product images in the background. In the browser, a 600-degree editor www.tanliwa.cn2.html is embedded. in this editor, click upload File. the file is uploaded successfully, and FTP is displayed. click the source code of the editor to view the image address. However, the image upload permission is, therefore, the image uploaded by Baidu editor under centos is 600 unreadable.
My system is shopex + centos, and uploading product images in the background is fine. The front-end custom is embedded with a Baidu editor ghost.

How can I display it normally? all folders and files use chmod-R 777/var/home/html to set 777 permissions, which is not familiar with liunx permissions, hope you can give me some advice.


------ Solution --------------------
Your command is correct,

If not, check whether your Directory is/var/home/html;

Otherwise, try chown and chown to use baidu.
------ Solution --------------------
I also want to solve this problem!
------ Solution --------------------
Modify the back-end code of the editor. No environment at home. Where can I go back to the company tomorrow (if I still remember )?
------ Solution --------------------

This post was last edited by PhpNewnew at 09:09:15 on

Chown is the permission to modify the image when the image is displayed. of course, check whether the image has the permission before the modification.

Related Article

Contact Us

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.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.