[prev in list] [next in list] [prev in thread] [next in thread] 

List:       cgi-list
Subject:    RE: [CGI] Having problems with permissions !
From:       Kevin Smith <KSmith () digitalworkshop ! co ! uk>
Date:       2000-09-27 13:30:07
[Download RAW message or body]

Hi Frank,
 
I would log under root then do :
 
    chown owner:group /path/to/folder
 
or, to recursively change the permissions of the directory as well as the
rest of the files under that directory do this :
 
    chown -R owner:group /path/to/folder
 
Regards,
 
Kevin

-----Original Message-----
From: Frank Volpe [mailto:frank@fvsolutions.com]
Sent: 26 September 2000 20:45
To: cgi-list@jann.com
Subject: [CGI] Having problems with permissions !


Hi !
 
I hope someone can help me with this problem.  I'm trying to setup a page
counter for one of my clients.  When I try to upload the files to the server
( to the ./usr/cgi-bin ) I find out that I don't have permission to upload
to this folder. I telnet to my server and I try to change the ownership of
the cgi-bin like this;
 ( [root@www /usr]#  "chown ownername:groupname" )  should I do it under the
root or should I do it under ( [admin@www admin]$ ) and also under the
"chown" line should I replace the ownername with admin as well as the
groupname...
 
Or just a simple question: how do you change the permission on a folder not
a file ?
 
Well this proves to you that I have very little knowledge about this. I
thank you in advance for your help.
 
Please someone help me.........
 
Frank


[Attachment #3 (text/html)]

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">


<META content="MSHTML 5.50.4207.2601" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><SPAN class=876442813-27092000><FONT face=Arial color=#0000ff size=2>Hi 
Frank,</FONT></SPAN></DIV>
<DIV><SPAN class=876442813-27092000><FONT face=Arial color=#0000ff 
size=2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=876442813-27092000><FONT face=Arial color=#0000ff size=2>I 
would log under root then do :</FONT></SPAN></DIV>
<DIV><SPAN class=876442813-27092000><FONT face=Arial color=#0000ff 
size=2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=876442813-27092000><FONT face=Arial color=#0000ff 
size=2>&nbsp;&nbsp;&nbsp; chown owner:group /path/to/folder</FONT></SPAN></DIV>
<DIV><SPAN class=876442813-27092000><FONT face=Arial color=#0000ff 
size=2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=876442813-27092000><FONT face=Arial color=#0000ff size=2>or, to 
recursively change the permissions of the directory as well as the rest of the 
files under that directory do this :</FONT></SPAN></DIV>
<DIV><SPAN class=876442813-27092000><FONT face=Arial color=#0000ff 
size=2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=876442813-27092000><SPAN class=876442813-27092000><FONT 
face=Arial color=#0000ff size=2>&nbsp;&nbsp;&nbsp; chown -R owner:group 
/path/to/folder</FONT></SPAN></SPAN></DIV>
<DIV><SPAN class=876442813-27092000><SPAN class=876442813-27092000><FONT 
face=Arial color=#0000ff size=2></FONT></SPAN></SPAN>&nbsp;</DIV>
<DIV><SPAN class=876442813-27092000><SPAN class=876442813-27092000><FONT 
face=Arial color=#0000ff size=2>Regards,</FONT></SPAN></SPAN></DIV>
<DIV><SPAN class=876442813-27092000><SPAN class=876442813-27092000><FONT 
face=Arial color=#0000ff size=2></FONT></SPAN></SPAN>&nbsp;</DIV>
<DIV><SPAN class=876442813-27092000><SPAN class=876442813-27092000><FONT 
face=Arial color=#0000ff size=2>Kevin</FONT></SPAN></SPAN></DIV>
<BLOCKQUOTE dir=ltr style="MARGIN-RIGHT: 0px">
  <DIV class=OutlookMessageHeader dir=ltr align=left><FONT face=Tahoma 
  size=2>-----Original Message-----<BR><B>From:</B> Frank Volpe 
  [mailto:frank@fvsolutions.com]<BR><B>Sent:</B> 26 September 2000 
  20:45<BR><B>To:</B> cgi-list@jann.com<BR><B>Subject:</B> [CGI] Having problems 
  with permissions !<BR><BR></FONT></DIV>
  <DIV><FONT size=2>Hi !</FONT></DIV>
  <DIV>&nbsp;</DIV>
  <DIV><FONT size=2>I hope someone can help me with this problem.&nbsp; I'm 
  trying to setup a page counter for one of my clients.&nbsp; When I try to 
  upload the files to the server ( to the ./usr/cgi-bin ) I find out that I 
  don't have permission to upload to this folder. I telnet to my server and I 
  try to change the ownership of the cgi-bin like this;</FONT></DIV>
  <DIV><FONT size=2>&nbsp;( <STRONG>[root@www /usr]#&nbsp; </STRONG>"chown 
  ownername:groupname"&nbsp;)&nbsp;&nbsp;should I do it under the root or should 
  I do it under ( <STRONG>[admin@www admin]$ </STRONG>) and also under the 
  "chown" line&nbsp;should I replace the ownername with admin as well as the 
  groupname...</FONT></DIV>
  <DIV>&nbsp;</DIV>
  <DIV><FONT size=2>Or just a simple question: how do you change the permission 
  on a folder not a file ?</FONT></DIV>
  <DIV>&nbsp;</DIV>
  <DIV><FONT size=2>Well this proves to you that I have very little 
  knowledge&nbsp;about this. I thank you in advance for your help.</FONT></DIV>
  <DIV>&nbsp;</DIV>
  <DIV><FONT size=2>Please someone help me.........</FONT></DIV>
  <DIV>&nbsp;</DIV>
  <DIV><FONT size=2>Frank</FONT></DIV></BLOCKQUOTE></BODY></HTML>

-----------------------------------------------------------------
To unsubscribe, send mail to "majordomo@jann.com" with "unsubscribe cgi-list"
in the body.

CalendarPlus v3.0 with JavaPlus is available NOW!
http://www.calendarplus.com/

The CGI Tips & Tricks website (and archive of the list) is located
at http://perl.jann.com/
-----------------------------------------------------------------


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic