Whenever I use cygwin to patch a file, the patch is sucessful, however, I get a permission denied error that throws my Drupal install into a funk.

Doing a ls -l shows the file permissions and the only difference before and after the patch is that the file loses its '+' after its permissions.

For example, doing a ls -l on /includes shows (etc etc being more info about the file that I'd rather not type out):

-rwx------+ 1 Owner etc etc

After getting patched, the file's permissions look like:

-rwx------ 1 Owner etc etc

I think the + sign is what's causing the issue. Any advice is appreciated.

Comments

Rowanw’s picture

I have this problem too on Vista, supposedly it's solvable by configuring Cygwin in a certain way but whatever I did only seemed to work temporarily. I got around it by installing Ubuntu. ;)

Try searching http://cygwin.com/ for a solution, if you work it out please let us know.

2noame’s picture

In Vista I had this problem too. Just manually alter the file permissions after by right-clicking the file and choosing properties. Change it from read-only.

jgoldberg’s picture

Figured out anything yet?

jgoldberg’s picture

This is a bit of a hack, but in your drupal dir, run this cmd.

chmod a+rwx `find .`