Posts: 90
Threads: 19
Joined: May 2014
Reputation:
0
05-11-2015, 04:55 AM
(This post was last modified: 05-11-2015, 05:10 AM by polanskiman.)
Hello,
Could anyone make a short tutorial on how to install Corebos under GIT version control? Perhpas there is a thread already but I haven't fond it.
Thank you.
Paul
Posts: 3,565
Threads: 36
Joined: Apr 2014
Reputation:
49
Yes, it is the same. Git knows how to convert the latter into the former.
Joe
TSolucio
Posts: 90
Threads: 19
Joined: May 2014
Reputation:
0
05-19-2015, 09:12 AM
(This post was last modified: 05-19-2015, 09:13 AM by polanskiman.)
I have another comment/question regarding updating CoreBOS via git. Each time I do a git pull the new created files will have the permissions of the account I am git pulling from. In my case, it's the root account. This is obvious, but it does leave me with having to re-apply the proper permissions each time I do an update. Isn't there a way to automate this?
Posts: 3,565
Threads: 36
Joined: Apr 2014
Reputation:
49
Can't you pull them as the user they should belong to?
AFAIK git does not control in any way the user assignment so I would suggest creating a small bash script to do the assignment for you, after all it is just one command.... :-)
Joe
TSolucio
Posts: 90
Threads: 19
Joined: May 2014
Reputation:
0
05-20-2015, 02:44 AM
(This post was last modified: 05-20-2015, 04:28 AM by polanskiman.)
No, I can't pull them using the http user as that is the user they are supposed to belong to and even if I did, although the ownership would be fine, the permissions would still be incorrect or at least not totally accurate. Synology only enables the root and admin accounts for ssh and in order to enable other users I would need to modify the /etc/passwd file which I would rather not do.
Indeed, it's not git who controls the user assignment it's the account from which the pull command is being made from as far as I understand.