forked from zpanel/zpanelx
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
17 additions
and
0 deletions.
There are no files selected for viewing
17 changes: 17 additions & 0 deletions
17
...d/config_packs/centos_6_5/zpanelx-install/sql/zpanelx-update/10-0-1/sql/zpanel_update.sql
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
/* Update SQL for CentOS 6 ZPanel 10.0.0 to 10.0.1 */ | ||
USE `zpanel_core`; | ||
/* New Postfix User for new postfix configs */ | ||
GRANT ALL PRIVILEGES ON zpanel_postfix.* | ||
TO 'postfix'@'localhost' IDENTIFIED BY 'postfix'; | ||
FLUSH PRIVILEGES; | ||
|
||
USE `zpanel_proftpd`; | ||
/* Change the Uid and Gid of all FTP users to enable editing of apache owned files */ | ||
ALTER TABLE `zpanel_proftpd`.`ftpuser` | ||
CHANGE COLUMN `uid` `uid` SMALLINT(6) NOT NULL DEFAULT '48', | ||
CHANGE COLUMN `gid` `gid` SMALLINT(6) NOT NULL DEFAULT '48'; | ||
UPDATE `zpanel_proftpd`.`ftpuser` SET `uid`='48', `gid`='48'; | ||
|
||
USE `zpanel_core`; | ||
/* Update the ZPanel database version number */ | ||
UPDATE `zpanel_core`.`x_settings` SET `so_value_tx` = '10.0.1' WHERE `so_name_vc` = 'dbversion'; |