ho risolto perchè il gruppo root non era ancora creato.
e poi un'altra cosa:
uso MAMP (macintosh apache mysql php)
sto facendo webmail client, prima di tutto devo fare le prove nel locale.
ho fatto le permissioni, ok
ma devo fare nella cartella di /var/data dove ci sono tutte le funzioni per webmail
nel manuale ce scritto di fare
find . -type f chown apache:apache '{}' \;
ma apache non è mai stato creato, e ho messo root:root
e andanto nel sito per iniziare l'installazione, mi restituisce che non ho i permessi...
come dovrei fare le permissioni?
Allego il manuale che è scritto:
codice:
WebMail PHP Installation Instructions for Unix
1. Download webmail-pro-php.zip archive.
2. Unpack contents of web folder from archive into subfolder of web-folder on your web server. For example into /var/www/html/webmailphp.
3. Unpack contents of data folder from archive into any folder on your web server. For example into /var/webmail_data. In this folder AfterLogic WebMail PHP stores configuration file and temporary files. Please note, to protect this folder contents from unauthorized access, make sure this folder cannot be accessed from the web.
4. Open inc_settings_path.php file from webmailphp folder, and set the value of the $dataPath variable to the physical path of data folder (e.g. $dataPath = "/var/data").
5. Now you should assign owners and their rights.
Change the current working directory to the folder with WebMail PHP scripts:
cd /var/www/html/webmailphp/
Assign rights to files and folders:
find . -type d -exec chmod 755 {} \;
find . -type f -exec chmod 644 {} \;
Assign owner to files and folders. You can assign another owner (the same as owner of other folders/files in /var/www/html/):
find . -type d -exec chown root.root {} \;
find . -type f -exec chown root.root {} \;
Change the current directory to the WebMail PHP working folder:
cd /var/webmail_data/
Assign rights to files and folders:
find . -type d -exec chmod 755 {} \;
find . -type f -exec chmod 644 {} \;
Assign owner to files and folders. Please note, Apache can be started under another user account, for example, under nobody.nogroup. Apache process (httpd) should have write permission to the specified folder, thus, you should assign as owner user Apache is running under:
find . -type d -exec chown apache.apache {} \;
find . -type f -exec chown apache.apache {} \;
6. Open http://yourserver.com/webmailphp/adminpanel page in your browser.
7. Use "mailadm" as Login name and "12345" as Password (it is strongly recommended to change this password in the future). First of all, you should specify your license key. Until you do this, all other settings will be inaccessible.
8. Now you can edit the following settings:
* Database Settings
* WebMail settings
* Interface settings
* Login settings
* Calendar settings
* Debug settings
* Server Integration
* Domains
* Users
* Admin Panel
* License Key
9. Select "Database Settings". Choose database type you wish to use: MS SQL Server or MySQL Server. Fill "SQL Login", "SQL Password" and "Database Name" fields. If you wish to connect through DSN, you need to fill "Data Source" field. Otherwise, to connect through TCP/IP, fill "Host" field.
Now you should click "Save" button and then "Create tables" button (or "Update tables" button if you're about to update your WebMail installation from v4.2.x or below).
10. AfterLogic WebMail PHP is ready to use.
Start using it at http://your_server_name/webmailphp/index.php.
Mi sono fermato a quello
find . -type f chown apache:apache '{}' \;
Grazie molto