-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

According to diophante on 8/7/2006 9:22 AM:

Sorry that I don't speak French, but I will attempt to reply.

> Rapporter toutes anomalies à <[email protected]>.
> [EMAIL PROTECTED]:~$ sudo mkdir --m
> mkdir: l'option « --m » requiert un argument
> Pour en savoir davantage, faites: « mkdir --help ».
> [EMAIL PROTECTED]:~$ mkdir chmod
> [EMAIL PROTECTED]:~$ sudo mkdir --help
> Usage: mkdir [OPTION] RÉPERTOIRE...
> Créer le(s) RÉPERTOIRE(s) si il(s) n'existe(nt) pas déjà.
> 
>   -Z, --context=CONTEXT (SELinux) set security context to CONTEXT
> Les arguments obligatoires pour les options de formes longues le sont aussi
> pour les options de formes courtes.
>   -m, --mode=MODE   utiliser le MODE des permissions d'accès
>                     (comme avec chmod),
>                     et non pas le mode  rwxrwxrwx - umask

Your details were very sparse, since all you did was a screen capture
without explanation of what you thought was the anomaly.  However, it
looks like your confusion is what makes a valid MODE argument when using
mkdir --m.  Try `chmod --help', which will show:
  Each MODE is of the form `[ugoa]*([-+=]([rwxXst]*|[ugo]))+'.
or that you can also use octal modes, like 0750.  For example:
`mkdir --m u+wrx,g+wx dir'

Remember that most long options are recognized when an unambiguous prefix
is used, so for mkdir, `--m' is the same as `--mode'.

If, on the other hand, you actually want a directory named `--m', try
`mkdir -- --m' or `mkdir ./--m'.

- --
Life is short - so eat dessert first!

Eric Blake             [EMAIL PROTECTED]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2.1 (Cygwin)
Comment: Public key at home.comcast.net/~ericblake/eblake.gpg
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFE2I8084KuGfSFAYARAiR+AKCfcPLCVDC/nTLvVFfhZ3dunLxgKwCePLLc
ptpJ64xhpMhCGy4rKpN7424=
=4pHV
-----END PGP SIGNATURE-----


_______________________________________________
Bug-coreutils mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/bug-coreutils

Reply via email to