Permission denied - Page 3

Précédent
  • 1
  • 2
  • 3
ypypyp
 
Il y a cela

ordinateur-de-y:~ yvan$ sudo ls -l /usr/local/mysql/
Password:
total 88
-rw-r--r-- 1 root wheel 19071 Dec 15 2005 COPYING
-rw-r--r-- 1 root wheel 5712 Dec 15 2005 EXCEPTIONS-CLIENT
-rw-r--r-- 1 root wheel 7937 Dec 15 2005 INSTALL-BINARY
-rw-r--r-- 1 root wheel 1379 Dec 15 2005 README
drwxr-xr-x 51 root wheel 1734 Nov 29 20:36 bin
-rwxr-xr-x 1 root wheel 801 Dec 15 2005 configure
drwxr-x--- 16 mysql wheel 544 Dec 6 17:52 data
drwxr-xr-x 4 root wheel 136 Nov 29 20:36 docs
drwxr-xr-x 62 root wheel 2108 Nov 29 20:36 include
drwxr-xr-x 10 root wheel 340 Nov 29 20:36 lib
drwxr-xr-x 3 root wheel 102 Dec 29 2005 man
drwxr-xr-x 13 root wheel 442 Nov 29 20:36 mysql-test
drwxr-xr-x 3 root wheel 102 Nov 29 20:36 scripts
drwxr-xr-x 5 root wheel 170 Nov 29 20:36 share
drwxr-xr-x 31 root wheel 1054 Nov 29 20:36 sql-bench
drwxr-xr-x 14 root wheel 476 Nov 29 20:36 support-files
drwxr-xr-x 21 root wheel 714 Nov 29 20:36 tests
ordinateur-de-y:~ yvan$
0
ypypyp
 
Comment créer un nouveau répertoire ? Quelle est la commande à utiliser ?

Je retourne parfois sur le lien, mais je t'avoue que ne ne comprends pas trop... J'essaie pourtant ...
0
bob031 Messages postés 8228 Statut Membre 473
 
pour résumé :
donc :
pour /tmp/mysql.sock
srwxrwxrwx 1 mysql wheel 0 Dec 4 12:37 /tmp/mysql.sock

pour /usr/local/mysql
lrwxr-xr-x 1 root wheel 37 Nov 29 20:36 /usr/local/mysql -> mysql-standard-5.0.17-osx10.3-powerpc

pour /usr/local/mysql/data
drwxr-x--- 16 mysql wheel 544 Dec 6 17:52 data

pour /private/tmp
drwxrwxrwt 8 root wheel 272 Dec 5 20:58 /private/tmp

pour /usr/local/mysql-standard-5.0.17-osx10.3-powerpc
drwxr-xr-x 19 mysql mysql 646 Nov 29 20:36 .
drwxr-xr-x 7 root wheel 238 Nov 29 20:36 ..
-rw-r--r-- 1 root wheel 19071 Dec 15 2005 COPYING
-rw-r--r-- 1 root wheel 5712 Dec 15 2005 EXCEPTIONS-CLIENT
-rw-r--r-- 1 root wheel 7937 Dec 15 2005 INSTALL-BINARY
-rw-r--r-- 1 root wheel 1379 Dec 15 2005 README
drwxr-xr-x 51 root wheel 1734 Nov 29 20:36 bin
-rwxr-xr-x 1 root wheel 801 Dec 15 2005 configure
drwxr-x--- 16 mysql wheel 544 Dec 5 20:28 data
drwxr-xr-x 4 root wheel 136 Nov 29 20:36 docs
drwxr-xr-x 62 root wheel 2108 Nov 29 20:36 include
drwxr-xr-x 10 root wheel 340 Nov 29 20:36 lib
drwxr-xr-x 3 root wheel 102 Dec 29 2005 man
drwxr-xr-x 13 root wheel 442 Nov 29 20:36 mysql-test
drwxr-xr-x 3 root wheel 102 Nov 29 20:36 scripts
drwxr-xr-x 5 root wheel 170 Nov 29 20:36 share
drwxr-xr-x 31 root wheel 1054 Nov 29 20:36 sql-bench
drwxr-xr-x 14 root wheel 476 Nov 29 20:36 support-files
drwxr-xr-x 21 root wheel 714 Nov 29 20:36 tests
ordinateur-de-y:~ yvan$

et enfin pour : /usr/local/mysql/
-rw-r--r-- 1 root wheel 19071 Dec 15 2005 COPYING
-rw-r--r-- 1 root wheel 5712 Dec 15 2005 EXCEPTIONS-CLIENT
-rw-r--r-- 1 root wheel 7937 Dec 15 2005 INSTALL-BINARY
-rw-r--r-- 1 root wheel 1379 Dec 15 2005 README
drwxr-xr-x 51 root wheel 1734 Nov 29 20:36 bin
-rwxr-xr-x 1 root wheel 801 Dec 15 2005 configure
drwxr-x--- 16 mysql wheel 544 Dec 6 17:52 data
drwxr-xr-x 4 root wheel 136 Nov 29 20:36 docs
drwxr-xr-x 62 root wheel 2108 Nov 29 20:36 include
drwxr-xr-x 10 root wheel 340 Nov 29 20:36 lib
drwxr-xr-x 3 root wheel 102 Dec 29 2005 man
drwxr-xr-x 13 root wheel 442 Nov 29 20:36 mysql-test
drwxr-xr-x 3 root wheel 102 Nov 29 20:36 scripts
drwxr-xr-x 5 root wheel 170 Nov 29 20:36 share
drwxr-xr-x 31 root wheel 1054 Nov 29 20:36 sql-bench
drwxr-xr-x 14 root wheel 476 Nov 29 20:36 support-files
drwxr-xr-x 21 root wheel 714 Nov 29 20:36 tests


Comment créer un nouveau répertoire ? Quelle est la commande à utiliser ?

laisse tomber pour l'instant ...en dernier recours seulement !

Je retourne parfois sur le lien, mais je t'avoue que ne ne comprends pas trop... J'essaie pourtant ...
je te crois ! c'est pas facile au début et puis le forum est en anglais !
si j'ai l'étincelle je te ferais signe ! En atendant je t'invite à apprendre les bases UNIX (se déplacer dans l'arborescence, copier/déplacer/créer/effacer un fichier/dossier, les droits etc ... en quelques heures c'est fait).

bon courage.

:-))

PS : à priori je dirai que le souci pourrait venir de la différence suivante :

pour /usr/local/mysql-standard-5.0.17-osx10.3-powerpc
drwxr-xr-x 19 mysql mysql 646 Nov 29 20:36 .
drwxr-xr-x 7 root wheel 238 Nov 29 20:36 ..

pour /usr/local/mysql/
-rw-r--r-- 1 root wheel 19071 Dec 15 2005 COPYING
-rw-r--r-- 1 root wheel 5712 Dec 15 2005 EXCEPTIONS-CLIENT
0
ypypyp
 
Merci encore. Je vais m'y intéresser de plus près... J'ai déja tellement à apprendre avec php... mais en effet cela peut s'avérer très utile...
@ plus
0
Précédent
  • 1
  • 2
  • 3