Re: ColdFusion and Linux
On Friday 04 Dec 2009, Raul Riera wrote: > Does anyone know the solution of this? Also, what would be the recommended > chmod to use? seems like 777 is the only one that will allow me to write to > the folder Don't do that. Or '666'. This allows anyone on the server to alter the file. This isn't what you want (almost certainly). Change the owner (or group) of the folder to match what the ColdFusion service is running as e.g. 'chown nobody /path/to/folder'. -- Helping to augmentatively cultivate network eye-catching attention-grabbing deliverables as part of the IT team of the year, '09 and '08 This email is sent for and on behalf of Halliwells LLP. Halliwells LLP is a limited liability partnership registered in England and Wales under registered number OC307980 whose registered office address is at Halliwells LLP, 3 Hardman Square, Spinningfields, Manchester, M3 3EB. A list of members is available for inspection at the registered office together with a list of those non members who are referred to as partners. We use the word partner to refer to a member of the LLP, or an employee or consultant with equivalent standing and qualifications. Regulated by the Solicitors Regulation Authority. CONFIDENTIALITY This email is intended only for the use of the addressee named above and may be confidential or legally privileged. If you are not the addressee you must not read it and must not use any information contained in nor copy it nor inform any person other than Halliwells LLP or the addressee of its existence or contents. If you have received this email in error please delete it and notify Halliwells LLP IT Department on 0870 365 2500. For more information about Halliwells LLP visit www.halliwells.co ~| Want to reach the ColdFusion community with something they want? Let them know on the House of Fusion mailing lists Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:329002 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: ColdFusion and Linux
Actually 666 would give read-write permissions to everyone as well. Here's the break down: First number = owner rights Second number = group rights Third number = world rights From there, each number is determined from the following values: Read = 4 Write = 2 Execute = 1 If I want to give ONLY the owner read/write permissions, and everyone else just gets to read it, I would set it to the following: 4 (read) + 2 (write) = 6 Now that we know the numbers to use, we can assign those numbers to the users we want to have those permissions Owner: 6 Group: 4 World: 4 And now we know what to use with our chmod command: # chmod 644 myfile.cfm Make sense? Hope this helps! Warm regards, Jordan Michaels Vivio Technologies http://www.viviotech.net/ Open BlueDragon Steering Committee Adobe Solution Provider Kris Sisk wrote: >> Does anyone know the solution of this? Also, what would be the >> recommended chmod to use? seems like 777 is the only one that will >> allow me to write to the folder > > I'm not sure about your accents and whatnot. Being embarrassingly unilingual > I don't use them very much. But your chmod should be 666 for read/write > access. 777 is read/write/execute permission for everyone, so unless you're > outputting scripts that you want to be able to run, 666 is the better chmod. > > ~| Want to reach the ColdFusion community with something they want? Let them know on the House of Fusion mailing lists Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:328879 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: ColdFusion and Linux
>Hello Raul, > > I run Linux on my box. I am not sure what your problem is. My cffile >writes without a problem with or without accents. Can you send your code >through or paste it on pastebin.com? > Hi, sure here it is http://pastebin.com/m4ed72d7f the file gets written alright, it just the content that is all messed up... (this worked on windows though) running Adobe ColdFusion 8 ~| Want to reach the ColdFusion community with something they want? Let them know on the House of Fusion mailing lists Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:328863 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: ColdFusion and Linux
Hello Raul, I run Linux on my box. I am not sure what your problem is. My cffile writes without a problem with or without accents. Can you send your code through or paste it on pastebin.com? Regards, Ravi. On Fri, 2009-12-04 at 00:34 -0500, Raul Riera wrote: > rierar...@gmail.com> Ravi Gehlot http://www.ravigehlot.net r...@ravigehlot.net Computer Science Student Computer Programmer ~| Want to reach the ColdFusion community with something they want? Let them know on the House of Fusion mailing lists Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:328853 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: ColdFusion and Linux
> Does anyone know the solution of this? Also, what would be the > recommended chmod to use? seems like 777 is the only one that will > allow me to write to the folder I'm not sure about your accents and whatnot. Being embarrassingly unilingual I don't use them very much. But your chmod should be 666 for read/write access. 777 is read/write/execute permission for everyone, so unless you're outputting scripts that you want to be able to run, 666 is the better chmod. ~| Want to reach the ColdFusion community with something they want? Let them know on the House of Fusion mailing lists Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:328844 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: ColdFusion and Linux
>On 12/4/2009 12:34 PM, Raul Riera wrote: >> am having problems with the cffile tag, it seems that the tag will destroy my >> accents (spanish) and special characters, I tried using chartset="utf-8" but >> it is still turning them into ? signs and weird symbols. > >first off its "charset". 2nd, is the file actually encoded as utf-8? Hey Paul, yeah that was a typo here, but in the code is correct, what do you mean by actually encoded? in Windows all I need to do is write in the textarea the way I want to (accents, special characters, etc) and it's saved alright to the database (this is the case here as well, but when writting to the files, all gets messed up... Example: (this is what I write in the textarea and how is saved in the DB, notice the accent in ofreciéndoles) Pensando en las cambiantes necesidades de nuestros pacientes, renovamos y mejoramos nuestras instalaciones, ofreciéndoles un mejor servicio, con un mayor confort, contando siempre con un trato humano y amable. (this is what gets written to the filesystem, notice the question mark) Pensando en las cambiantes necesidades de nuestros pacientes, renovamos y mejoramos nuestras instalaciones, ofreci?ndoles un mejor servicio, con un mayor confort, contando siempre con un trato humano y amable. You can check the site at www.bokanova.mx (I have tried using meta tags, and everything, how it is now is how it was in Windows.. and working then) ~| Want to reach the ColdFusion community with something they want? Let them know on the House of Fusion mailing lists Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:328828 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: ColdFusion and Linux
On 12/4/2009 12:34 PM, Raul Riera wrote: > am having problems with the cffile tag, it seems that the tag will destroy my > accents (spanish) and special characters, I tried using chartset="utf-8" but > it is still turning them into ? signs and weird symbols. first off its "charset". 2nd, is the file actually encoded as utf-8? ~| Want to reach the ColdFusion community with something they want? Let them know on the House of Fusion mailing lists Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:328827 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
ColdFusion and Linux
Hi, I am new at working with Linux in ColdFusion (plenty of Windows experience) I am having problems with the cffile tag, it seems that the tag will destroy my accents (spanish) and special characters, I tried using chartset="utf-8" but it is still turning them into ? signs and weird symbols. Does anyone know the solution of this? Also, what would be the recommended chmod to use? seems like 777 is the only one that will allow me to write to the folder ~| Want to reach the ColdFusion community with something they want? Let them know on the House of Fusion mailing lists Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:328826 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4