Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Using git pull
#4
OK. As I expected the change is on the file permission not the file content itself.

git controls the read/write permissions on the file. That permits us to distribute the project in a recommended (secure) file permission settings. For example, in the case of the Accounts.php file, we have set permission to 664 (or 644) but you have changed it to 755 probably due to your webserver configuration.

You can do two things:

1.- launch "git diff" on the files and then change their permission back to recommended state. Make sure you application keeps working.

2.- tell git to ignore file permission settings with a command like this:


Code:
git config core.fileMode false


http://lmgtfy.com/?q=git+ignore+file+permissions

Which one you use really depends on why you set the permissions to 755, if the application works with our default permission it is better to go with that, but if your particular server requires another set of permissions go with the second option.

Keep us posted.
Joe
TSolucio
Reply


Messages In This Thread
Using git pull - mweaver - 05-08-2015, 04:15 PM
RE: Using git pull - joebordes - 05-08-2015, 05:04 PM
RE: Using git pull - mweaver - 05-08-2015, 05:41 PM
RE: Using git pull - joebordes - 05-08-2015, 06:19 PM
RE: Using git pull - mweaver - 05-08-2015, 07:26 PM
RE: Using git pull - mweaver - 05-08-2015, 07:56 PM
RE: Using git pull - joebordes - 05-08-2015, 09:46 PM
RE: Using git pull - mweaver - 05-08-2015, 09:50 PM
RE: Using git pull - joebordes - 05-11-2015, 01:57 PM
RE: Using git pull - mweaver - 05-11-2015, 05:34 PM
RE: Using git pull - joebordes - 05-11-2015, 11:20 PM
RE: Using git pull - polanskiman - 05-12-2015, 05:40 AM
RE: Using git pull - polanskiman - 05-12-2015, 06:40 AM
RE: Using git pull - joebordes - 05-12-2015, 10:37 PM
RE: Using git pull - polanskiman - 05-13-2015, 03:47 AM
RE: Using git pull - polanskiman - 05-14-2015, 04:44 AM
RE: Using git pull - joebordes - 05-14-2015, 06:14 AM

Forum Jump:


Users browsing this thread: 1 Guest(s)