Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.user > #240262
| From | Tim Woodall <debianuser@woodall.me.uk> |
|---|---|
| Newsgroups | linux.debian.user |
| Subject | Re: Development permissions |
| Date | 2021-09-22 10:30 +0200 |
| Message-ID | <D05NE-3X4-3@gated-at.bofh.it> (permalink) |
| References | <D00XD-Z0-1@gated-at.bofh.it> <D01qG-18M-5@gated-at.bofh.it> <D01TH-1xs-3@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
On Wed, 22 Sep 2021, Paul M. Foster wrote: > > This is more or less the solution I tried. However, when a user creates a > file on this system, the permissions are (for example) paulf:paulf. This > means that, despite the directory permissions, other users won't be able to > modify the file normally (assuming a system umask of 022). > > However, I did just read an excellent explanation of the setgid bit, which > apparently, sets the GID of a created file to that of the directory, rather > than the file's creator. This might work. I haven't tested it yet. > > I've heard of ACLs, but never had the need to user or learn about this. I'm > assuming that attending to ACL issues requires additional steps in the > creation/editing/deletion of files? > chmod 2775 on the directory and make the group of the directory a group that all of the users belong to. (sorry, I'm really old school and I don't know what the "modern" equivalent is for that without going to the man page, the flags are drwxrwsr-x) Then any files created in that directory should get the correct group for everybody to have access. You'll have to ensure everybody has the correct umask (002). Tim.
Back to linux.debian.user | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Development permissions "Paul M. Foster" <paulf@quillandmouse.com> - 2021-09-22 05:20 +0200
Re: Development permissions Charles Curley <charlescurley@charlescurley.com> - 2021-09-22 05:50 +0200
Re: Development permissions "Paul M. Foster" <paulf@quillandmouse.com> - 2021-09-22 06:20 +0200
Re: Development permissions David Christensen <dpchrist@holgerdanske.com> - 2021-09-22 06:30 +0200
Re: Development permissions Felix Miata <mrmazda@earthlink.net> - 2021-09-22 06:40 +0200
Re: Development permissions Anssi Saari <as@sci.fi> - 2021-09-22 09:30 +0200
Re: Development permissions Georgi Naplatanov <gosho@oles.biz> - 2021-09-22 05:50 +0200
Re: Development permissions "Paul M. Foster" <paulf@quillandmouse.com> - 2021-09-22 06:20 +0200
Re: Development permissions Andrei POPESCU <andreimpopescu@gmail.com> - 2021-09-22 07:40 +0200
Re: Development permissions Andrei POPESCU <andreimpopescu@gmail.com> - 2021-09-25 08:40 +0200
Re: Development permissions Georgi Naplatanov <gosho@oles.biz> - 2021-09-22 07:40 +0200
Re: Development permissions Tim Woodall <debianuser@woodall.me.uk> - 2021-09-22 10:30 +0200
Re: Development permissions Reco <recoverym4n@enotuniq.net> - 2021-09-22 09:00 +0200
Re: Development permissions Alex Mestiashvili <amestia@rsh2.donotuse.de> - 2021-09-24 10:30 +0200
Re: Development permissions Reco <recoverym4n@enotuniq.net> - 2021-09-24 11:30 +0200
Re: Development permissions Alex Mestiashvili <amestia@rsh2.donotuse.de> - 2021-09-24 11:50 +0200
Re: Development permissions Reco <recoverym4n@enotuniq.net> - 2021-09-24 15:30 +0200
Re: Development permissions <tomas@tuxteam.de> - 2021-09-24 14:10 +0200
Re: Development permissions Reco <recoverym4n@enotuniq.net> - 2021-09-24 15:10 +0200
Re: Development permissions Andy Smith <andy@strugglers.net> - 2021-09-24 15:50 +0200
Re: Development permissions <tomas@tuxteam.de> - 2021-09-24 16:10 +0200
Re: Development permissions Joe Pfeiffer <pfeiffer@cs.nmsu.edu> - 2021-09-24 04:40 +0200
csiph-web