F
F
Ford_02021-11-20 17:15:12
linux
Ford_0, 2021-11-20 17:15:12

How to grant rights to a directory to a specific group?

Hello. There is some additional group to which the user belongs. It is necessary to give full rights to the directory to this group.
For example , let's say I have a user user with the main group work and additional freelance. There is a /home/freelance/ directory and you need to give the freelance group full rights to the /home/freelance/ directory.
It is not clear how to do this and how to subsequently check the rights to the directory for a specific group.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Alexander Karabanov, 2021-11-20
@Ford_0

Change Owner chown -R freelance:freelance /home/freelance
Give All Rights to chmod -R g=rwx,o= /home/freelance
PS
Access Control Lists Group

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question