Gossamer Forum
Home : Products : DBMan SQL : Discussion :

Added new template and permission644?

Quote Reply
Added new template and permission644?
Well I added new template, and it set the permission to 644 for it. hmm How do I change that, so when I create new template, it would set permission to 666? I tried fileman, and program on my server (other file permission thing), and looks like its locked (ie owned by the server)...

I originally installed through shell, and not from web.

I deleted the compile file it created, and then I tried just uploading the file using my ftp program. Good so far, and I was able to set permissions, but when I run the command (It supposed to go to the detail, page) it tells me file not found, even tough its there.Unsure
Thx

Other wierd thing I noticed, is my images are not showing at all.... ie fileman icons... dont show. And I also tried homes demo, and icons dont show for that either. I Triple checked, and cant find error.
Anybody else with same?

Last edited by:

Hank: Nov 9, 2001, 1:50 PM
Quote Reply
Re: [Hank] Added new template and permission644? In reply to
Hi Hank,

If you want to edit the templates through web admin (assuming you installed through shell) , you must change the file permission to 666 so that web server user (nobody or apache user) can access them.

Quote:
when I run the command (It supposed to go to the detail, page) it tells me file not found, even tough its there
Did you setup a new template set to use for you db ? (via Admin panel/Editor/Setup)

Quote:
Other wierd thing I noticed, is my images are not showing at all.... ie fileman icons... dont show. And I also tried homes demo, and icons dont show for that either. I Triple checked, and cant find error
I think you have entered a wrong image URL for your image path . Could you check again if db_images_url is correct ?

Cheers,
jean@gossamer-threads.com
Quote Reply
Re: [jean] Added new template and permission644? In reply to
More coffee :)

Nope did not work

I am using default templates...

I tried and installed everything from the scratch.

It works on my home test machine, after I upgraded 2.01 to 2.02...
but with fresh installation, even withouh adding anything, graphics wont work... I think its hard coded somewhere differently than 2.01 version...(Sorry 2.0.0)
because thjat works.



Something is wrong with my server permissions...
even the 2.0.0 dont work... (Images wont show up)
hmmmm

Last edited by:

Hank: Nov 9, 2001, 6:53 PM
Quote Reply
Re: [Hank] Added new template and permission644? In reply to
Template files should be set to 666 for read/write purposes...
========================================
Buh Bye!

Cheers,
Me
Quote Reply
Re: [Chewbaca] Added new template and permission644? In reply to
Well thats what I've tried to say.... I am unable to set them for 666, they are set for 644.

That means, when I am using my shell account and trying to change the permissions for my new templatefile called search_detail.html (It has permission 644... dbmansql gave him that, and now I am trying to change it to 666 through the shell and this is the error message: "error writing file attributes"

And another error, when trying to do the same through cute "SITE CHMOD 666 /public_html/cgi-bin/hank/admin/templates/default/search_detail.html
550 /public_html/cgi-bin/hank/admin/templates/default/search_detail.html: No such file or directory
ERROR:> Requested action not taken (e.g., file or directory not found, no access).

I can change the permissions for the files that are originally installed, but when I am adding a new file via admin template "save as" it wont work.

Any ideas?Unimpressed

Well I got it working, but after reinstalling the files, and downloading the file from my backup dir to my hd, and then back to default dir. changed the permissions and voila it works... but I am not going to mess with template editor, since it will set the ownership to itself, and cante change it no matter what. Any feedback?

And I quess I will change my image dir somewhere else than cgi-bin dir, since it wont let me access the images...

Last edited by:

Hank: Nov 9, 2001, 8:17 PM
Quote Reply
Re: [Hank] Added new template and permission644? In reply to
You should do the following:

1) Create a BLANK file called search_detail.html via shell in your templates folder.

2) Then change the permission of this blank file to 666 via shell not CUTEFTP (yuck!).
========================================
Buh Bye!

Cheers,
Me
Quote Reply
Re: [Chewbaca] Added new template and permission644? In reply to
Well look at that, we posted the thing same time...
Anyhow thanks... Got it working.
Cute works actually better than my shell... my shell keeps getting the files corrupted somehow...
Hank