LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 10-01-2014, 06:24 AM   #1
roellings
LQ Newbie
 
Registered: Oct 2014
Posts: 4

Rep: Reputation: Disabled
Linux Centos 6 File Systeem (user and permissions)


Hello,

I'm planning to resale parts of my server for some extra earnings.
Now I want to setup a directory structure with the correct permissions for users, I want to start selling game servers including a small webhost.
In the following image you can see what I want to create;
Afbeelding

My question is; is this possible in Linux Centos 6 ??
 
Old 10-01-2014, 10:36 AM   #2
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 17,919

Rep: Reputation: 3689Reputation: 3689Reputation: 3689Reputation: 3689Reputation: 3689Reputation: 3689Reputation: 3689Reputation: 3689Reputation: 3689Reputation: 3689Reputation: 3689
Quote:
Originally Posted by roellings View Post
Hello,
I'm planning to resale parts of my server for some extra earnings. Now I want to setup a directory structure with the correct permissions for users, I want to start selling game servers including a small webhost. In the following image you can see what I want to create;Afbeelding

My question is; is this possible in Linux Centos 6 ??
Yes, as much as it's also possible in any version of Linux, Windows, or Mac. It's call virtual hosts, and is widely done, and VERY well documented. And why are you going to load CentOS 6, when 7 is the latest??
 
Old 10-01-2014, 10:54 AM   #3
roellings
LQ Newbie
 
Registered: Oct 2014
Posts: 4

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by TB0ne View Post
Yes, as much as it's also possible in any version of Linux, Windows, or Mac. It's call virtual hosts, and is widely done, and VERY well documented. And why are you going to load CentOS 6, when 7 is the latest??
Thankyou for your reply, but I know what virtual hosts are, and as far as I know this has nothing to do with my question.
My question is about the permissions a user has to get over thoses files you see in the picture.
 
Old 10-01-2014, 11:20 AM   #4
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 17,919

Rep: Reputation: 3689Reputation: 3689Reputation: 3689Reputation: 3689Reputation: 3689Reputation: 3689Reputation: 3689Reputation: 3689Reputation: 3689Reputation: 3689Reputation: 3689
Quote:
Originally Posted by roellings View Post
Thankyou for your reply, but I know what virtual hosts are, and as far as I know this has nothing to do with my question.
Really?? You said you wanted to set up a webhost for multiple users. Would seem that virtual hosting has a LOT to do with your question.
Quote:
My question is about the permissions a user has to get over thoses files you see in the picture.
Since you know what virtual hosts are, you should also know about doing a chroot'ed FTP/SFTP environment. That way, each user will only be able to see their own files.

You could also set permissions to only allow that one user to read a certain directory that they own. That would be mode 700, where ONLY that user can read/write/execute in that directory, and no one else can.
http://www.linux.com/learn/tutorials...le-permissions
 
1 members found this post helpful.
Old 10-01-2014, 11:29 AM   #5
szboardstretcher
Senior Member
 
Registered: Aug 2006
Location: Detroit, MI
Distribution: GNU/Linux systemd
Posts: 3,774
Blog Entries: 1

Rep: Reputation: 1339Reputation: 1339Reputation: 1339Reputation: 1339Reputation: 1339Reputation: 1339Reputation: 1339Reputation: 1339Reputation: 1339Reputation: 1339
The current trend is Docker and Containers for this kind of reselling. I would suggest looking into it, as it is very simple to make a container that can be copied and deployed for as many users as you wish, without having to resort to the brainbending chroot environment setups.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Linux Centos 6 File Systeem (user and permissions) roellings Linux - Newbie 1 10-02-2014 12:22 AM
[SOLVED] How can any user remove a file created by other user with all permissions(777)? omegazafer Linux - Desktop 5 06-28-2013 03:31 AM
Troubles configuring file access permissions on CentOS 6.2 BGdev Linux - Server 4 05-25-2012 06:16 AM
creating ftp user in centos with permissions nidhinvsk Linux - Server 4 07-13-2011 01:25 PM
Windows Permissions on CentOS 5.2 File Server acadata Linux - Newbie 2 03-26-2009 09:18 PM


All times are GMT -5. The time now is 01:59 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration