cyberpanel
cyberpanel copied to clipboard
Move websites to their own folder
Websites are currently stored in /home/
, but there's also other non-website data in there like:
/home/cyberpanel/
/home/docker/
/home/vmail/
If we are messing around with files for our websites (zipping, unzipping, moving, deleting) we have to be very careful not to touch these system folders.
Could we move all websites to their own folder? For example /home/domains/
or /home/websites/
.
It would make me feel much safer.
Looking forward to your opinion.
Websites are currently stored in /home/, but there's also other non-website data in there.
Data like emails (I'd say) should be nested within the /home/$user/ folder (ie. /home/testuser/mail/), so it remains relative to the user. As for cyberpanel/ docker/ etc, I don't see why they need to be stored in /home/?
homedir structures are important with a system like CyberPanel, and in this case issue 854 may be a chance to house-keep. Are the developers open to changing the file system layout somewhat?
Could we move all websites to their own folder? For example /home/domains/
I think this goes against the traditional usage of /home/ and would instead recommend moving system folders out of /home/.
That accomplishes the same goal for me. So I'm equally for it.
System files should be moved from /Home to /root instead. This way it's not in a general "storage" folder. But I see no big issue having them where they are.
System files should be moved from /Home to /root instead.
Problem is that's not where they belong. Linux has different locations for different resources.
System files don't specifically belong to the root user, rather they're required by the CyberPanel software package.