move user to other partition

enricovangoor

Verified User
Joined
Oct 30, 2020
Messages
15
Location
Netherlands
Hi all

I'm using directadmin with proftpd. Recently I move 1 user to a different partition (from /home to /home2) using the guide below:


I left the old location for safe keeping. Today the customers uploaden files using ftp and his website wasn't updated. The homedir in /etc/proftp.passwd still pointed to the old location.
After I manually changed it, the webinterface (FTP Accounts) showed the right location. When I create a new ftp account, the correct location is used. When the customer uses FTP he's going to the correct location as well.

I checked /usr/local/directadmin/data/users/<username> and found a few more files which held the old location:
  • crontab.conf
  • domains/<domain>.ftp (DefaultRoot)
I also manually editted these files and did a rewrite_confs afterwards. The files domains/<domain>.ftp still had the new locations, but crontab.conf was rewritten with the old location.

Have I overlooked something or is this a bug in rewrite_confs?


Enrico
 
Last edited:
Back
Top