Twenga / twgit

Twgit is a free and open source assisting tools for managing features, hotfixes and releases on Git repositories. It provides simple, high-level commands to adopt the branching model describes in our documentation. Supported OS: Debian/Ubuntu Linux, Mac OS X 10.8 (Mountain Lion) or lower.
http://twgit.twenga.com/
Other
111 stars 34 forks source link

Allow to have twgit installed on a single machine but for several users #106

Closed ltoussaint closed 11 years ago

ltoussaint commented 11 years ago

Actually, installation of twgit copy all files in user tree (in filesystem) So, files and folders have rights only for this user.

So, we are unable to write in files like .lastupdate for other users

To fix that, I propose to create a .twgit folder in user home (/home/ltoussaint/.twgit) and to move files which need write rights (like .lastupdate, .features_subject, .history.log and .history.error) to this folder.

Example :

> cd /usr/share
> sudo git clone git://github.com/Twenga/twgit.git
> twgit
/usr/share/twgit_dev/twgit: line 72: /usr/share/twgit_dev/.history.error: Permission denied
tee: /usr/share/twgit_dev/.history.error: Permission denied
/usr/share/twgit_dev/twgit: line 80: /usr/share/twgit_dev/.history.log: Permission denied
tee: /usr/share/twgit_dev/.history.log: Permission denied
touch: cannot touch `/usr/share/twgit_dev/.lastupdate': Permission denied
date: /usr/share/twgit_dev/.lastupdate: No such file or directory
geoffroy-aubry commented 11 years ago

Duplicate of issue #64.