/home and /home2 + Symlinks
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.
-
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. 0 -
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. 0 -
Hi, ) 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.0 -
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:0
Please sign in to leave a comment.
Comments
5 comments