Date: Sun, 9 Jul 2006 16:10:43 -0500 From: "Kelly D. Grills" <kdgrills@the-grills.com> To: freebsd-questions@freebsd.org Subject: Re: default umask for Apache Message-ID: <20060709211033.GA93527@the-grills.com> In-Reply-To: <8e104c5252235df01ba3babda4fe7a59@prodigy.net> References: <8e104c5252235df01ba3babda4fe7a59@prodigy.net>
next in thread | previous in thread | raw e-mail | index | archive | help
[-- Attachment #1 --] On Sun, Jul 09, 2006 at 01:19:47PM -0700, jekillen wrote: > > Hello; > I've not had to do this on a Unix system before. But now I have Apache > running as nobody and > have php scripts creating and writing to directories. The files it > creates have the default mask > rw-r-r and I want to change it to rw-rw-- so I can remove the files and > dirs with group write permissions > via ftp. Could you not chmod the files / directories via your php script? See: http://php.net/manual/en/function.chmod.php > <question> > How do you change the default mask for a user like Apache on a Unix > system? > </question> I believe you can set this via envvars -- Kelly D. Grills kdgrills@the-grills.com [-- Attachment #2 --] -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.3 (FreeBSD) Comment: PGP key: mailto:kdgrills-pgpkey@the-grills.com iD8DBQFEsXDJ7inS5LzF7HMRAi/DAJ9/hNL2wD1DVq/HVhuHu2JIhvovNACeIeXl h1O2x/LRGqZ6cx3zbe7vfE8= =rCVv -----END PGP SIGNATURE-----
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20060709211033.GA93527>
