You are hereForums / Bugs / Wrong permissions on cached files

Finally, the wait is over!!! Videocache 2.0.0 is here :-) Check changelog for changes and new features in this version. Contact Us for your free upgrade!!

Wrong permissions on cached files


3 replies [Last post]
Anonymous
Wrong permissions on cached files

When a cached file is written to the cache directory it is chmodded 0600 and owned by squid:squid. Thus apache can't read the file.

System is a Fedora 10 and videocache has been installed via RPM. SELinux is disabled.

admin's picture
Offline
Joined: Nov 2 2008

The permission should be 0644 instead of 0600. Can you please cross check. And make sure your selinux policy is not interfering with videocache.

Thank you for considering videocache :)

Felix (not verified)

I've rechecked. The files get the correct permissions when they are moved to their final destination. I only saw the files in the tmp dir which are chmodded 0600. This is probably the correct behaviour.

admin's picture
Offline
Joined: Nov 2 2008

The files in temp are not used for serving any kind of requests, so their permissions don't affect Apache readability or any other related issues. You videocache is working as expected :)

Thank you for using videocache :)

Post new comment

The content of this field is kept private and will not be shown publicly. If you have a Gravatar account associated with the e-mail address you provide, it will be used to display your avatar.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Allowed HTML tags: <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd> <img> <code>
  • Lines and paragraphs break automatically.
  • HTML tags will be transformed to conform to HTML standards.
  • Search Engines will index and follow ONLY links to allowed domains.

More information about formatting options

CAPTCHA
Are you a human visitor ?
Image CAPTCHA
Enter the characters shown in the image.

My Book on Squid

Purchase/Renew

Go to Pricing page to purchase a new license or renew your existing license.

Recent comments

Who's online

There are currently 0 users and 200 guests online.