I
I
ilovemaryjane2018-11-17 13:39:48
linux
ilovemaryjane, 2018-11-17 13:39:48

How to return such permissions to files and folders?

There was a directory with files in which there were such permissions

drwxrwxr-x // директории
-rw-rw-r-- // файлы

Transferred it to an external hdd, which broke the rights.
drwxrwxrwx // директории
-rwxrwxrwx // файлы

How to return the first option? chmodjust like Linux, I'm just learning, I'm afraid to screw up

Answer the question

In order to leave comments, you need to log in

1 answer(s)
R
Ruslan Fedoseev, 2018-11-17
@ilovemaryjane

man chmod
And then chmod ... until it works.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question