🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: es.comp.os.linux.programacion
Article #6654

Re: Problema de permisos en PHP

#6654
From: Alvaro G. Vicario
Date: Tue, 03 Jun 2003 08:34
26 lines
2057 bytes
"Jes�s M. NAVARRO" <jesus_navarro@undominio.net> escribi� en el mensaje
news:ngosq-0ai.ln1@mithrandir.intranet...
> Lo primero, aseg�rate de que, en efecto, tenga permisos.  Desde la l�nea
de
> comandos (como root):
>
> su apache -c "touch /mnt/webs/sitio/www/miniaturas/apache.txt"
>
> Si *realmente* apache tiene permisos para crear el fichero, lo anterior
> deber�a crearlo.

Gracias por tu sugerencia. Efectivamente, no aparece ning�n mensaje de
error, pero el archivo tampoco. Desde luego, tiene toda la pinta de ser un
simple problema de permisos, pero no acabo de entender el porqu�.

# pwd
/mnt/webs/sitio/www/miniaturas
# ls -al
total 8
drwxrwxr-x    1 root     samba        4096 jun  3 10:22 .
drwxrwxr-x    1 root     samba        4096 jun  2 13:53 ..
# groups apache
apache : apache samba

Esto me sale en el directorio donde quiero que escriba el usuario apache. Si
apache pertenece al grupo samba, deber�a poder, �no? �Qu� puede pasar?
Technical Details
Message-ID: <bbhmin$9hcpn$1@ID-157797.news.dfncis.de>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newsfeed.icl.net!newsfeed.fjserv.net!feed.news.nacamar.de!fu-berlin.de!uni-berlin.de!10.red-80-37-15.pooles.rima-tde.NET!not-for-mail
References: <bbftpf$8tfo6$1@ID-157797.news.dfncis.de> <ngosq-0ai.ln1@mithrandir.intranet>

Show Full Headers
Complete Article Headers
X-Google-Language: SPANISH,ASCII
X-Google-Thread: f86c8,f95d3ee435ba4a4b
X-Google-Attributes: gidf86c8,public
X-Google-ArrivalTime: 2003-06-03 01:34:34 PST
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newsfeed.icl.net!newsfeed.fjserv.net!feed.news.nacamar.de!fu-berlin.de!uni-berlin.de!10.red-80-37-15.pooles.rima-tde.NET!not-for-mail
From: "Alvaro G. Vicario" <alvaro.QUITAR_REMOVE@telecomputeronline.net>
Newsgroups: es.comp.os.linux.programacion
Subject: Re: Problema de permisos en PHP
Date: Tue, 3 Jun 2003 10:34:27 +0200
Lines: 28
Message-ID: <bbhmin$9hcpn$1@ID-157797.news.dfncis.de>
References: <bbftpf$8tfo6$1@ID-157797.news.dfncis.de> <ngosq-0ai.ln1@mithrandir.intranet>
NNTP-Posting-Host: 10.red-80-37-15.pooles.rima-tde.net (80.37.15.10)
X-Trace: fu-berlin.de 1054629272 10007351 80.37.15.10 (16 [157797])
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1158
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165