Mandrake 10.1 - ProFTPd - Permissions

Posted on 2005-05-05
Last Modified: 2013-12-15
I've just installed ProFTPd to my Mandrake Linux 10.1 server.  I've been running the Mandrake server for a while, but recently I needed an associate to edit / replace / add files on the server so installed the ftp.

My problem is that when I log in with his username and password, I can't do anything without getting a "550 Permission Denied" error.

All of the files in the directory are owned by either Root or Apache.  What do I need to do in order to allow my associate to make changes to the files within this directory?

500 points to whomever can explain this to me in clear and concise terms as my skill levels are only average within Linux; i.e. please don't respond with "oh, just change the permissions"

Here's a copy of my /etc/proftpd.conf file...

# This is a basic ProFTPD configuration file (rename it to
# 'proftpd.conf' for actual use.  It establishes a single server
# and a single anonymous login.  It assumes that you have a user/group
# "nobody" and "ftp" for normal operation and anon.

ServerName                  "FTP Server"
ServerType                  standalone
DefaultServer                  on

# Allow FTP resuming.
# Remember to set to off if you have an incoming ftp for upload.
AllowStoreRestart            on

# Port 21 is the standard FTP port.
Port                        21

# Umask 022 is a good standard umask to prevent new dirs and files
# from being group and world writable.
Umask                        022

# To prevent DoS attacks, set the maximum number of child processes
# to 30.  If you need to allow more than 30 concurrent connections
# at once, simply increase this value.  Note that this ONLY works
# in standalone mode, in inetd mode you should use an inetd server
# that allows you to limit maximum number of processes per service
# (such as xinetd).
MaxInstances                  5

# Set the user and group under which the server will run.
User                   ftp
Group                  ftp

# To cause every FTP user to be "jailed" (chrooted) into their home
# directory, uncomment this line.
DefaultRoot ~

# Normally, we want files to be overwriteable.
AllowOverwrite            on

# Bar use of SITE CHMOD by default

# Needed for NIS.

PersistentPasswd              off

# Default root can be used to put users in a chroot environment.
# As an example if you have a user foo and you want to put foo in /home/foo
# chroot environment you would do this:
# DefaultRoot /home/foo foo
Question by:ezSoftware
    LVL 40

    Accepted Solution

    Make each login account be a member of the same group that the web server rus as, typically apache. Then set group ownership to apache for all of the web site files and give that group write permissions.
    LVL 1

    Author Comment

    I was afraid to do that and wanted confirmation.  That worked, thanks much.

    For others who may experience this problem here's what I did...

    Within the Mandrake GUI (X) I went to the properties of the home directory of the site, clicked the Permissions tab, set the Group setting to "Can View and Modify Content", then set the User & Group to Apache.  Also checked the "Apply changes to all subfolders and there contents" box and then clicked OK.

    Added my user to the Apache group and everything worked like a champ.

    Featured Post

    How to run any project with ease

    Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
    - Combine task lists, docs, spreadsheets, and chat in one
    - View and edit from mobile/offline
    - Cut down on emails

    Join & Write a Comment

    Suggested Solutions

    Currently, there is not an RPM package available under the RHEL/Fedora/CentOS distributions that gives you a quick and easy way to allow PHP to interface with Oracle. As a result, I have included a set of instructions on how to do this with minimal …
    Join Greg Farro and Ethan Banks from Packet Pushers ( and Greg Ross from Paessler ( for a discussion about smart network …
    Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
    Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…

    734 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    17 Experts available now in Live!

    Get 1:1 Help Now