Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

permissions setting

Posted on 2002-07-04
4
Medium Priority
?
171 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 140 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: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

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

Hi, in this article I'm going to teach you how to run your own site, and how to let people in (without IP). I'll talk about and explain each step... :) By the way, everything in this Tutorial is completely free and legal. This article is for …
In Solr 4.0 it is possible to atomically (or partially) update individual fields in a document. This article will show the operations possible for atomic updating as well as setting up your Solr instance to be able to perform the actions. One major …
In this video, Percona Solutions Engineer Barrett Chambers discusses some of the basic syntax differences between MySQL and MongoDB. To learn more check out our webinar on MongoDB administration for MySQL DBA: https://www.percona.com/resources/we…
Is your data getting by on basic protection measures? In today’s climate of debilitating malware and ransomware—like WannaCry—that may not be enough. You need to establish more than basics, like a recovery plan that protects both data and endpoints.…
Suggested Courses
Course of the Month11 days, 19 hours left to enroll

636 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