RE: [PHP] mount with php
| From: | Craig Vincent | Date: | Thu, 27 Jul 2000 14:39:36 +0000 |
| Subject: | RE: [PHP] mount with php | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-8561@lists.php.net to get a copy of this message | ||
> How can mount a floppy with php ??
> this script don't work why ??
> // mount the floppy
>
mount /mnt/floppy;
> // or
> exec("mount /mnt/floppy");
My first guess would be the fact that 'mounting' requires root access to the
server. Since web servers (if installed properly) never run scripts as
root...the mount will always fail. If you're using Apache perhaps some
suexec setup would help you out.
Sincerely,
Craig Vincent