Rogerio

Well-Known Member
Sep 26, 2016
78
15
8
Sao Paulo, Brazil
cPanel Access Level
Root Administrator
Hello,

after use the "rearrange" feature to move an account between /home and /home2, a symbolic link (ln -s) remains in the original place. Can I delete it after some days? I believe it's created to avoid problems in current opened sessions.

Disregard the fact that one user can direct refer to the original path (hardcoded) in a PHP script, for example.

Password protected folders (Apache, base auth) can be a problem?

Thank you.
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,909
2,225
463
Hello,

The symbolic links are not absolutely required, and you can remove them if you prefer. Keep in mind their purpose is to ensure hard-coded paths (e.g. /home/user/public_html/cronjob.php) continue to work after rearranging the account. There's generally no downside to leaving the symbolic links in-place.

Thank you.
 

Rogerio

Well-Known Member
Sep 26, 2016
78
15
8
Sao Paulo, Brazil
cPanel Access Level
Root Administrator
Great, thank you. I'm moving to a new server, with /home and /home2 but /home2 is very large, so all transfers from the old server to the new server are moving the accounts to /home2, but the old server was /home, so, will not impact after rearrange.

Features that I really miss on cPanel:

1) choose the default partition to new accounts. It always picks the larger partition.
2) rearrange accounts (move between partitions), only one account per time. Multiple moves at same time would be great.

Thank you.
 

24x7server

Well-Known Member
Apr 17, 2013
1,911
96
78
India
cPanel Access Level
Root Administrator
Twitter
Hi,

1) choose the default partition to new accounts. It always picks the larger partition.
-> It fetches the default home directory that is put in the WHM basic configuration..

2) rearrange accounts (move between partitions), only one account per time. Multiple moves at same time would be great.
-> I guess that should be provided.. You can put a feature request to the cPanel for the same thing.
 
  • Like
Reactions: Rogerio

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,909
2,225
463
Features that I really miss on cPanel:

1) choose the default partition to new accounts. It always picks the larger partition.
2) rearrange accounts (move between partitions), only one account per time. Multiple moves at same time would be great.
1. You can force the use of "/home1" as part of the account creation, but only by disabling the "Additional home directories matching the following value will also be used for new home directory creations. (Leaving this value blank disables the feature.) This option only takes one value." option by entering a blank value. However, that will then require you to set this option to the "home" value again when it comes time to rearrange the account. Thus, there's currently no support to do exactly what you seeking without manually changing the settings each time you need to rearrange an account. We do have an existing feature request for this functionality at:

Set home directory for reseller

Note that it references "reseller" in the title, but the body actually notes the desire to do this for both resellers and roots (as part of a package feature). I encourage you to vote and add additional feedback to that request.

2. I encourage you to submit a feature request for the ability to rearrange multiple accounts:

Submit A Feature Request

Note that our feature request website is currently down for maintenance. It should resume functioning again within the next couple of days.

Thanks
 
  • Like
Reactions: Rogerio