joe smith <address@hidden> wrote:
> chmod is suppose to have a switch call "a+x" according to sun,
Sun's documentation describes Sun's chmod program, not GNU's. But
they happen to share this feature anyway.
> but it appear to not have this switch.
Works for me.
$ ls -l foo
-rw-r--r-- 1 prj default 0 Dec 4 15:20 foo
$ chmod a+x foo
$ ls -l foo
-rwxr-xr-x 1 prj default 0 Dec 4 15:20 foo
$ chmod --version
chmod (coreutils) 5.0
Written by David MacKenzie.
Copyright (C) 2003 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
If you're using an older version of GNU chmod, try upgrading. If
you're using a non-GNU implementation of chmod, you'll have to talk to
whoever wrote that implementation.
paul