Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 15 Nov 2003 07:35:53 +0000
From:      "How Can ThisBe" <howcanthisbe300@hotmail.com>
To:        freebsd-questions@FreeBSD.ORG
Subject:   Re: File permission question
Message-ID:  <BAY7-F99mAJuGImSFUI00009f63@hotmail.com>

next in thread | raw e-mail | index | archive | help
>From: "Kevin D. Kinsey, DaleCo, S.P." <kdk@daleco.biz>
>
>How Can ThisBe wrote:
>
>>
>>My question is, when I make a new file or directory in ~/public_html (with
>>chown tigger:www), the file is made with the following permission:
>>
>>-rw-r--r--  1 tigger  www      0 Nov 15 13:42 public_html/test1.php
>>
>>How can I make new files without the world readable flag set, within the
>>public_html directory?
>>
>
>Change your umask.
>

But I only want the creation of new files and directories in the
~/public_html folder to inherit these permission. Everything else should
stay the same. I guess if this is the only solution it would do, but, I was
hoping for a per-directory setting.

_________________________________________________________________
Hot chart ringtones and polyphonics. Go to  
http://ninemsn.com.au/mobilemania/default.asp



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?BAY7-F99mAJuGImSFUI00009f63>