Re: How do I get root privileges in a script

From: Date: Sat, 25 Nov 2000 15:57:15 +0000
Subject: Re: How do I get root privileges in a script
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-27149@lists.php.net to get a copy of this message
On Sat, 25 Nov 2000, Teodor Cimpoesu wrote: > Hi Juan! > On Fri, 24 Nov 2000, Juan Germano wrote: > > > Hi. At boot I mount a FAT32 partition from linux. The files get 'root' > > as owner and 'root' as group. The Apache runs as 'nobody', also php, > > so, > > I don't have write permisions. The permisions in the fat32 partition can > > not be change, so, what should I do? On Fat32 there are no permisions! SO, if you want to mount a fat32 partisions, use something like this in /etc/fstab /dev/hdx /mnt/dos vfat defaults,umask=0000 0 0 man mount for details Ave, Socrate -- Radu Filip Network Administrator @CCTI | tuiasi.ro radu@tuiasi.ro ccti@tuiasi.ro http://socrate.tuiasi.ro/ http://www.ccti.tuiasi.ro/

« previous php.general (#27149) next »