bug-coreutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

getopts security problem


From: Nico Schottelius
Subject: getopts security problem
Date: Wed, 27 Oct 2004 13:40:40 +0200
User-agent: echo $message | gpg -e $sender -s | netcat mailhost 25

Hello dear developers,

I hope I am somehow hitting the correct list, if not, please
redirect me to the correct list.

While trying to change some permissions in my homedir, this happened to
me:

scice# chown nico.nico *
chown: unrecognized option `--owner=0'
Try `chown --help' for more information.

Well, sometime before I did a mistake with tar, which created the
file `--owner=0'. 

What I am asking you: Why does chown accept arguments, which are
not at the beginning? Is that a glibc "bug" or "feature"?

I know it from some other Unices, that only parameters allowed
at first, not after arguments.

Thanks for any help,

Nico

-- 
Keep it simple & stupid, use what's available.
Please use pgp encryption: 8D0E 27A4 is my id.
http://nico.schotteli.us | http://linux.schottelius.org

Attachment: pgpGlO8NNuxS9.pgp
Description: PGP signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]