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.
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
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 :