Permission problems
Charlie Bullen
plug-discuss@lists.plug.phoenix.az.us
Mon, 8 Apr 2002 09:34:20 -0700
This is a multi-part message in MIME format.
------=_NextPart_000_0020_01C1DEE0.8F5F1BA0
Content-Type: text/plain;
charset="Windows-1252"
Content-Transfer-Encoding: quoted-printable
I have created several directories under /var/www as follows:
drwxr-xr-x 14 webuser webuser 4096 Mar 8 15:43 .
drwxr-xr-x 23 root root 4096 Mar 12 07:18 ..
drwxr-xr-x 2 webuser root 4096 Dec 14 09:43 ancientlostcities
drwxr-xr-x 13 webuser root 4096 Dec 19 16:26 artitour
drwxr-xr-x 2 root root 4096 Mar 29 2001 cgi-bin
drwxr-xr-x 2 webuser root 4096 Dec 14 09:44 eleganttrains
drwxr-xr-x 2 webuser root 4096 Dec 14 09:44 famoustrains
drwxr-xr-x 3 root root 4096 Dec 1 08:18 html
drwxr-xr-x 3 root root 4096 Dec 1 08:18 icons
drwxr-xr-x 2 webuser root 4096 Dec 14 09:44 incense
drwxr-xr-x 10 webuser root 4096 Dec 19 16:22 musitours
drwxr-xr-x 10 webuser root 4096 Mar 10 10:09 qe2
drwxr-xr-x 10 webuser root 4096 Mar 10 10:11 qm2
drwxr-xr-x 7 webuser webuser 4096 Apr 7 14:42 travelcruise
Taking /travelcruise as an example, I can ftp files to the directories, =
but if I want to upload a modified file, I can not over write the =
existing file loging in as webuser. If I go to the command line and =
change to root,I can remove the old file and then upload the revision =
loged in as webuser.
This is redhat 7.1 with apache as the webserver. I'm using a windows ftp =
client, Cute FTP
Any ideas would be appreciated
Charlie
------=_NextPart_000_0020_01C1DEE0.8F5F1BA0
Content-Type: text/html;
charset="Windows-1252"
Content-Transfer-Encoding: quoted-printable
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=3DContent-Type content=3D"text/html; =
charset=3Dwindows-1252">
<META content=3D"MSHTML 5.50.4522.1800" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT face=3DArial size=3D2>I have created several directories =
under /var/www=20
as follows:</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2>drwxr-xr-x 14 webuser =20
webuser 4096 Mar 8 15:43=20
.<BR>drwxr-xr-x 23 root =20
root 4096 Mar 12 07:18=20
..<BR>drwxr-xr-x 2 webuser =20
root 4096 Dec 14 09:43=20
ancientlostcities<BR>drwxr-xr-x 13 webuser =20
root 4096 Dec 19 16:26=20
artitour<BR>drwxr-xr-x 2 root =20
root 4096 Mar 29 =
2001=20
cgi-bin<BR>drwxr-xr-x 2 webuser =20
root 4096 Dec 14 09:44=20
eleganttrains<BR>drwxr-xr-x 2 webuser =20
root 4096 Dec 14 09:44=20
famoustrains<BR>drwxr-xr-x 3 root =20
root 4096 Dec 1 =
08:18=20
html<BR>drwxr-xr-x 3 root =20
root 4096 Dec 1 =
08:18=20
icons<BR>drwxr-xr-x 2 webuser =20
root 4096 Dec 14 09:44=20
incense<BR>drwxr-xr-x 10 webuser =20
root 4096 Dec 19 16:22=20
musitours<BR>drwxr-xr-x 10 webuser =20
root 4096 Mar 10 10:09=20
qe2<BR>drwxr-xr-x 10 webuser =20
root 4096 Mar 10 10:11=20
qm2<BR>drwxr-xr-x 7 webuser =20
webuser 4096 Apr 7 14:42=20
travelcruise</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2>Taking /travelcruise as an example, I =
can ftp files=20
to the directories, but if I want to upload a modified file, I can not =
over=20
write the existing file loging in as webuser. If I go to the =
command line=20
and change to root,I can remove the old file and then upload the =
revision loged=20
in as webuser.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2>This is redhat 7.1 with apache as the =
webserver.=20
I'm using a windows ftp client, Cute FTP</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2>Any ideas would be =
appreciated</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2>Charlie</FONT></DIV></BODY></HTML>
------=_NextPart_000_0020_01C1DEE0.8F5F1BA0--