Magento – SUPEE-6788 Yields htaccess issue

patchessupee-6788

The first time I ran the patch, I got

patching file .htaccess Hunk #1 FAILED at 207. It was the only file that had an issue. All the rest patched successfully.

I replaced with the stock .htaccess and .htaccess.sample, and ran the patch again. This time, new .htaccess issue:

Checking if patch can be applied/reverted successfully…
/usr/bin/patch: **** Can't rename file /tmp/polM4FGJ to .htaccess : Permission denied
ERROR: Patch can't be applied/reverted successfully.

I've checked all permissions, everything seems to be okay. Anyone run into this?

Best Answer

Please check the file permissions, issue seems to be that the file is not writable.
Change the file permissions and make it writable.

Related Topic