File permission question

2003-11-14 Thread How Can ThisBe
Hi, I've just noticed a small issue, which I'm sure others are aware of. For apache to server users webpages, apache need to be able to read files and directories. So we have something like the following (by default) on FreeBSD; [EMAIL PROTECTED]:~% ls -Al ./ public_html/index.php | grep pub -rw-r

Re: file permission question

2004-09-24 Thread David Kirchner
/etc/passwd (probably really /etc/pwd.db) are used for several user-land programs including 'ls'. It's highly recommended that /etc/passwd stay readable to the world. Btw, the output of 'ps' can be easily reconstructed via access to the /proc filesystem. You can unmount this partition, but ps will

Re: file permission question

2004-09-24 Thread f.johan.beisser
On Mon, 1 Oct 2001, default wrote: > Hi, > > I am allowing a couple of ppl to have a shell account on one of my machines, > and I am making a few changes to disallow them from using certain things... > like chmoding the 'ps' command to 550 etc... > > I wanted to ask, is there any reason why one

Re: File permission question

2003-11-14 Thread Kevin D. Kinsey, DaleCo, S.P.
How Can ThisBe wrote: Hi, I've just noticed a small issue, which I'm sure others are aware of. For apache to server users webpages, apache need to be able to read files and directories. So we have something like the following (by default) on FreeBSD; [EMAIL PROTECTED]:~% ls -Al ./ public_html/ind

Re: File permission question

2003-11-15 Thread How Can ThisBe
From: "Kevin D. Kinsey, DaleCo, S.P." <[EMAIL PROTECTED]> 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 ca