Annonces Google
Serveur IRC
Serveur : irc.portlane.se
Canal : #AmigaNG
Activité du Site

Pages vues depuis 25/07/2007 : 25 252 768

  • Nb. de membres 187
  • Nb. d'articles 1 270
  • Nb. de forums 19
  • Nb. de sujets 20
  • Nb. de critiques 24

Top 10  Statistiques

Index du forum »»  OS4 toutes plateformes confondues »» syntaxe chmod ?

syntaxe chmod ?#2474

6Contributeur(s)
thelliersinisrusK-LLiozzd10hElwood
3 Modérateur(s)
K-LElwoodcorto
thellier thelliericon_post

Hello


je voudrai faire ceci sous AmigaOs4 (qui passe pas...)

chmod 777 -R *

Cad autoriser tout type d'accès sur tout les fichiers/répertoires

C'est quoi la syntaxe OS4 ?

Merci



Sam440 - Sam460 - X5000 - PowerBookG4 - WinUAE - MiniMig
sinisrus sinisrusicon_post
http://os4depot.net/share/network/ftp/perch.lha

c'est une extention de ftpmount

sinon avec dopus4 il me semble

Message édité par : sinisrus / 29-11-2017 16:56
K-L K-Licon_post
"chmod 777 R #?"

J'imagine que ce doit être ça vu que la sélection de tous les fichiers se fait avec #?
--
AmigaONE X1000/1,8 Ghz (A-Eon), Radeon RX560, 2 Go de Ram et OS4.1 FE
Lio Lioicon_post
ça doit surement etre C:Protect

Extrait de la doc :

commands/PROTECT                                             commands/PROTECT

   NAME
PROTECT - Change the protection bits of a file.

   FORMAT
PROTECT [FILE] <file|pattern> [FLAGS] [+|-] [<flags>]
       [ADD|SUB] [ALL] [QUIET] [GROUP] [OTHER] [CLONE]
       [CLEAR] [FILES] [DIRS]

   TEMPLATE
FILE/A,FLAGS,ADD/S,SUB/S,ALL/S,QUIET/S,USER/S,GROUP/S,
OTHER/S,CLONE/S,CLEAR/S,FILES/S,DIRS/S

   PATH
C:PROTECT

   FUNCTION
All files have a series of protection bits stored with them which control their attributes. These bits can be altered to indicate the type of file and the file operations permitted. PROTECT is used to set or clear the protection bits of a file.

The protection bits are represented by letters:

   r  The file can be read.
   w  The file can be written to (altered).
   e  The file is executable (a program).
   d  The file can be deleted.
   s  The file is a script.
   p  The file is a pure command and can be made resident.
   a  The file has been archived.
   h  The command file should be held resident in memory after it has
      been used (requires that the 'p' bit is set, too)

To see the protection bits associated with a file, use the LIST command. The protection field is displayed with set (on) bits shown by their letters and clear (off) bits shown by hyphens. For instance, a file that is readable, writable and deletable, will have ----rw-d in the protection field.

To specify the entire protection field at once, simply give the letters of the bits you want set as the FLAGS argument, without any other keywords. The named bits will be set, and all the others will be cleared.

A1G4/Radeon9000PRO/1Go RAM; X5000/RadeonR7-250x/2Go RAM; AOS4.1FE
Lio Lioicon_post
et chmod est une commande sous linux... existe pas sous AOS.
A1G4/Radeon9000PRO/1Go RAM; X5000/RadeonR7-250x/2Go RAM; AOS4.1FE
K-L K-Licon_post
@Lio

Si si :

Nouvelle tâche Shell 11
11.Workbench:> chmod
chmod: too few arguments
Try `chmod --help' for more information.
11.Workbench:> 


Ce doit êre une commande intégrée dans le SDK ;-)
--
AmigaONE X1000/1,8 Ghz (A-Eon), Radeon RX560, 2 Go de Ram et OS4.1 FE
zzd10h zzd10hicon_post
En effet, chmod est dans le SDK

4/0.RAM Disk:> which chmod
Dev:SDK/local/C/chmod


L'option est à mettre avant le mode de protection.


Je viens de tester dans RAM:T, ça marche en mettant "-R" avant "777"

4/20.RAM Disk:T> chmod -R 777  *

4/0.RAM Disk:T> ls -l
total 311
-rwxrwxrwx  1 root wheel    499 2017-11-30 07:56 blanker.log
-rwxrwxrwx  1 root wheel  10136 2017-11-30 07:56 Calendar_8.INFO
-rwxrwxrwx  1 root wheel  11178 2017-11-30 07:56 Clock_11.INFO
-rwxrwxrwx  1 root wheel 263366 2017-11-30 07:56 LittleBrother_9_0.jpg
-rwxrwxrwx  1 root wheel  11233 2017-11-30 07:56 LittleBrother_9_1.jpg
-rwxrwxrwx  1 root wheel  10798 2017-11-30 07:56 LittleBrother_9_2.jpg
-rwxrwxrwx  1 root wheel     83 2017-11-30 07:56 notifications.log
-rwxrwxrwx  1 root wheel   9653 2017-11-30 07:56 usb.log



4/20.RAM Disk:T> chmod --help
Usage: chmod [OPTION]... MODE[,MODE]... FILE...
  or:  chmod [OPTION]... OCTAL-MODE FILE...
  or:  chmod [OPTION]... --reference=RFILE FILE...
Change the mode of each FILE to MODE.

  -c, --changes           like verbose but report only when a change is made
      --no-preserve-root  do not treat `/' specially (the default)
      --preserve-root     fail to operate recursively on `/'
  -f, --silent, --quiet   suppress most error messages
  -v, --verbose           output a diagnostic for every file processed
      --reference=RFILE   use RFILE's mode instead of MODE values
  -R, --recursive         change files and directories recursively
      --help     display this help and exit
      --version  output version information and exit

thellier thelliericon_post

Sympa

Merci à vous tous = ça va m'aider pour recompiler EUAE :-)

Alain


Sam440 - Sam460 - X5000 - PowerBookG4 - WinUAE - MiniMig
K-L K-Licon_post
Citation: thellier 

ça va m'aider pour recompiler EUAE :-) 

Yeah !  
--
AmigaONE X1000/1,8 Ghz (A-Eon), Radeon RX560, 2 Go de Ram et OS4.1 FE
thellier thelliericon_post

>EUAE

Te réjouis pas trop vite : j'ai contacté les deux derniers mecs qui l'ont compilé  et  ainsi j'ai eu une doc sur comment le recompiler mais c'est loin d être facile : il est pas dit que j'y arrive tellement y a de trucs à faire  

... et si j'y arrive pas au moins j'aurai regroupé doc + sources + dépendances si qqun  veut prendre le relais

Sam440 - Sam460 - X5000 - PowerBookG4 - WinUAE - MiniMig
Petites Annonces

0 annonce(s) publiée(s)

Consulter

AmigaOS 4.1

Laissez-vous tenter par
AmigaOS 4.1
AmiTheme

AmiTheme