Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 988193
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 16, 20262026-05-16T05:36:19+00:00 2026-05-16T05:36:19+00:00

I am having an issue with three older Drupal 6 sites that I can’t

  • 0

I am having an issue with three older Drupal 6 sites that I can’t seem to fix.

Whenever an admin uploads or edits a file, they get file permissions error. I tried setting the files folder to 777 -Rf. The problem seems to stem from the fact that files are getting created as apache instead of the virtualhost user (we use VirtualMin).

After chown and chgrp the files folder to the virtualhost user, everything works fine. Then, the next time a file is uploaded, that file is set to 644 permission and owned by apache.

Is there a configuration or directive needed to tell it to set files as the user with full permissions and not 644 apache?

The modules used to upload are the core Upload, FileField, ImageField, Imagecache and ImageAPI. GD2 is used to handle images.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-16T05:36:20+00:00Added an answer on May 16, 2026 at 5:36 am

    How about adding both the virtualhost user and apache to the www-data group, and put all the files in the files directory to the www-data group? Then you can set the permissions to more like 775 on the directories, and the files will be readable as needed.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Having an issue here that I have tried everything I can think of but
I'm having an issue with a query that currently uses LEFT JOIN weblog_data AS
Greetings everyone. Having an issue compiling my script containing the following function. Three errors
I have a rails project that uses mongodb, the issue i am having is
I'm having trouble getting an INSERT query to execute properly, and I can't seem
I'm having an issue with article Tags where a user can write an article
I'm having an issue with Drupal 6 Views and a module of my own.
I'm having an issue using a new WPF app that is trying to display
The issue that I am having is that I need to update page numbers
I'm having an issue getting some code to work. Is there a way to

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.