Author |
|
JohnCisco Newbie
Joined: 27 August 2009
Online Status: Offline Posts: 5
|
Posted: 27 August 2009 at 9:32am | IP Logged
|
|
|
Two part problem. I run the install script and under "WebMail data Folder" and "Creating/Deleting files" it says "Error, can't create/delete files in data folder"
I have set the permissions of the data folder and all subfolders to 777 and all files inside the data folder and subfolders to 666. I've checked this with multiple FTP clients and all show the permissions as they should be. ???
When I login to the admin section to setup the account, connecting to the SQL server is fine, when I add a domain I get "Failed to save domain" error when adding a domain. I'm assuming this has to do with the previous error?
confused...
|
Back to Top |
|
|
JohnCisco Newbie
Joined: 27 August 2009
Online Status: Offline Posts: 5
|
Posted: 27 August 2009 at 9:33am | IP Logged
|
|
|
forgot to mention I'm using the PHP version
|
Back to Top |
|
|
JohnCisco Newbie
Joined: 27 August 2009
Online Status: Offline Posts: 5
|
Posted: 27 August 2009 at 10:07am | IP Logged
|
|
|
spoke too soon, didn't see the "create tables" button on the admin panel for the database...i can add domains now but still don't know why I get the error when the folders are all set to 777
|
Back to Top |
|
|
JohnCisco Newbie
Joined: 27 August 2009
Online Status: Offline Posts: 5
|
Posted: 27 August 2009 at 11:53am | IP Logged
|
|
|
So I've diagnosed the problem now and it is the folders must have permissions set to 777 in order for new files/folders to be created inside them. This is all done, but when the program makes a new folder when you check your mail to save all the mail data, the new folder has 755 permissions so nothing under it gets created.
Is there a way in the program to force a 777 on a new folder that is created?
|
Back to Top |
|
|
Igor AfterLogic Support
Joined: 24 June 2008 Location: United States
Online Status: Offline Posts: 6092
|
Posted: 28 August 2009 at 2:28am | IP Logged
|
|
|
By default, folders are created with 777 permissions. If that doesn't work for you for some reason, we suggest to search for mkdir through the source code and modify the code as follows:
Before:
Under:
--
Regards,
Igor, AfterLogic Support
|
Back to Top |
|
|
JohnCisco Newbie
Joined: 27 August 2009
Online Status: Offline Posts: 5
|
Posted: 31 August 2009 at 10:07am | IP Logged
|
|
|
Thanks for the tip. For anyone else with a similar issue...
Even making that change wasn't working for me. Turns out that if Safe Mode is on, PHP ignores the permissions you set with mkdir so be sure safe mode is off as well.
|
Back to Top |
|
|