Hi Team,
I had to kill the exportRpac script as it was eating away the disc space
on test04.
It was using /tmp/otds/ as the export dir. This is mounted under /
(root) on test04, which only has 4.8 G.
Please use /var/xres/otds/ or something which has more space and will
not crash the system ;-)
I also had to remove the files under /tmp/otds/.
--
Viele liebe Grüße
Stefan Wieden
- Development
___________________________________________________________________________
TraSo GmbH
Nonnenstraße 42
D-04229 Leipzig
Tel.: +49 341 355 740 20
Internet: http://traso.de E-Mail: s.wieden(a)traso.de
___________________________________________________________________________
Geschäftsführer: Haiko Gerdes
Handelsregister: Amtsgericht Leipzig, HRB 21850
Dear all devs,
after beeing asked a lot of times to set permissions on linux file systems in a way that multiple users always have write access to files generated by another user (for example “apache”, “deployment”, dev user), I’d like to give you some idea how you can run this yourself on your laptops or dev server systems:
Here is a code example that sets facl <https://wiki.archlinux.org/index.php/Access_Control_Lists> (file access control, some extended permission system) on a directory. This permissions are automatically passed on to files and directories within this directory (even if these get created later):
TARGET="log"
sudo setfacl -R --set u:r.kuehle:rwX,u:48:rwX,u::rwX,g::rX,o::- $TARGET
sudo chown -R root:root $TARGET
for t in $TARGET; do getfacl -p --access $t | sudo setfacl -dRM - $t; done
TARGET: path to one or multiple directories (separate by whitespace)
r.kuehle: some example user
48: example apache user in a docker container - not known on host system so uid must be used
rwX: permissions, read + write (+ executable for directories and files which are executable, already)
getfacl ... | setfacl ... in last line: install acls as default acl
Kind regards,
Gunnar
--
Mit freundlichen Grüßen
Gunnar Mann
- Systemadministration -
________________________________________________________
TraSo GmbH
Nonnenstraße 42
D-04229 Leipzig
Tel.: +49 341 355 740 76
Fax: +49 341 355 740 21
E-Mail: g.mann(a)traso.de <mailto:g.mann@traso.de>
<https://www.traso.de/> <https://www.facebook.com/TraSoGmbH> <https://www.xing.com/companies/trasogmbh>
________________________________________________________
Geschäftsführer: Haiko Gerdes
Handelsregister: Amtsgericht Leipzig, HRB 21850 <https://www.kununu.com/de/traso1>
________________________________________________________
Geschäftsführer: Haiko Gerdes
Handelsregister: Amtsgericht Leipzig, HRB 21850
<https://www.kununu.com/de/traso1>