I have a directory with rwxrwsr-x as its permissions, and I need to set the group to rwx. How can I do this on the command line? I have root access.
rwxrwsr-xmeans a set of group identifiers is installed. You can disable the installed GID by doing the following:
rwxrwsr-x
chmod g-s [name]
Use sudo(so that you have full privileges) to execute the command chmod(i.e., "change mode" or "change permissions").
sudo
chmod
sudo chmod g-s thefilename
g-s : " s group". s sticky, , , .
g-s
s
group
sticky
, . chmod.
chmod g-s <target> should be enough.
chmod g-s <target>
Source: https://habr.com/ru/post/1762829/More articles:how to set ACLs from a C # list - c #Creating an application for iPhone and iPad - iosHow to untie foreach - phpMySQL - SQLite Как улучшить этот очень простой запрос? - mysqlC # WebBrowser Controll with javaScript and html - javascripthttps://translate.googleusercontent.com/translate_c?depth=1&pto=aue&rurl=translate.google.com&sl=ru&sp=nmt4&tl=en&u=https://fooobar.com/questions/1762830/repeated-password-prompt-with-maven-deploy-file-to-scp-repository&usg=ALkJrhhsy0rsIzkZbebo21lAghPLc68A_wMultithreading, multiprocessing with STOP and continuation of signals - javaSQL-like JOIN in two text files in Python, is there a built-in way? - pythonMac OS X version available for Texture2D.m, .h? - classruby stones under rvm on Ubuntu (fails) to install in the wrong place - ruby | fooobar.comAll Articles