LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   set quota for wordpress users (https://www.linuxquestions.org/questions/linux-software-2/set-quota-for-wordpress-users-4175587389/)

packets 08-18-2016 10:32 PM

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 :-)

24x7servermanagement 08-21-2016 07:33 AM

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)

packets 08-21-2016 11:07 PM

Quote:

Originally Posted by 24x7servermanagement (Post 5593838)
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.

TenTenths 08-22-2016 04:23 AM

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


All times are GMT -5. The time now is 01:25 PM.