LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 08-18-2016, 09:32 PM   #1
packets
Member
 
Registered: Oct 2005
Posts: 330

Rep: Reputation: 32
set quota for wordpress users


Hi all, I set a linux quota in /home to limit user space. This box is used for wordpress. My quota is already working. My concern is how to implement it to wordpress. When user upload files, the file is owned by httpd. Even if I already chown the file, it was already uploaded.

Does anyone here using wordpress and how did you limit your user space? I don't have access to wordpress admin interface but I have root to update any files on their home directory :-)
 
Old 08-21-2016, 06:33 AM   #2
24x7servermanagement
Member
 
Registered: Jul 2016
Location: India
Distribution: CentOS, Redhat, Ubuntu and Debian
Posts: 57

Rep: Reputation: Disabled
If you have setup a quota to the user then word press installation use by that user should failed to upload any new file.
May be you can add another word press user and try to upload new file? (Make sure the quota is already exceeded by that user and then try to upload)
 
Old 08-21-2016, 10:07 PM   #3
packets
Member
 
Registered: Oct 2005
Posts: 330

Original Poster
Rep: Reputation: 32
Quote:
Originally Posted by 24x7servermanagement View Post
If you have setup a quota to the user then word press installation use by that user should failed to upload any new file.
May be you can add another word press user and try to upload new file? (Make sure the quota is already exceeded by that user and then try to upload)
uploading via file is being denied so quota is working. But if they uses wordpress upload, it is uploading because the account being use to transfer is the httpd account (apache) and not his unix account.
 
Old 08-22-2016, 03:23 AM   #4
TenTenths
Senior Member
 
Registered: Aug 2011
Location: Dublin
Distribution: Centos 5 / 6 / 7
Posts: 3,240

Rep: Reputation: 1408Reputation: 1408Reputation: 1408Reputation: 1408Reputation: 1408Reputation: 1408Reputation: 1408Reputation: 1408Reputation: 1408Reputation: 1408
Create virtual file systems for each user.
http://www.linuxquestions.org/questi...-quota-601140/
http://souptonuts.sourceforge.net/quota_tutorial.html
 
  


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
LXer: How to set up WordPress on the Raspberry PI LXer Syndicated Linux News 0 02-14-2014 08:41 AM
Disable quota in Wordpress single site installation linuxlover.chaitanya Linux - Server 2 10-05-2013 11:41 AM
To set the quota mohammed nadeem Linux - Newbie 3 03-11-2010 06:30 AM
Problem with quota for users. wegadnie Linux - General 9 12-24-2008 01:23 AM
how to set quota awp Slackware 1 04-27-2003 12:58 PM

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

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