[thelist] AOL wants to buy RH Linux??

.jeff jeff at members.evolt.org
Sun Jan 20 02:26:45 CST 2002


joel,

><><><><><><><><><><><><><><><><><><><><><><><><><><><><><
> From: joel
>
> | > what's worse -- a) a company that gobbles up other
> | > companies that have either attractive or competing
> | > software and actually uses that software in their
> | > future releases or b) a company that gobbles up
> | > other companies and turns those companies and their
> | > product into a shambles?
>
> Huh? (no disagreement, I just don't understand. Do you
> mean there's no doubt the answer is "b" or am I
> confused?)
><><><><><><><><><><><><><><><><><><><><><><><><><><><><><

yeah, my bad.  i did mean "b".

<tip type="ColdFusion" author=".jeff">

having problems with directory and file operations with coldfusion on linux?
can't seem to fix the problems by setting the permissions to even 777?
that's because the directories and/or files don't belong to the right group.
in order to work with them through coldfusion, they have to belong to the
same group that coldfusion runs under -- nobody.  so, simply use the chgrp
command to move them to the right group.  [note: you'll likely not be
allowed to do this yourself unless you can su to root or are yourself a
member of the "nobody" group].  change their group like so:

cd (change directory) until you get to the directory you want to work with.

> cd public_html

view the directories and files in "public_html", including the owner and
group the directories and files belong to:

> ls -l

change the group to "nobody"

> chgrp nobody images

make sure you get the directories and/or files within the "images" directory
as well (ownership and groups don't get inherited automatically).  it's as
simple (if you only have files and/or empty directories within your "images"
directory as this changing directory to the "images" directory:

> cd images

and then using the chgrp command to change them all at once, this time using
a wildcard:

> chgrp nobody *.*

now you should be good to go.  all future files and folders you create
within the "images" directory via coldfusion should be owned by "nobody" and
be a part of the "nobody" group allowing access to read, write, and delete
at will.

a word of caution though -- if you upload other files or create directories
within the "images" directory by another process (ftp, for example) that
runs under a different group, these new directories and/or files won't
belong to the "nobody" group and you'll have to repeat the process to make
them accessible to coldfusion.

</tip>

enjoy,

.jeff

http://evolt.org/
jeff at members.evolt.org
http://members.evolt.org/jeff/






More information about the thelist mailing list