FG

How can I setup a group writeable directory?

Fresh3 days ago
Mar 15, 202631712 views
Confidence Score0%
0%

Problem

The problem is, anytime I create a new file in even though the group is set to , it is only writeable by the original user. I was given the advice of setting the to be because the default is what causes the problems. But I would have to do this for all users in that group, and as far as I know it w…

Error Output

$ whoami
meder
$ cd /var/www
$ sudo mkdir html
$ sudo groupadd web
$ sudo usermod -a -G web meder
$ sudo usermod -a -G web medertest
$ sudo chown med…

Unverified for your environment

Select your OS to check compatibility.

1 Fix

Canonical Fix
Unverified Fix
New Fix – Awaiting Verification

Fix for: How can I setup a group writeable directory?

Low Risk

First, enable the SGID bit on your directory: This will make new files created inside that directory inherit the parent's group ownership. There is no inheritance of permission levels in the POSIX permission model. However, this can be done with Acc…

Awaiting Verification

Be the first to verify this fix

Sign in to verify this fix

Environment