Commit Graph

5 Commits

Author SHA1 Message Date
Ayaz Salikhov
5b678ca407 Fix bashate style issues 2020-09-30 16:46:33 +03:00
Đặng Minh Dũng
0329eecec8 fixing inline script problem 2018-11-12 01:45:05 +07:00
Min RK
80359f314a leftover mentions of user-writable group
use `users` instead
2017-08-26 09:51:58 -04:00
Min RK
2df9c49a74 set setuid/setgid bits in fix-permissions
ensures files have the right owner:group

unfortunately, not enough to get group-writable permissions (need acl or umask for that),
so we still need to run it after each install
2017-08-26 09:50:58 -04:00
Min RK
c6c1ce4cb0 use groups for managing write-access to files
- any files the user should be able to write should have group `user-permissions` with `g+rwX`
- remove `chown` from start.sh because it is no longer needed
- add `fix-permissions` script for setting the user-writable permissions on a path
- user-permissions group as GID 10000 (is there a reason for it to have a different value?)
- containers can set group with `--group-add user-writable` if they want to run with a different uid/gid
  (without -u root -e NB_UID -e NB_GID, which make this unnecessary)
2017-08-26 09:50:56 -04:00