Solved

permissions setting

Posted on 2002-07-04
4
163 Views
Last Modified: 2010-03-04
I am hosting sevaral web sites in my linux apache server, and installed proftp as the ftp server. Now I want to creat ftpusers for every website so that my clients can maintenance their website, and they cannot leave their www folder during the ftp session. I also want to create a superuser who can maintain all the hosted websites. Now the question is how to set up file permissions under every www folder, say for website1 i have ftpuser1, so for the file index.html under www1, if I set up as
"-rwx-r-xr-x   ftp1 guest ", then the superuser can't make changes to the file, in brief, can I set both the superuser the ftpuser1 as the owner of the file index.html?
0
Comment
Question by:asp168
  • 2
4 Comments
 
LVL 15

Expert Comment

by:samri
ID: 7130997
heloo,

I do not have much experience with proFTPD.

Perhaps you might want to take a look at the FAQ:

http://www.proftpd.org/docs/faq/proftpdfaq.html
http://www.proftpd.org/docs/faq/proftpdfaq-5.html#ss5.12

Some example config;
http://www.proftpd.org/docs/example-conf.html

The complex examples has some neat config that worth looking at.

Overall, you might need to sync the path for your ftp-root with your website directory structure for your users.

How do you organize the hosted websites?  Does it sits in one directory tree, for example in /public/websites, and in the www.domain1.com, www.domain2.com dir. etc.

cheers.
0
 
LVL 15

Accepted Solution

by:
samri earned 35 total points
ID: 7131003
The UserGuide contains a bunch of information that worth looking at:

http://proftpd.linux.co.uk/localsite/Userguide/linked/userguide.html

The chroot-jail stuff;
http://proftpd.linux.co.uk/localsite/Userguide/linked/chroot.html#AEN730
0
 
LVL 15

Expert Comment

by:periwinkle
ID: 9691025
No comment has been added lately, so it's time to clean up this TA.

I will leave a recommendation in the Cleanup topic area with the following recommendation for this question:

Answered by samri

Please leave any comments here within the next seven days.

PLEASE DO NOT ACCEPT THIS COMMENT AS AN ANSWER!

periwinkle
EE Cleanup Volunteer
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

As Wikipedia explains 'robots.txt' as -- the robot exclusion standard, also known as the Robots Exclusion Protocol or robots.txt protocol, is a convention to prevent cooperating web spiders and other web robots from accessing all or part of a websit…
Introduction As you’re probably aware the HTTP protocol offers basic / weak authentication, which in combination with the relevant configuration on your web server, provides the ability to password protect all or part of your host.  If you were not…
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.
Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…

758 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

21 Experts available now in Live!

Get 1:1 Help Now