Re: chmod / files and directories

2007-09-12 Thread Mel
On Tuesday 11 September 2007 13:15:55 Zbigniew Komarnicki wrote: On Monday 10 of September 2007 17:56:12 Zbigniew Szalbot wrote: Hello, I did read man chmod but I am not really wiser. Is there an option to recursively set 755 permissions for directories and 644 for files? When I just

Re: chmod / files and directories

2007-09-12 Thread Mel
On Wednesday 12 September 2007 23:34:31 Mel wrote: On Tuesday 11 September 2007 13:15:55 Zbigniew Komarnicki wrote: On Monday 10 of September 2007 17:56:12 Zbigniew Szalbot wrote: Hello, I did read man chmod but I am not really wiser. Is there an option to recursively set 755

Re: chmod / files and directories

2007-09-12 Thread Erik Osterholm
On Wed, Sep 12, 2007 at 11:34:31PM +0200, Mel wrote: On Tuesday 11 September 2007 13:15:55 Zbigniew Komarnicki wrote: On Monday 10 of September 2007 17:56:12 Zbigniew Szalbot wrote: Hello, I did read man chmod but I am not really wiser. Is there an option to recursively set 755

Re: chmod / files and directories

2007-09-11 Thread Zbigniew Komarnicki
On Monday 10 of September 2007 17:56:12 Zbigniew Szalbot wrote: Hello, I did read man chmod but I am not really wiser. Is there an option to recursively set 755 permissions for directories and 644 for files? When I just issue chmod -R 755 /usr/local/www/data/wp/ then all files and

chmod / files and directories

2007-09-10 Thread Zbigniew Szalbot
Hello, I did read man chmod but I am not really wiser. Is there an option to recursively set 755 permissions for directories and 644 for files? When I just issue chmod -R 755 /usr/local/www/data/wp/ then all files and directories under wp/ are given permissions 755 which is not what I want. I can

Re: chmod / files and directories

2007-09-10 Thread Daniel Bye
On Mon, Sep 10, 2007 at 05:56:12PM +0200, Zbigniew Szalbot wrote: Hello, I did read man chmod but I am not really wiser. Is there an option to recursively set 755 permissions for directories and 644 for files? When I just issue chmod -R 755 /usr/local/www/data/wp/ then all files and

Re: chmod / files and directories

2007-09-10 Thread Daniel Bye
On Mon, Sep 10, 2007 at 05:06:07PM +0100, Daniel Bye wrote: On Mon, Sep 10, 2007 at 05:56:12PM +0200, Zbigniew Szalbot wrote: Hello, I did read man chmod but I am not really wiser. Is there an option to recursively set 755 permissions for directories and 644 for files? When I just

Re: chmod / files and directories

2007-09-10 Thread Philip M. Gollucci
Zbigniew Szalbot wrote: Hello, I did read man chmod but I am not really wiser. Is there an option to recursively set 755 permissions for directories and 644 for files? When I just issue chmod -R 755 /usr/local/www/data/wp/ then all files and directories under wp/ are given permissions 755

Re: chmod / files and directories

2007-09-10 Thread Zbigniew Szalbot
Hello, 2007/9/10, Shantanoo Mahajan [EMAIL PROTECTED]: On 10-Sep-07, at 9:40 PM, Daniel Bye wrote: On Mon, Sep 10, 2007 at 05:06:07PM +0100, Daniel Bye wrote: On Mon, Sep 10, 2007 at 05:56:12PM +0200, Zbigniew Szalbot wrote: Hello, I did read man chmod but I am not really wiser. Is

Re: chmod / files and directories

2007-09-10 Thread Shantanoo Mahajan
On 10-Sep-07, at 9:40 PM, Daniel Bye wrote: On Mon, Sep 10, 2007 at 05:06:07PM +0100, Daniel Bye wrote: On Mon, Sep 10, 2007 at 05:56:12PM +0200, Zbigniew Szalbot wrote: Hello, I did read man chmod but I am not really wiser. Is there an option to recursively set 755 permissions for

Re: chmod / files and directories

2007-09-10 Thread Philip M. Gollucci
Daniel Bye wrote: On Mon, Sep 10, 2007 at 10:01:35PM +0530, Shantanoo Mahajan wrote: # find /usr/local/www/data/wp -type f -exec chmod 644 '{}' \; # find /usr/local/www/data/wp -type d -exec chmod 755 '{}' \; To be on safer side. :) Oh? Safer how? I've never come across that idiom before.

Re: chmod / files and directories

2007-09-10 Thread Daniel Bye
On Mon, Sep 10, 2007 at 01:38:13PM -0400, Philip M. Gollucci wrote: Daniel Bye wrote: On Mon, Sep 10, 2007 at 10:01:35PM +0530, Shantanoo Mahajan wrote: # find /usr/local/www/data/wp -type f -exec chmod 644 '{}' \; # find /usr/local/www/data/wp -type d -exec chmod 755 '{}' \; To be on

Re: chmod / files and directories

2007-09-10 Thread Pollywog
On Monday 10 September 2007 16:31:35 Shantanoo Mahajan wrote: On 10-Sep-07, at 9:40 PM, Daniel Bye wrote: On Mon, Sep 10, 2007 at 05:06:07PM +0100, Daniel Bye wrote: On Mon, Sep 10, 2007 at 05:56:12PM +0200, Zbigniew Szalbot wrote: Hello, I did read man chmod but I am not really wiser.

Re: chmod / files and directories

2007-09-10 Thread Garance A Drosihn
At 1:38 PM -0400 9/10/07, Philip M. Gollucci wrote: Daniel Bye wrote: On Mon, Sep 10, 2007 at 10:01:35PM +0530, Shantanoo Mahajan wrote: # find /usr/local/www/data/wp -type f -exec chmod 644 '{}' \; # find /usr/local/www/data/wp -type d -exec chmod 755 '{}' \; To be on safer side. :)

Re: chmod / files and directories

2007-09-10 Thread RW
On Mon, 10 Sep 2007 15:59:31 -0400 Garance A Drosihn [EMAIL PROTECTED] wrote: At 1:38 PM -0400 9/10/07, Philip M. Gollucci wrote: Daniel Bye wrote: On Mon, Sep 10, 2007 at 10:01:35PM +0530, Shantanoo Mahajan wrote: # find /usr/local/www/data/wp -type f -exec chmod 644 '{}' \; # find