Group permissions
Hi guys, if I create a directory and assign to it an owner and a group, both the owner and the group have the permissions rwx, as you can see:
https://image.ibb.co/etd1pb/dj.png When I add the same group ("sharex") to another user, for example mavetek2, why I get permission denied when I try to write inside that directory? |
There's a thing called a umask, which sets default permissions when creating files. The usual umask gives 0644 for files (owner only can write) and 0755 for directories. Try setting the directory to 0775, and the group to 0664, and see if you can write then.
Note that this is insecure and as gift to snoopers and hackers. |
Quote:
|
Quote:
A reboot forces a logout and login... so that would explain why it worked after a reboot. |
All times are GMT -5. The time now is 11:45 PM. |