Author Topic: setting permissions (chmod 777 and so on...)  (Read 7509 times)

0 Members and 1 Guest are viewing this topic.

Offline stephen

  • Newbie
  • *
  • Posts: 24
    • View Profile
    • http://www.jetfighters.dk
setting permissions (chmod 777 and so on...)
« on: May 17, 2003, 03:26:35 PM »
Ok I've come this far: All I need to do is to change the permissions with my WS_FTP.
When I click on 'dirinfo' on my WS_FTP I get this:

-rw-r--r--   1 jetfightersdk jetfightersdk    12806 May 14 19:50 WS_FTP.LOG
drwxr-xr-x   3 jetfightersdk jetfightersdk     4096 May 14 19:46 admin
-rw-r--r--   1 jetfightersdk jetfightersdk     7228 May 14 19:49 categories.php
-rw-r--r--   1 jetfightersdk jetfightersdk     1878 May 14 21:17 config.new.php
-rw-r--r--   1 jetfightersdk jetfightersdk     1869 May 16 16:50 config.php
drw-r--r--   7 jetfightersdk jetfightersdk     4096 May 14 19:46 data
-rw-r--r--   1 jetfightersdk jetfightersdk    26784 May 14 19:50 details.php
drwxr-xr-x   2 jetfightersdk jetfightersdk     4096 May 14 19:46 docs
-rw-r--r--   1 jetfightersdk jetfightersdk    10117 May 14 19:50 download.php
-rw-r--r--   1 jetfightersdk jetfightersdk    11062 May 14 19:50 global.php
drwxr-xr-x   2 jetfightersdk jetfightersdk     4096 May 14 19:47 includes
-rw-r--r--   1 jetfightersdk jetfightersdk     6370 May 14 19:50 index.php
drwxr-xr-x   4 jetfightersdk jetfightersdk     4096 May 14 19:48 lang
-rw-r--r--   1 jetfightersdk jetfightersdk     7439 May 14 19:50 lightbox.php
-rw-r--r--   1 jetfightersdk jetfightersdk     2956 May 14 19:50 login.php
-rw-r--r--   1 jetfightersdk jetfightersdk     2143 May 14 19:50 logout.php
-rw-r--r--   1 jetfightersdk jetfightersdk    58895 May 17 10:43 member.php
-rw-r--r--   1 jetfightersdk jetfightersdk    14942 May 14 19:50 postcards.php
-rw-r--r--   1 jetfightersdk jetfightersdk    15830 May 14 19:50 register.php
-rw-r--r--   1 jetfightersdk jetfightersdk    14418 May 14 19:50 search.php
drwxr-xr-x   3 jetfightersdk jetfightersdk     4096 May 14 19:48 templates
-rw-r--r--   1 jetfightersdk jetfightersdk    13544 May 14 19:50 top.php

How exactly do I change the permissions??? I am scared to screw up, so please, someone who has done this before and knows what he's/she's doing, HELP ME :oops:

Thanks in advance
Best regards
Stephen :P
Fly now! work later...

Offline jw791

  • Pre-Newbie
  • Posts: 9
    • View Profile
    • http://www.talkpets.com
Re: setting permissions (chmod 777 and so on...)
« Reply #1 on: May 17, 2003, 03:42:42 PM »
You need to change the permissions to 777 for your data directory and all subdirectories.  If you have WS-FTP, right-click on the data directory, and select "CHMOD (UNIX)"  Then when the permissions box comes up, make sure all the boxes are checked.  

Repeat for all the subdirectories.

Go back to the instructions and make sure that all your permissions are set according to what it says.

Yeah - I struggled a bit myself, but once I got the permissions fixed, it solved all the problems.
Talk about dogs, cats, and post pictures at Talk Pets!

Offline stephen

  • Newbie
  • *
  • Posts: 24
    • View Profile
    • http://www.jetfighters.dk
setting permissions (chmod 777 and so on...)
« Reply #2 on: May 17, 2003, 05:00:39 PM »
Hey jw791!!!
thanks for your help mate!!  :P  :P  :P It works the way you say it. Now I seem to have a new problem though. I uploaded netpbm to the site and entered the path in the 'settings section' but it says that netpbm is either not installed or else the wrong path has been entered. Does anyone know what path is the correct one to be entered?
Best regards
Stephen
Fly now! work later...

Offline Chris

  • 4images Moderator
  • 4images Guru
  • *****
  • Posts: 4.487
  • Did u ever stop to think and then forget to start?
    • View Profile
setting permissions (chmod 777 and so on...)
« Reply #3 on: May 17, 2003, 07:28:37 PM »
The path must be the full directory path on your server and not a URL.  Something like:

/pub/htmldocs/usr/jetfightersdk/<rest of path to netpbm>/netpbm.exe

or whatever the executable is called.

Offline stephen

  • Newbie
  • *
  • Posts: 24
    • View Profile
    • http://www.jetfighters.dk
setting permissions (chmod 777 and so on...)
« Reply #4 on: May 17, 2003, 09:00:22 PM »
Hey Chris,
thanks for your suggestion. Hmmm, I cannot seem to find any .exe files in netpbm!?! Weird program! Do you also use this program. It seems very complicated to get it up and running. Which program are you guys using for thumbnails? Are they easy/ complicated to install/ run etc.???

Thanks again.
Best regards
Stephen :P
Fly now! work later...

Offline Chris

  • 4images Moderator
  • 4images Guru
  • *****
  • Posts: 4.487
  • Did u ever stop to think and then forget to start?
    • View Profile
setting permissions (chmod 777 and so on...)
« Reply #5 on: May 17, 2003, 09:58:02 PM »
Very often UNIX executables do not have ANY file name extension. You'll have to consult the NetPBM documentation.

I do not use the auto thumbnailer.

Offline stephen

  • Newbie
  • *
  • Posts: 24
    • View Profile
    • http://www.jetfighters.dk
setting permissions (chmod 777 and so on...)
« Reply #6 on: May 17, 2003, 10:01:29 PM »
roger that Chris,
I think I'll make my own thumbnails  :wink:

Thanks again and best regards
Stephen
Fly now! work later...

Offline jw791

  • Pre-Newbie
  • Posts: 9
    • View Profile
    • http://www.talkpets.com
setting permissions (chmod 777 and so on...)
« Reply #7 on: May 18, 2003, 05:52:58 PM »
Quote from: stephen
roger that Chris,
I think I'll make my own thumbnails  :wink:

Thanks again and best regards
Stephen


Does your host support GD?  It automatically generates thumbnails for you.

Example - http://www.talkpets.com/album

Copy this code:

<?php
phpinfo();
?>

Save it as "phpinfo.php", upload it to your server and point your browser to http//www.yoursite.com/phpinfo.php.  It should tell you about 1/2 way down the page what version of GD you are running.

If it is 2.0 or greater, 4images will automatically generate thumbnails for you.  If not, scream at your host to install GD  :P
Talk about dogs, cats, and post pictures at Talk Pets!