File tree Expand file tree Collapse file tree 4 files changed +10
-2
lines changed
Expand file tree Collapse file tree 4 files changed +10
-2
lines changed Original file line number Diff line number Diff line change @@ -15,6 +15,6 @@ $command[] = new Command\DefaultApplicationCommand();
1515$ command [] = new Command \AdobeInfoCommand ();
1616$ command [] = new Command \AdobeBackupCommand ();
1717$ command [] = new Command \AdobeTransferCommand ();
18- $ app = new Application ('MacPrefer ' , 'v1.2.6 ' );
18+ $ app = new Application ('MacPrefer ' , 'v1.2.7 ' );
1919$ app ->addCommands ($ command );
2020$ app ->run ();
Original file line number Diff line number Diff line change 1414 "email" : " aaron@jonesicoding.com"
1515 }
1616 ],
17- "version" : " 1.2.6 " ,
17+ "version" : " 1.2.7 " ,
1818 "require" : {
1919 "ext-json" : " *" ,
2020 "ext-posix" : " *" ,
Original file line number Diff line number Diff line change @@ -158,6 +158,14 @@ protected function writeConfig()
158158 break ;
159159 }
160160
161+ // Set Proper Ownership
162+ $ owner = posix_getpwuid (fileowner ($ this ->getUserLibraryDir ()));
163+ $ group = posix_getgrgid (filegroup ($ this ->getUserLibraryDir ()));
164+ chown ($ this ->configFile , $ owner ['name ' ]);
165+ chown (dirname ($ this ->configFile ), $ owner ['name ' ]);
166+ chgrp ($ this ->configFile , $ group ['name ' ]);
167+ chgrp (dirname ($ this ->configFile ), $ group ['name ' ]);
168+
161169 return $ this ;
162170 }
163171
You can’t perform that action at this time.
0 commit comments