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 02-23-2005, 09:15 AM   #1
john8675309
Member
 
Registered: Oct 2003
Location: Spencer, Iowa
Distribution: Slackware (of course)
Posts: 67

Rep: Reputation: 16
proftpd chown as root failed


Has anyone ever had this error in proftpd:
Chown() as root failed.

My Situation is I have a user that is a member of the webedit group and he is not the owner of the file so when he uploads I need the file's owner to change. So In proftpd my configuration looks like this:


ServerName "ProFTPD Default Installation"
ServerType standalone
#ServerType inetd
DefaultServer on
Port 21
Umask 002
MaxInstances 30
User nobody
Group nogroup
SystemLog /var/log/proftpd.log
TransferLog /var/log/xferlog
DefaultRoot ~
UseReverseDNS off
DefaultTransferMode binary

# Normally, we want files to be overwriteable.
<Directory /*>
AllowOverwrite on
GroupOwner webedit
UserOwner djhass
<Limit SITE_CHMOD>
AllowUser matt
AllowUser root
AllowGroup webedit
</Limit>
<Limit ALL>
AllowUser matt
AllowGroup webedit
</Limit>
</Directory>

I assune it has something to do with the GroupOwner Directive and the UserOwner Directive. Any help I could be given would be apperciated.
 
Old 12-06-2005, 05:52 PM   #2
the_mk
LQ Newbie
 
Registered: Dec 2005
Posts: 2

Rep: Reputation: 0
cat >> /etc/proftpd/proftpd.conf << "EOF"
<IfModule mod_cap.c>
CapabilitiesEngine off
</IfModule>
EOF




works fine
 
Old 12-06-2005, 05:53 PM   #3
the_mk
LQ Newbie
 
Registered: Dec 2005
Posts: 2

Rep: Reputation: 0
I can't post original post

(I still haven't got 5 posts)
 
  


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: proftpd startup failed tumana Linux - Newbie 14 06-17-2012 12:06 PM
Oops! I did a chown -R root from the '/' level Wujen Linux - Newbie 4 04-06-2005 06:20 PM
Disabling the chroot in proftpd and enabling root logins on ssh/proftpd jon_k Linux - Software 1 06-16-2004 11:27 AM
CHOWN as root fails; owner 4294967295? eventide Linux - Hardware 1 11-24-2003 01:42 AM
chmod vs chown on some root files and yes apps ergo_sum Linux - Newbie 3 11-12-2003 11:49 AM


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

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration