Bug 20454 - Vorlagen schreibschützen
Summary: Vorlagen schreibschützen
Status: CLOSED FIXED
Alias: None
Product: UCS
Classification: Unclassified
Component: OpenDVDI
Version: UCS 2.4
Hardware: Other Linux
: P5 normal
Target Milestone: OpenDVDI MS2
Assignee: Philipp Hahn
QA Contact: rsagner
URL:
Keywords:
Depends on:
Blocks: 18696 18765
  Show dependency treegraph
 
Reported: 2010-10-20 14:35 CEST by Philipp Hahn
Modified: 2023-03-25 06:54 CET (History)
1 user (show)

See Also:
What kind of report is it?: ---
What type of bug is this?: ---
Who will be affected by this bug?: ---
How will those affected feel about the bug?: ---
User Pain:
Enterprise Customer affected?:
School Customer affected?:
ISV affected?:
Waiting Support:
Flags outvoted (downgraded) after PO Review:
Ticket number:
Bug group (optional):
Customer ID:
Max CVSS v3 score:


Attachments
Make templates read-only (1.44 KB, patch)
2010-10-20 17:23 CEST, Philipp Hahn
Details | Diff
Make templates read-only (1.93 KB, patch)
2010-10-20 20:30 CEST, Philipp Hahn
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Philipp Hahn univentionstaff 2010-10-20 14:35:17 CEST
Derzeit werden die original Image-Dateien verschoben (und ggf. anschließend wieder zurück kopiert). Die Schreibberechtigung auf die Dateien wird dabei beibehalten, so das diese später dann (unbeabsichtigte) verändert werden können.
Die Rechte der Vorlagendateien sollten auf 0440 geändert werden, um solche Veränderungen zu unterbinden.
Comment 1 Philipp Hahn univentionstaff 2010-10-20 17:23:25 CEST
Created attachment 2767 [details]
Make templates read-only
Comment 2 Philipp Hahn univentionstaff 2010-10-20 20:30:33 CEST
Created attachment 2770 [details]
Make templates read-only

Make instance read-write again
Comment 3 Philipp Hahn univentionstaff 2010-10-28 13:31:49 CEST
Templates werden nun ReadOnly (0444) gesetzt.
Im Rahmen von Bug #18696 sollte das ggf. auf 0440 reduziert werden.

svn20602+svn20606, univention-dvs-node_1.0.31-3.31.201010281251
Comment 4 rsagner univentionstaff 2010-11-24 10:57:49 CET
Zum Test wurde ein Vorlage aus der VM DOS erstellt:
root@xen1:/var/lib/univention-dvs-templates/qa-rsagner-bug20454 - (1) 0# ls -lAh
insgesamt 1,1G
-r--r--r--  1 root root 1,3K 24. Nov 10:53 description.pickle
-r--r--r--+ 1 root root 1,0G  9. Nov 10:31 dos.img

Rechte sind ok