On Sun, Nov 1, 2009 at 5:36 PM, Chad <[email protected]> wrote:
>
> OK... Ran into trouble with this again.  Here is output:
>
> /var/www/lovdbyless: ls -al public/javascripts
> total 428
> drwxr-xr-x 2 root root   4096 2009-11-01 12:50 .
> drwxr-xr-x 6 root root   4096 2009-11-01 12:50 ..
> -rw-r--r-- 1 root root   2481 2009-01-31 07:37 application.js
> -rw-r--r-- 1 root root  34797 2009-01-31 07:37 controls.js
> -rw-r--r-- 1 root root  31534 2009-01-31 07:37 dragdrop.js
> -rw-r--r-- 1 root root  38916 2009-01-31 07:37 effects.js
> -rw-r--r-- 1 root root  96799 2009-01-31 07:37 jquery.js
> -rw-r--r-- 1 root root  55893 2009-11-01 13:12 less_routes.js
> -rw-r--r-- 1 root root   1142 2009-01-31 07:37 pngfix.js
> -rw-r--r-- 1 root root 125605 2009-01-31 07:37 prototype.js
> -rw-r--r-- 1 root root  11940 2009-01-31 07:37 thickbox.js
> -rw-r--r-- 1 root root   2605 2009-01-31 07:37 truncator.js
>
>
> Please advise.
>




It looks like root owns all the files and so when you run the app, it
tries to regenerate the less_routes.js file, but isn't allowed to do
that because it can't overwrite the file owned by root.

It not a good idea to have all the files owned by root, nor run the
app as root. Here's how to fix: Assuming your user account name is
"chad" and the chad's main group name is also "chad" run the following
from the root of the app:

> sudo chown -R chad:chad *

Now you should be able to run the app as chad and the js file will be writable.

cheers,
steve

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Lovd by Less" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/lovdbyless?hl=en
Who loves ya baby?
-~----------~----~----~----~------~----~------~--~---

Reply via email to