Solution to linux Streaming Media Server Download failure

Source: Internet
Author: User
Solution to the problem that the linux Streaming Media Server cannot be downloaded-Linux Enterprise Application-Linux server application information. For details, refer to the following section. The user suggested that some movies can be downloaded, some cannot be downloaded, and the source distribution of the Films cannot be irregular. The FTP service reinstallation problem persists. Later, I found the answer by searching for file permissions.
The cause is that the directory does not provide the x permission, which causes FTP users to be unable to read the downloaded file content. (Puzzled: Why can streaming media still play?) The solution is as follows:
1. You cannot delete attributes such as modification and not delete the original file.
Find/-name '*. rm'-exec chattr-I {}\;
Find/-name '*. rm'-exec chattr-I {}\;
2. Set permissions for the Directory of each movie source Disk
Find/disk1/-name '*'-exec chmod 755 {}\;
Find/disk2/-name '*'-exec chmod 755 {}\;
3. Set permissions for streaming media files
Find/disk1/-name '*. rmvb'-exec chmod 644 {}\;
Find/disk1/-name '*. rm'-exec chmod 644 {}\;
Find/disk2/-name '*. rmvb'-exec chmod 644 {}\;
Find/disk2/-name '*. rm'-exec chmod 644 {}\;
4. Add permissions that cannot be deleted or modified to streaming media files
Find/-name '*. rm'-exec chattr + I {}\;
Find/-name '*. rm'-exec chattr + I {}\;
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.