Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
ltoussaint opened this issue May 28, 2013 · 1 comment
Closed

Comments

@ltoussaint
Copy link
Member

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
Copy link
Member

Duplicate of issue #64.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants