Afficher un message
Vieux 05/02/2008, 13h31   #2
Davide Bianchi
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: newbie need with rights (colud someone look at this)

On 2008-02-05, shahin <s_mortazave@hotmail.com> wrote:
> when I run the
> tar xzf dummy-4.1.2.tar.gz
> I get this:
> drwxr-xr-x 6 root root 4096 2008-02-01 13:22 dummy-4.1.2
> and for
> tar xzf dummy-3.6.2.tar.gz
> I get this:
> drwxr-xr-x 6 www-data www-data 4096 2008-02-01 13:24 dummy-3.6.2
>
> why after runing untar one has root as owner and group and othere one
> has www-data as group and ownder


Because TAR try to maintain the original permissions and users, and it
happens that in the machine where the second archive have been created
that user was www-data.

> here is the real problem when I move both of this 2 files to my /var/
> www I can open deummy 4 in the web browser but when I try to open
> dummy 3 I get this error;
>
> Forbidden
> You don't have permission to access /shahin/ on this server.


Something make me think that you don't have an 'index.html' page in that
directory and the default configuration is to not show the directory
listing. See apache's error_log.

Davide

--
Luser is always a luser. You can't educate them. That's not what God
invented education for. That's what Simon invented LART for.
--Vadim Vygonets
  Réponse avec citation
 
Page generated in 0,05235 seconds with 9 queries