On Fri, Apr 10, 2009 at 01:00:10PM +1000, Daniel Pittman wrote:
Kyle k...@attitia.com writes:
[snip]
There is a limit to the number of arguments you can pass to chmod,
though, so it is generally speaking better to structure that like this:
find -name '*.jpg' | xargs chmod -R 644
On Saturday 11 April 2009 00:06:56 slug-requ...@slug.org.au wrote:
[snip]
What am I missing?
find(1), which is used to locate a list of files matching a given set of
criteria, allowing you to do something like this:
chmod -R 644 `find -name '*.jpg'`
(Note the single-quotes around the
On Sat, Apr 11, 2009 at 07:57:09AM +0800, jam wrote:
On Saturday 11 April 2009 00:06:56 slug-requ...@slug.org.au wrote:
[snip]
What am I missing?
find(1), which is used to locate a list of files matching a given set of
criteria, allowing you to do something like this:
chmod -R 644
On Saturday 11 April 2009 10:00:04 slug-requ...@slug.org.au wrote:
On Saturday 11 April 2009 00:06:56 slug-requ...@slug.org.au wrote:
[snip]
What am I missing?
find(1), which is used to locate a list of files matching a given set
of criteria, allowing you to do something like
On Saturday 11 April 2009 10:00:04 slug-requ...@slug.org.au wrote:
On Saturday 11 April 2009 00:06:56 slug-requ...@slug.org.au wrote:
[snip]
What am I missing?
find(1), which is used to locate a list of files matching a given set
of criteria, allowing you to do something like
jam j...@tigger.ws writes:
On Saturday 11 April 2009 10:00:04 slug-requ...@slug.org.au wrote:
On Saturday 11 April 2009 00:06:56 slug-requ...@slug.org.au wrote:
[snip]
What am I missing?
find(1), which is used to locate a list of files matching a given set
of criteria, allowing
Hi Sluggers,
I'm having a bit of grief with chmod and am hoping one of you gurus will
set me straight pls.
I have a bunch of directories with a bunch of files (pictures) in each.
I want to set directories to 775 and files to 664.
I can do a chmod -R 775 *. But then if I do a chmod -R 664
Kyle k...@attitia.com writes:
I'm having a bit of grief with chmod and am hoping one of you gurus
will set me straight pls.
You have a problem with argument globbing on Unix, not chmod, which
might explain why you are having trouble finding out what is going
wrong.
I have a bunch of
Andrewd wrote:
I have a bunch of files I need to chmod. All files exist under a main
directory and also under sub directories (of the main). I know I can
chmod 666 *.php but I need to do that in each directory. How do I tell
it to go thru each sub directory and change the files
chmod -R 666
On Tue, 2004-09-07 at 15:55, Christopher Vance wrote:
On Tue, Sep 07, 2004 at 03:39:26PM +1000, David Gillies wrote:
or just a plain old chmod -R 666 *.php
This won't do it.
chmod -R og=u .
--
Peter Miller [EMAIL PROTECTED]
signature.asc
Description: This is a digitally signed message
Peter Miller wrote:
On Tue, 2004-09-07 at 15:55, Christopher Vance wrote:
On Tue, Sep 07, 2004 at 03:39:26PM +1000, David Gillies wrote:
or just a plain old chmod -R 666 *.php
This won't do it.
chmod -R og=u .
chmod -R 666 *
will work, unless you don't want all files to be changed, in which case
Hi Phil
On Tue, 07 Sep 2004, Phil Scarratt wrote:
Peter Miller wrote:
On Tue, 2004-09-07 at 15:55, Christopher Vance wrote:
On Tue, Sep 07, 2004 at 03:39:26PM +1000, David Gillies wrote:
or just a plain old chmod -R 666 *.php
This won't do it.
chmod -R og=u .
chmod -R
On Mon, 06 Sep 2004 20:13:23 +1000
Andrewd [EMAIL PROTECTED] wrote:
I have a bunch of files I need to chmod. All files exist under a main
directory and also under sub directories (of the main). I know I can
chmod 666 *.php but I need to do that in each directory. How do I tell
it to go thru
[EMAIL PROTECTED] wrote:
this will probably be wasted unless you fix the dirs as well:
find . -type f -exec chmod g=rwx,o=rx {} \;
Ummm, if you want to fix the directories, you'd be better off running this:
find . -type d -exec chmod g=rwx,o=rx {} \;
Your command was setting all
On Wed, Sep 08, 2004 at 11:04:41AM +1000, David Gillies wrote:
[EMAIL PROTECTED] wrote:
this will probably be wasted unless you fix the dirs as well:
find . -type f -exec chmod g=rwx,o=rx {} \;
Ummm, if you want to fix the directories, you'd be better off running this:
I have a bunch of files I need to chmod. All files exist under a main
directory and also under sub directories (of the main). I know I can
chmod 666 *.php but I need to do that in each directory. How do I tell
it to go thru each sub directory and change the files
Thanx
Andrew D
--
SLUG - Sydney
quote who=Andrewd
I have a bunch of files I need to chmod. All files exist under a main
directory and also under sub directories (of the main). I know I can chmod
666 *.php but I need to do that in each directory. How do I tell it to go
thru each sub directory and change the files
You can
Andrewd wrote:
I have a bunch of files I need to chmod. All files exist under a main
directory and also under sub directories (of the main). I know I can
chmod 666 *.php but I need to do that in each directory. How do I tell
it to go thru each sub directory and change the files
The find command
On Tue, Sep 07, 2004 at 03:39:26PM +1000, David Gillies wrote:
or just a plain old chmod -R 666 *.php
This won't do it.
--
Christopher Vance
--
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
19 matches
Mail list logo