LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices

Reply
 
Search this Thread
Old 08-11-2012, 06:22 PM   #1
oscargim
LQ Newbie
 
Registered: Mar 2011
Location: Argentina
Distribution: CentOS 5.8 32 Bits
Posts: 27

Rep: Reputation: 0
Vsftpd users canīt modify or delete some files


I have a vsftpd server and when some users upload a joomla installation folders for example then they canīt delete or modify some files and folders, just in some of them!

I have been watching and realize that the proprietary number changes on the files that canīt be edited from the ones that yes on the FTP Client software

The editable files has: proprietary 516

The files canīt edit has: proprietary 48


I dont know how to change that o to leave vsftpd configuration so that doesn't happen anymore

Thanks

Last edited by oscargim; 08-11-2012 at 06:24 PM.
 
Old 08-11-2012, 08:22 PM   #2
Toggan
Member
 
Registered: Oct 2011
Distribution: CentOS 5.9
Posts: 39

Rep: Reputation: 4
Typically, when I see problems with files in any CMS like Joomla, it's because php is running as the apache user. So when something gets uploaded or created by the CMS, the ownership goes to apache and causes problems with your ftp users being able to work with those files.

Have you been able to review the user and group ownership to see if this is a possible cause?
 
Old 08-11-2012, 08:30 PM   #3
oscargim
LQ Newbie
 
Registered: Mar 2011
Location: Argentina
Distribution: CentOS 5.8 32 Bits
Posts: 27

Original Poster
Rep: Reputation: 0
Yes I guess is because of that.. I have Apache 2.0 Handler and not mod_cgi

How can I review user and group ownership??

thank you for helping!
 
Old 08-11-2012, 08:37 PM   #4
Toggan
Member
 
Registered: Oct 2011
Distribution: CentOS 5.9
Posts: 39

Rep: Reputation: 4
You appear to already have the owners of the files as 516 is usually a user that was created for the purpose of FTPing and 48, if I remember correctly, is apache.

You'll want to log into your server over SSH as root and then chown the files to the appropriate user.
 
Old 08-12-2012, 07:55 PM   #5
oscargim
LQ Newbie
 
Registered: Mar 2011
Location: Argentina
Distribution: CentOS 5.8 32 Bits
Posts: 27

Original Poster
Rep: Reputation: 0
Property 48 set to 516 with sudo chown -R USERNAME /home/user/*


thanks!
 
  


Reply

Tags
delete, file, ftp, vsftpd


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
anonymous users can't upload files-vsftpd dx0r515t Linux - Networking 3 11-21-2012 12:09 AM
vsftpd users cannot see all files in a directory sdonald Linux - Newbie 3 02-22-2012 06:32 AM
How to know if some users modify/delete/create files/directories in linux? b-RAM Linux - General 10 10-29-2010 04:58 AM
vsftpd + enableing users to upload files aeby Linux - Server 2 06-26-2007 01:48 PM
vsftpd: allow users to write and delete files me3 Linux - Software 4 03-04-2005 07:22 PM


All times are GMT -5. The time now is 03:27 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