Solved

permissions setting

Posted on 2002-07-04
4
169 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
[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
  • 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

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Over the last year I have answered a couple of basic URL rewriting questions several times so I thought I might as well have a stab at: explaining the basics, providing a few useful links and consolidating some of the most common queries into a sing…
Introduction This article is intended for those who are new to PHP error handling (https://www.experts-exchange.com/articles/11769/And-by-the-way-I-am-New-to-PHP.html).  It addresses one of the most common problems that plague beginning PHP develop…
NetCrunch network monitor is a highly extensive platform for network monitoring and alert generation. In this video you'll see a live demo of NetCrunch with most notable features explained in a walk-through manner. You'll also get to know the philos…
This is my first video review of Microsoft Bookings, I will be doing a part two with a bit more information, but wanted to get this out to you folks.

696 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