Actions
Bug #10732
closedPermissions problems when exporting / importing global archive
Status:
Resolved
Priority:
N/A
Assignee:
Category:
Web - Config management
Target version:
Pull Request:
Severity:
Major - prevents use of part of Rudder | no simple workaround
UX impact:
User visibility:
Operational - other Techniques | Technique editor | Rudder settings
Effort required:
Medium
Priority:
0
Name check:
Fix check:
Regression:
Description
Hi,
Technique editor return a permission error when saving a technique after exporting and importing a global archive from a server to another server.
It seems that permissions on files inside /var/rudder/configuration-repository/ncf/ncf-hooks.d/ was not group executable :
root@ic-rudder:/var/rudder/configuration-repository/ncf# ll ncf-hooks.d/ total 8.0K -rw-r--r-- 1 root rudder 1.6K Apr 27 22:28 post.write_technique.commit.sh -rw-r--r-- 1 root rudder 2.7K Apr 27 22:28 post.write_technique.rudderify.sh
Permissions on the source server was correct.
Here is the error message in the technique editor when saving :
Cause: [Errno 13] Permission denied Traceback (most recent call last): File "/usr/share/ncf/api/ncf_api_flask_app/views.py", line 155, in create_technique result = ncf.write_technique(technique,path) File "/usr/share/ncf/tools/ncf.py", line 635, in write_technique execute_hooks("post", action, path, bundle_name) File "/usr/share/ncf/tools/ncf.py", line 410, in execute_hooks check_output([hookfile,path,bundle_name]) File "/usr/share/ncf/tools/ncf.py", line 82, in check_output process = subprocess.Popen(command, shell=False, stdout=subprocess.PIPE, stderr=subprocess.PIPE, universal_newlines=True, env=command_env) File "/usr/lib/python2.7/subprocess.py", line 710, in __init__ errread, errwrite) File "/usr/lib/python2.7/subprocess.py", line 1335, in _execute_child raise child_exception OSError: [Errno 13] Permission denied
Updated by François ARMAND almost 8 years ago
- Category set to Web - Config management
- Target version set to 3.1.20
- Severity set to Minor - inconvenience | misleading | easy workaround
- User visibility set to Operational - other Techniques | Technique editor | Rudder settings
- Effort required set to Medium
Updated by François ARMAND almost 8 years ago
- Translation missing: en.field_tag_list set to Sponsored
Updated by François ARMAND almost 8 years ago
- Severity changed from Minor - inconvenience | misleading | easy workaround to Major - prevents use of part of Rudder | no simple workaround
- Priority changed from 0 to 60
Updated by Benoît PECCATTE almost 8 years ago
- Assignee changed from François ARMAND to Vincent MEMBRÉ
Updated by Vincent MEMBRÉ almost 8 years ago
- Target version changed from 3.1.22 to 3.1.23
- Priority changed from 60 to 58
Updated by Vincent MEMBRÉ over 7 years ago
- Target version changed from 3.1.23 to 3.1.24
- Priority changed from 58 to 57
Updated by Vincent MEMBRÉ over 7 years ago
- Target version changed from 3.1.24 to 3.1.25
- Priority changed from 57 to 56
Updated by Vincent MEMBRÉ over 7 years ago
- Target version changed from 3.1.25 to 387
- Priority changed from 55 to 61
Updated by Vincent MEMBRÉ about 7 years ago
- Target version changed from 4.1.10 to 4.1.11
- Priority changed from 61 to 59
Updated by Vincent MEMBRÉ about 7 years ago
- Target version changed from 4.1.11 to 4.1.12
- Priority changed from 59 to 57
Updated by Vincent MEMBRÉ almost 7 years ago
- Target version changed from 4.1.12 to 4.1.13
- Priority changed from 57 to 56
Updated by Vincent MEMBRÉ over 6 years ago
- Target version changed from 4.1.17 to 4.1.18
- Priority changed from 56 to 0
Actions