LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
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.

Notices


Reply
  Search this Thread
Old 06-21-2003, 07:01 AM   #1
philg
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 maindomain.com and then I have subuser1, subuser2 and subuser3. All users have ftp access to /home/maindomain.com 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:
Code:
ServerName                      "ProFTPD Default Installation"
ServerType                      standalone
DefaultServer                   on
TimeoutIdle       900
TimeoutNoTransfer 900
Port                            21
Umask                           022
MaxInstances                    30

User                            nobody
Group                           nogroup

DefaultRoot ~

<Global>
	AllowOverwrite				on
	IdentLookups         		off
</Global>

<Directory /home/maindomain.com/*>
	UserOwner					mainuser
	GroupOwner					mainuser
	AllowOverwrite				on
</Directory>
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 07:08 AM.
 
Old 06-21-2003, 12:13 PM   #2
Edward78
Member
 
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.
 
  


Reply


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 01:18 PM
Proftpd User Permissions discrepant Linux - Newbie 1 03-17-2005 04:33 PM
creating a user for ProFTPD WNxSquee Linux - Software 2 01-06-2004 06:41 PM
HELP! need proftpd.conf for single user ftp bruhv-ahh Linux - Software 2 12-31-2003 06:08 AM
ProFTPD user question... hct224 Linux - Newbie 1 09-28-2003 12:04 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 09:55 PM.

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