[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: anomalies
From: |
Eric Blake |
Subject: |
Re: anomalies |
Date: |
Tue, 08 Aug 2006 07:18:44 -0600 |
User-agent: |
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.0.5) Gecko/20060719 Thunderbird/1.5.0.5 Mnenhy/0.7.4.666 |
-----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 à <address@hidden>.
> address@hidden:~$ sudo mkdir --m
> mkdir: l'option « --m » requiert un argument
> Pour en savoir davantage, faites: « mkdir --help ».
> address@hidden:~$ mkdir chmod
> address@hidden:~$ 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 address@hidden
-----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-----
- anomalies, diophante, 2006/08/07
- Re: anomalies,
Eric Blake <=