G
G
gel1ler2020-07-30 12:02:53
linux
gel1ler, 2020-07-30 12:02:53

How to set delete permissions for other Linux users?

There are 3 users in the system: root, tom, fluff. Having created the file on behalf of the volume, what rights should I give it so that the fluff user can delete it. Tom and fluff are in group 1. Tried chmod a+rw (didn't help).

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
Saboteur, 2020-07-31
@saboteur_kiev

The right to delete a file is given to a directory, not to the file itself, because by deleting a file you are "editing" the directory.
Having the right to write to a file, you can "nullify" it by writing nothing to it, but not deleting it.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question