Solved

chmod on files in my own server

Posted on 2001-07-02
5
161 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
5 Comments
 
LVL 3

Accepted Solution

by:
erikdr earned 50 total points
Comment Utility
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
Comment Utility
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
Comment Utility
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
Comment Utility
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
Comment Utility
Per recommendation, force-accepted.

Netminder
CS Moderator
0

Featured Post

What Should I Do With This Threat Intelligence?

Are you wondering if you actually need threat intelligence? The answer is yes. We explain the basics for creating useful threat intelligence.

Join & Write a Comment

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.
Objective of This Article In 1990’s, when I was a budding software professional, I had a lot of confusion about which stream or technology, I had to choose to build my career. In those days, I had lot of confusion like whether to choose System so…
The purpose of this video is to demonstrate how to connect a WordPress website to Google Analytics. This will be demonstrated using a Windows 8 PC Go to your WordPress login page. This will look like the following: mywebsite.com/wp-login.php :…
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…

728 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

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now