Latest LQ Deal: Latest LQ Deals
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 06-21-2003, 08:01 AM   #1
LQ Newbie
Registered: Aug 2002
Posts: 3

Rep: Reputation: 0
Unhappy Pleasehelp with proftpd.conf - trying to config user to write files as other user.

Hi All,

I have a small problem with proftpd. What Im trying to do is setup users that will when uploading files, creating directories and overwriting will use another system user and group.

For example I have mainuser with domain name and then I have subuser1, subuser2 and subuser3. All users have ftp access to /home/ and all users have their own group that is the same as the username.

Now, how would I write my proftpd.conf to allow all users to overwrite files, upload files and created directories that are owned and grouped to mainuser?

So far my config file looks like this:
ServerName                      "ProFTPD Default Installation"
ServerType                      standalone
DefaultServer                   on
TimeoutIdle       900
TimeoutNoTransfer 900
Port                            21
Umask                           022
MaxInstances                    30

User                            nobody
Group                           nogroup

DefaultRoot ~

	AllowOverwrite				on
	IdentLookups         		off

<Directory /home/*>
	UserOwner					mainuser
	GroupOwner					mainuser
	AllowOverwrite				on
Now this does work when creating new files and directories but will give a permission denied when trying to overwrite anything.

Any help would be muchly appreciated!

Last edited by philg; 06-21-2003 at 08:08 AM.
Old 06-21-2003, 01:13 PM   #2
Registered: Jul 2002
Distribution: OpenSuSE 11
Posts: 441

Rep: Reputation: 30
Why aren't the users in the same group, that would let them do everything you want them to.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Proftpd user permissions powadha Linux - Software 1 09-21-2005 02:18 PM
Proftpd User Permissions discrepant Linux - Newbie 1 03-17-2005 05:33 PM
creating a user for ProFTPD WNxSquee Linux - Software 2 01-06-2004 07:41 PM
HELP! need proftpd.conf for single user ftp bruhv-ahh Linux - Software 2 12-31-2003 07:08 AM
ProFTPD user question... hct224 Linux - Newbie 1 09-28-2003 01:04 PM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 12:43 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration