You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@mina.apache.org by Emmanuel Lecharny <el...@gmail.com> on 2011/01/14 10:38:11 UTC

File owned by user, not writable by group on /www/mina.apache.org

Hi guys,

can you recursively chmod all the files you own on /www/mina.apache.org 
so that they are writable by the mina group ?

Also change you mask to 002 when you access this directory, otherwise 
every modification you will do will see the added files have a 644 right 
by default...

Thanks !

-- 
Regards,
Cordialement,
Emmanuel Lécharny
www.iktek.com


Re: File owned by user, not writable by group on /www/mina.apache.org

Posted by Emmanuel Lécharny <el...@apache.org>.
On 1/14/11 10:52 AM, Niklas Gustavsson wrote:
> On Fri, Jan 14, 2011 at 10:38 AM, Emmanuel Lecharny<el...@gmail.com>  wrote:
>> Also change you mask to 002 when you access this directory, otherwise every
>> modification you will do will see the added files have a 644 right by
>> default...
> I got umask 002 in my .profile but this still happens. I'm guessing it
> might be because the files are rsynced by cron. Perhaps I need to run
> the chmod as part of the cron job.

yes, most certainly.

We should check those things because it's time consuming...

-- 
Regards,
Cordialement,
Emmanuel Lécharny
www.iktek.com


Re: File owned by user, not writable by group on /www/mina.apache.org

Posted by Niklas Gustavsson <ni...@protocol7.com>.
On Fri, Jan 14, 2011 at 10:38 AM, Emmanuel Lecharny <el...@gmail.com> wrote:
> Also change you mask to 002 when you access this directory, otherwise every
> modification you will do will see the added files have a 644 right by
> default...

I got umask 002 in my .profile but this still happens. I'm guessing it
might be because the files are rsynced by cron. Perhaps I need to run
the chmod as part of the cron job.

/niklas