From: Bruce Stephens <bruce+zsh@cenderis.demon.co.uk>
To: zsh-users@sunsite.auc.dk
Subject: Re: zsh tips for "UNIX Power Tools"
Date: 04 Mar 2000 12:43:44 +0000 [thread overview]
Message-ID: <87r9dq7vnj.fsf@cenderis.demon.co.uk> (raw)
In-Reply-To: Thomas=?iso-8859-1?q?_K=F6hler's?= message of "Sat, 4 Mar 2000 12:43:29 +0100"
Thomas Köhler <jean-luc@picard.franken.de> writes:
> On Sat, Mar 04, 2000 at 12:08:21AM +0100,
> Bruce Stephens <bruce+zsh@cenderis.demon.co.uk> wrote:
[...]
> > What's wrong with
> >
> > chmod -R go+rX .
>
> It simply sets wrong permissions :-)
> (and not every chmod has -R, which is bad)
>
> [from "man chmod"]:
> The letters `rwxXstugo' select the new permissions for the
> affected users: [...] execute only if the file is a directory
> or already has execute permission for some user (X)
> Oops - there's already some plain file mode 755 which I want to have
> mode 644 - your solution won't work...
Yes, depends on what you're trying to do. I was thinking of having a
tree of files and making them accessible to other people; you seem to
be thinking of having a tree of files which (incorrectly) are
executable (perhaps because they come from a zip file or something).
It's also doubtless the case that some chmod's don't have -R and/or X,
although Solaris 2.5.1 does, so it's not *just* GNU chmod that works.
next prev parent reply other threads:[~2000-03-04 13:20 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2000-03-02 16:13 Jerry Peek
2000-03-03 11:39 ` Thomas Köhler
2000-03-03 14:17 ` Jerry Peek
2000-03-03 23:05 ` Bruce Stephens
2000-03-04 5:40 ` Bart Schaefer
2000-03-04 12:05 ` Thomas Köhler
2000-03-04 16:38 ` Bart Schaefer
2000-03-04 17:18 ` Bart Schaefer
2000-03-04 12:31 ` Bruce Stephens
2000-03-04 11:43 ` Thomas Köhler
2000-03-04 12:43 ` Bruce Stephens [this message]
2000-03-04 12:22 ` Vincent Lefevre
2000-03-04 18:12 ` Bart Schaefer
2000-03-05 23:19 ` Vincent Lefevre
2000-03-06 0:30 ` Bart Schaefer
2000-03-06 20:51 ` Thomas Köhler
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87r9dq7vnj.fsf@cenderis.demon.co.uk \
--to=bruce+zsh@cenderis.demon.co.uk \
--cc=zsh-users@sunsite.auc.dk \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.vuxu.org/mirror/zsh/
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).