On Nov 1, 2011, at 04:26, Jeremy Burns wrote:
> I'm following the tutorial for setting up David Persson's media
> plugin. Each time I run this:
>
> chmod -R a+rwX webroot/media/{transfer,filter}
>
> ... in Terminal I get this error:
>
> chmod: Invalid file mode: -R
I have a feeling you didn't type the command yourself, but that you copied and
pasted from the tutorial's web page. You didn't provide the URL of the
tutorial, but I'll bet it was posted on some blog, and that the blog engine
helpfully converted the hyphen in "-R" into an en-dash ("–R") or em-dash
("—R"). They look very similar on-screen, especially in a fixed-width font, but
they're totally different to the Terminal. I'm able to reproduce the error you
experienced if I use an en-dash or em-dash in place of the proper hyphen. So
the lesson is: sometimes it pays to type commands yourself instead of
copy/pasting, just be sure to transcribe them very carefully.
--
Our newest site for the community: CakePHP Video Tutorials
http://tv.cakephp.org
Check out the new CakePHP Questions site http://ask.cakephp.org and help others
with their CakePHP related questions.
To unsubscribe from this group, send email to
[email protected] For more options, visit this group at
http://groups.google.com/group/cake-php