Bug 1007442

Summary: Drush home directory owned by root and thus not writable by users
Product: OpenShift Online Reporter: Vojtech Vitek <vvitek>
Component: ContainersAssignee: Vojtech Vitek <vvitek>
Status: CLOSED CURRENTRELEASE QA Contact: libra bugs <libra-bugs>
Severity: medium Docs Contact:
Priority: medium    
Version: 2.xCC: chunchen, hripps
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-09-19 16:51:05 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Vojtech Vitek 2013-09-12 13:44:15 UTC
Created as of Chunyun Chen's comment at https://trello.com/c/Wvww2mJd.

Description of problem:
The content of the ~/.drush/ gear directory should not be locked (and thus owned by root) but it should be writable to users.

Steps to Reproduce:
1. rhc app create php php-5.3
2. rhc ssh php
3. touch ~/.drush/testfile

Actual results:
touch: cannot touch `.drush/testfile': Permission denied

Expected results:
success

Comment 1 Vojtech Vitek 2013-09-12 14:09:23 UTC
https://github.com/openshift/origin-server/pull/3627

Comment 2 chunchen 2013-09-13 02:21:21 UTC
It's fixed, verified on devenv_stage_471, please refer to the following results:

1. rhc app create php php-5.3
2. rhc ssh php
3. touch ~/.drush/testf
4. check creating result
\> ls .drush
testfile