• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 196
  • Last Modified:

How do I limit group access to directories?

OS: RH  9


I want to be able to limit access of users who login to my machine to specific directories. Here are the variables im working with:

directory = /ftp
group 1 = friends
group 2 = family
group 3 = others

Question1:    What is the best way to limit access to my /ftp directory that I have created to only the groups 'friends' and 'family' and not 'others'?

Question2:    If changing group ownership is the answer, how can I specify multiple groups for the one directory?

Thx in advance,
1 Solution
It depends on your FTP server software.
Some ftp server program can do group access limitation in its configuration file.

For "chgrp" solution, you can create more groups with different users in it.
group 1 = friends
group 2 = family
group 3 = others
group 4 = friends + family
group 5 = friends + others

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

A proven path to a career in data science

At Springboard, we know how to get you a job in data science. With Springboard’s Data Science Career Track, you’ll master data science  with a curriculum built by industry experts. You’ll work on real projects, and get 1-on-1 mentorship from a data scientist.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now