Solved

chmod on files in my own server

Posted on 2001-07-02
5
164 Views
Last Modified: 2010-04-07
I decided to run my computer as a server since now I have
high speed cable access. I have installed a server which
is an http and ftp server. I notice if I use WSftp program that I connect to localhost as 127.0.0.1 and I can
see my ftp site but not my http site or the cgi bin.
If install a cgi script then the file permissions must be
set but I have no access to files in the cgi directory.
I know the answer is simple and I am missing something that is obvious. But I cant find the info on www anywhere.
I looked in setting file permission and they all say nothing about my problem. I want to upload a cgi counter to my own computer and set the file permissions and then all my web pages may have a counter put on them.
0
Comment
Question by:johnh619
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
5 Comments
 
LVL 3

Accepted Solution

by:
erikdr earned 50 total points
ID: 6247770
What's your ftp root site? If e.g. your structure is
server\ftp
server\cgi
server\http

it won't work, as the ftp can only grant rights to folders in or below its root.

So you should work with a structure like

server\webhome
server\webhome\cgi
server\webhome\http

and make the webhome directory the ftp root site.

Hope this helps,

<Erik> - The Netherlands
0
 
LVL 24

Expert Comment

by:SunBow
ID: 6866703
don't forget to permit read access to everyone, maintain ownership, and allow no one (but you) to have write access.

Do not allow execute access either (except good cgi, of course)
0
 
LVL 53

Expert Comment

by:COBOLdinosaur
ID: 7117513
This question has been abandoned. I will make a recommendation to the
moderators on its resolution in a week or two. I appreciate any comments
that would help me to make a recommendation.
<note>
   In the absence of responses, I will recommend DELETE unless it is clear
   to me that it has value as a PAQ.  Silence = you don't care
</note>

Cd&

0
 
LVL 53

Expert Comment

by:COBOLdinosaur
ID: 7241848
It is time to clean this abandoned question up.  

I am putting it on a clean up list for CS.

<recommendation>
points to ericdr

</recommendation>

If anyone participating in the Q disagrees with the recommendation,
please leave a comment for the mods.

Cd&
0
 
LVL 5

Expert Comment

by:Netminder
ID: 7263598
Per recommendation, force-accepted.

Netminder
CS Moderator
0

Featured Post

What is SQL Server and how does it work?

The purpose of this paper is to provide you background on SQL Server. It’s your self-study guide for learning fundamentals. It includes both the history of SQL and its technical basics. Concepts and definitions will form the solid foundation of your future DBA expertise.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

This article provides a case study on how our local youth baseball league deployed a new website, including the platform selection, implementation and benefits to the league.
When setting up new project requests for our site, one of the most powerful tools our team has available to use is Axure (http://www.axure.com/). It’s a tool for creating software and web prototypes that can function and interact as if it were the a…
The purpose of this video is to demonstrate how to integrate Mailchimp with Facebook. This will be demonstrated using a Windows 8 PC. Mailchimp and Facebook will be used. Log into your Mailchimp account. : Click on your name. Go to Account Setti…
The purpose of this video is to demonstrate how to integrate Mailchimp with WordPress, by placing a Mailchimp signup form on a WordPress Page or Post. This will be demonstrated using a Windows 8 PC. Mailchimp will be used. Log into your Mailchi…

749 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question