[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Setting Default Group Permissions In Folders

On Thu, Oct 8, 2009 at 12:47 AM, Austin Brkich <austin.brkich@gmail.com> wrote:
> This has probably been asked a million times and I have yet to seen a
> proper response when searching for the answer.
> I have created a new group called www-user, this group is suppose to
> allow multiple users to read/write/execute files/folders in /var/www.
> I have used chmod to allow new files/folders to automatically get the
> group www-user however I am unable to automatically set the
> permissions to 664 and there defaulting to 644. I know this is do to
> umask however umask is reset every time you login and yadda yadda.

Did you try to add umask to ~/.bashrc ?

Reply to: