?
Solved

permissions setting

Posted on 2002-07-04
4
Medium Priority
?
170 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

Ransomware-A Revenue Bonanza for Service Providers

Ransomware – malware that gets on your customers’ computers, encrypts their data, and extorts a hefty ransom for the decryption keys – is a surging new threat.  The purpose of this eBook is to educate the reader about ransomware attacks.

Question has a verified solution.

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

If you are running a LAMP infrastructure, this little code snippet is very helpful if you are serving lots of HTML, JavaScript and CSS-related information. The mod_deflate module, which is part of the Apache 2.2 application, provides the DEFLATE…
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…
Michael from AdRem Software outlines event notifications and Automatic Corrective Actions in network monitoring. Automatic Corrective Actions are scripts, which can automatically run upon discovery of a certain undesirable condition in your network.…
Add bar graphs to Access queries using Unicode block characters. Graphs appear on every record in the color you want. Give life to numbers. Hopes this gives you ideas on visualizing your data in new ways ~ Create a calculated field in a query: …

770 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