These forums are locked and archived, but all topics have been migrated to the new forum. You can search for this topic on the new forum: Search for How to set home directory of sub-server ftp user on the new forum.
Hi, I'm using Virtualmin and it works well, but I have a problem. After creating sub-domain like sub.example.com, parent server is example.com, I created FTP user "sub@sub.example.com". Then I connected to that server, so I found the home directory was "/home/example/domains/sub.example.com/public_html". It should be "/home/example/domains/sub.example.com" right? I'd like to put some files upper than public_html directory. I temporarily change the home directory by editing /etc/passwd, but please tell me anything better way. Thanks.
Howdy,
It sounds like you created a website FTP access user -- and those would typically home a home directory set to somewhere within the public_html folder.
You can indeed tweak the homedir like you've done, but there unfortunately isn't a simpler way to do that.
-Eric