On Thursday 25 October 2001 11:41, you wrote:
> How do I set permissions for a certain user (ie nobody) for a directory?
> If I do this, won't anyone on teh server be able to write to that
> directory?
If you're going to start messing around with *nix permissions, you really,
really need to have
How do I set permissions for a certain user (ie nobody) for a directory?
If I do this, won't anyone on teh server be able to write to that directory?
Thanks,
Jeff
At 10:39 AM 10/25/01 -0700, Kurt Lieber wrote:
>On Thursday 25 October 2001 10:08, you wrote:
>> > $GalleryPHPName = "Pins";
>> mkdir
Jeff,
If this script is running as nobody, or some other low-class user, and the
permissions on the directory in which you are attempting to create a
sub-directory do not allow the creation of the sub-directory by this user,
then mkdir will fail.
Say your script resides in 'php-stuff' with permi
a) check to see if the user that apache is running as has access to the
directory you're trying to write to.
b) try removing the quotes around 0775
Mike
Jeff Gannaway wrote:
>$GalleryPHPName = "Pins";
>mkdir ("../$GalleryPHPName", "0775");
>?>
>
>Results in...
>
>MkDir failed (Permission denie
On Thursday 25 October 2001 10:08, you wrote:
> $GalleryPHPName = "Pins";
> mkdir ("../$GalleryPHPName", "0775");
> ?>
>
> Results in...
>
> MkDir failed (Permission denied)
When you use a file-related command (fopen, mkdir, etc.) you're executing
that command under the same user-context that a
5 matches
Mail list logo