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 6750887
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T12:51:40+00:00 2026-05-26T12:51:40+00:00

I set up a folder (/srv/www/). In this folder, all Apache virtual hosts are

  • 0

I set up a folder (/srv/www/). In this folder, all Apache virtual hosts are located.
For example;

  • /srv/www/domain.com
  • /srv/www/domain2.com

I created a group ftp-users and executed the following commands:

  1. groupadd ftp-users
  2. chmod 755 /srv/www
  3. chown root:ftp-users /srv/www

Whenever I upload a file to /srv/www/domain.com/public_html/ it gets CHMOD 600 by default, this has to be 755.

How do I do this?

Using Debian Squeeze, Apache and vsFTPd.

  • 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-26T12:51:40+00:00Added an answer on May 26, 2026 at 12:51 pm

    From the vsftpd manpage:

    file_open_mode
    The permissions with which uploaded files are created. Umasks are applied on top of this value. You may wish to change to 0777 if you want uploaded files to be executable.
    Default: 0666

    local_umask
    The value that the umask for file creation is set to for local users. NOTE! If you want to specify octal values, remember the “0” prefix otherwise the value will be treated as a base 10 integer!
    Default: 077

    Play around with theese two values to achiev what you want 😉

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

Sidebar

Related Questions

If I have a folder structure set up like this: ~/Projects emacs package1 package1-helpers
I set up a website and I created a folder names (docs) in the
I have a set of images in a folder call 'uploads/', all the files
I am trying to set the permissions of a folder and all of it's
I have my root folder set to /var/www/html , but I have php program
Does anyone know how to set the initial folder of the open project or
I know it is possible to set the current folder of the OpenFolderDialog to
I have a Visual Studio Setup project which has a Application Folder DefaultLocation set
I wrote code to set permission of the folder. Function I developed was public
Suppose I have a set of commits in a repository folder... 123 (250 new

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.