Bug 1007442 - Drush home directory owned by root and thus not writable by users
Summary: Drush home directory owned by root and thus not writable by users
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: OpenShift Online
Classification: Red Hat
Component: Containers
Version: 2.x
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
: ---
Assignee: Vojtech Vitek
QA Contact: libra bugs
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-09-12 13:44 UTC by Vojtech Vitek
Modified: 2015-05-14 23:28 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2013-09-19 16:51:05 UTC
Target Upstream Version:


Attachments (Terms of Use)

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


Note You need to log in before you can comment on or make changes to this bug.