Project

General

Profile

action #20162

Updated by SLindoMansilla almost 7 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 accesed by geekotest and directories listed bellow _openqa-worker 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/` `openqa-developers`. 


 ## Tasks 

 1. * Modify the installation/specfile to create a group named `openqa-developers` 
 2. * Install the files and directories listed on AC2 under `/usr/share/openqa`, `/var/lib/openqa` and `/var/log/openqa` with group owner `openqa-developers`, `openqa-developers` 
 3. and add read-write permissions * Modify specfile to them, 
 4. and add the gid bit and rwx-permissions to them. the directories owned by the group `openqa-developers` 

Back