LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
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-29-2007, 03:16 AM   #1
NightSoul
LQ Newbie
 
Registered: Nov 2005
Location: Lithuania
Distribution: Slackware 10.2
Posts: 29

Rep: Reputation: 15
Unhappy apache+proftpd+permissions


Hello,

I have a linux server, there is some www+ftp users in my system. Yesterday I have a problem, when my friend said that he can't delete some files and directories from his ftp user. I looked to these files and saw, that they belong to nobody:nobody(my apache server also work as nobody:nobody). And I asked him, maybe he used php script that created files and he said that yes. Then I understoot that these files are created by apache service and thats why these files belong to nobody:nobody.

So my quoestion, how to solve this problem? I tried to configure proftpd, that he could delete other user's files, but it not worked(tried FakeDirUser,FakeDirGroup, FakeDirMode, umask, GroupOwner), the users still can't delete files, created by other user.

May be you can give me some suggestions, how to fix this?

P.S. Now I created a bash script, that chowns all files in users www dir to that user avery 10 minutes, but I think this is not good...

Sorry for my english.

Thanks.
 
  


Reply



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 permissions jeucken Linux - Networking 3 01-18-2006 03:54 AM
proftpd and file permissions Moses420ca Linux - Security 1 12-08-2003 05:17 AM
proFTPD permissions messed ka_alucard Slackware 4 05-23-2003 03:53 AM
proftpd permissions niehls Linux - Software 2 05-02-2003 02:33 PM
Proftpd Permissions Nephlite Linux - Networking 6 02-08-2002 09:26 AM

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

All times are GMT -5. The time now is 01:50 AM.

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