Wpis z mikrobloga

Czytam sobie o chmod, ale nie rozumiem, jak mam nadać uprawnienia do danego katalogu konkretnym użytkownikom. Wiem, że poszczególne grupy literek lub cyfry odpowiadają za uprawnienia dla użytkownika, grupy i innych, ale o jaką grupę chodzi? Bo z poniższego wynika, że przez użytkownika należy rozumieć właściciela pliku. Co dokładnie mam zrobić, żeby nadać wszelkie uprawnienia do katalogu /var/www/katalog użytkownikom ania i bartek?

A combination of the letters ugoa controls which users' access to the file will be changed: the user who owns it (u), other users in the file's group (g), other users not in the file's group (o), or all users (a). If none of these are given, the effect is as if a were given, but bits that are set in the umask are not affected.

#debian #linux #sysadmin
  • 3
  • Odpowiedz