[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[ale] chmod -R ?
- Subject: [ale] chmod -R ?
- From: bg-ale at bjorng.net (Björn Gustafsson)
- Date: Thu, 10 Jun 2010 17:43:38 -0400
- In-reply-to: <[email protected]>
- References: <[email protected]>
The problem is that chmod never sees the wildcard: it gets expanded by
the shell. You are asking it to recursively search a list of files
name *.txt. Since they are files there's nothing to recurse into.
On Thu, Jun 10, 2010 at 5:22 PM, <jcpilman at gmail.com> wrote:
> I recently changed my work laptop over to UBUNTU, Yea! All of the .txt
> files I copied over from XP and put in ~/Documents have execute
> permission for the owner. To change that, I tried:
> ~$ chmod -R a-x Documents/*.txt
> ~/Documents$ chmod -R a-x *.txt
> ~/Documents$ chmod -R a-x ./*.txt
> ~/Documents$ chmod -R u-x ./*.txt
> It fixes the permissions for the files in Documents, but it does not
> recurse into the lower Directories.
> I looked at the man pages, but haven't figured it out. ?I also made
> sure I am the owner with chown. ?All the files I copied were
> chown recursed the way I expected it on the first try.
> Can you see what I'm doing wrong?
> Ale mailing list
> Ale at ale.org
> See JOBS, ANNOUNCE and SCHOOLS lists at