Visualizzazione dei risultati da 1 a 6 su 6
  1. #1

    find . -type d -exec chmod 755 {} \;

    Ciao a tutti, vorrei sapere come si fa in terminale di mac osx

    find . -type d -exec chmod 755 {} \;


    e mi restitursce

    find: -exec: no terminating ";" or "+"


    ce l'alternativa?

    Grazie
    ..:: GSFLASH ::..
    HTTP://WWW.GSFLASH.IT
    MCTS - ACP - OCP - ECDL
    Ubuntu 7.10/OpenSuse 10.3/Vista Premium/MacOSX Leopard
    My authentic japanese name is 薗田Sonoda (garden field) 大河 Taiga (big river)

  2. #2
    Sicuramente c'e' un altro modo, ma una volta che anch'io ho avuto lo stesso problema ho risolto cosi':

    codice:
    for i in `find . -type d`; do chmod 755 $i; done
    max

    Silence is better than bullshit.
    @mmarcon
    jHERE, Maps made easy

  3. #3
    trovato: la sintassi corretta e':

    codice:
    find . -type d -exec chmod 755 '{}' \;
    max

    Silence is better than bullshit.
    @mmarcon
    jHERE, Maps made easy

  4. #4
    ti ringrazio molto
    Saluti
    ..:: GSFLASH ::..
    HTTP://WWW.GSFLASH.IT
    MCTS - ACP - OCP - ECDL
    Ubuntu 7.10/OpenSuse 10.3/Vista Premium/MacOSX Leopard
    My authentic japanese name is 薗田Sonoda (garden field) 大河 Taiga (big river)

  5. #5
    accidenti, e un'altra cosa che non riesco a capire:


    find . -type d -exec chown root.root {} \; <-------- IN UNIX


    invece ho fatto su mac osx:

    find . -type d -exec chown root.root '{}' \;

    e dice ceh è invalido

    e ho guardato su internet

    in macosx per chown, deve essere root:root

    e ho scritto questo

    find . -type d -exec chown root:root '{}' \;

    e risponde ancora invalido aromento....
    ..:: GSFLASH ::..
    HTTP://WWW.GSFLASH.IT
    MCTS - ACP - OCP - ECDL
    Ubuntu 7.10/OpenSuse 10.3/Vista Premium/MacOSX Leopard
    My authentic japanese name is 薗田Sonoda (garden field) 大河 Taiga (big river)

  6. #6
    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
    ..:: GSFLASH ::..
    HTTP://WWW.GSFLASH.IT
    MCTS - ACP - OCP - ECDL
    Ubuntu 7.10/OpenSuse 10.3/Vista Premium/MacOSX Leopard
    My authentic japanese name is 薗田Sonoda (garden field) 大河 Taiga (big river)

Permessi di invio

  • Non puoi inserire discussioni
  • Non puoi inserire repliche
  • Non puoi inserire allegati
  • Non puoi modificare i tuoi messaggi
  •  
Powered by vBulletin® Version 4.2.1
Copyright © 2026 vBulletin Solutions, Inc. All rights reserved.