• The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.
  • We’re working on enhancing the Monitoring feature in Plesk, and we could really use your expertise! If you’re open to sharing your experiences with server and website monitoring or providing feedback, we’d love to have a one-hour online meeting with you.

Change of Webuser's default directory

R

redblue

Guest
I have been getting disk quota problems (user reported unable to upload due to quota limitation) with a webuser after changing his default directory from http://hostname/~user to simply http://hostname/user. I tried changing the disk quota setting in Plesk but it didn't work. I have done the following as told by Plesk support for changing user directory:
Change FTP access:
1) change entry in /etc/passwd from kelvin:x:10002:10001::/../httpdocs/webusers/kelvin:/bin/false to kelvin:x:10002:10001::/../httpdocs/kc:/bin/false
2) allow permissions to read/write from new directory with chown -R kelvin:psaserv /../httpdocs/kc
Change Apahce user table:
1) mysql>update sys_users set home="/../httpdocs/kc" where login="kelvin";
2) apply the changes with the "websrvmng" utility:
---
(to recreate apacheconfigs acoding to teh database)
#/usr/local/psa/admin/sbin/websrvmng -a -v

(to restart client apache)
#/usr/local/psa/admin/sbin/websrvmng -r

What else do I have to do in order to enable disk quota changes?

Thanks!
 
Back
Top