K
K
Koal Koalich2020-05-19 12:03:58
linux
Koal Koalich, 2020-05-19 12:03:58

Give access to a directory using a symlink?

Situation:
The developers handed over the site (on Bitrix). The admins downloaded vmbitrix and gave the rights to the junior admin to flood the site.

The website has bugs.

Got a separate user for developers.

How now, through a symlink in the developers' home folder, to give rights to a folder with a site in the home directory of another user (specifically, bitrix (the default user for sites in vmbitrix))?

There are nuances: configuration scripts (out of the box in vmbitrix) put something sensitive in the home directory of bitrix (the user in whose home sites are created) next to the site directory. Therefore, access should be only to the site directory and not higher.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
P
pfg21, 2020-05-19
@pfg21

mount --bind has already been said.
Another option is to make a hardlink to a working directory for specific files. and permission to edit through groups.

A
Alexey, 2020-05-19
@AlexeyKolodchenko

Set up a chroot environment for a user to a specific directory.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question