Project

General

Profile

action #20162

Updated by SLindoMansilla over 6 years ago

## User story 

 As an openQA test developer, I want that the package openQA installs a group for the files that are accesed by user geekotest and _openqa-worker to have an easier way to access and modify the files installed by the package openQA without using the root user and without loosing the my file permissions each time that I install an update of the package. 


 ## Acceptance criteria 

 * **AC1:** The package openQA create during installation a group named `openqa-developers` 
 * **AC2:** The files and directories listed bellow are owned by the group `openqa-developers`, they have read-write permission for the group owner and have the `gid` set. 
   * `/var/lib/openqa/db/` 
   * `/var/lib/openqa/images/` 
   * `/var/lib/openqa/pool/` 
   * `/var/lib/openqa/share/factory/` 
   * `/var/lib/openqa/share/tests/` 
   * `/var/lib/openqa/testresults/` 


 ## Tasks 

 1. Modify the installation/specfile to create a group named `openqa-developers` 
 2. Install the files and directories listed on AC2 with group owner `openqa-developers`, 
 3. and add read-write permissions to them, 
 4. and add the gid bit to them.

Back