mirror of
https://github.com/Kicksecure/security-misc.git
synced 2025-06-18 17:39:17 -04:00
comment
This commit is contained in:
parent
8326aecdb4
commit
d71ac03d96
1 changed files with 2 additions and 0 deletions
|
@ -48,6 +48,8 @@ home_folder_access_rights_lockdown() {
|
||||||
## https://unix.stackexchange.com/questions/156473/reasons-behind-the-default-groups-and-users-on-linux
|
## https://unix.stackexchange.com/questions/156473/reasons-behind-the-default-groups-and-users-on-linux
|
||||||
## In short, this is useful for "file sharing". A if user1 wants to share data with user2 the command
|
## In short, this is useful for "file sharing". A if user1 wants to share data with user2 the command
|
||||||
## required to run is sudo addgroup user1 user2.
|
## required to run is sudo addgroup user1 user2.
|
||||||
|
## See also: user private groups UPGs
|
||||||
|
## https://wiki.debian.org/UserPrivateGroups
|
||||||
echo "$0: chmod o-rwx \"$folder_name\""
|
echo "$0: chmod o-rwx \"$folder_name\""
|
||||||
chmod o-rwx "$folder_name"
|
chmod o-rwx "$folder_name"
|
||||||
touch "/var/cache/security-misc/state-files/$user"
|
touch "/var/cache/security-misc/state-files/$user"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue