Author Topic: Trouble with permissions on Linux/Unix servers  (Read 2972 times)

Offline genealogynetwork

  • RootsChat Extra
  • **
  • Posts: 43
    • View Profile
Trouble with permissions on Linux/Unix servers
« on: Monday 02 February 09 01:49 GMT (UK) »
I FTP my pages and then they do not appear.  I've checked the permissions, however, the pages are still absent.  The hosted server is in the UK.  Could this be a time problem since I'm in the US or is this a permission issue? Can't view the page at all hosted on 100webspace.net.
The Genealogy Box - Genealogy Network
American History and Genealogy Project

Offline peteg

  • RootsChat Extra
  • **
  • Posts: 26
    • View Profile
Re: Trouble with permissions on Linux/Unix servers
« Reply #1 on: Monday 02 February 09 08:15 GMT (UK) »
Try using "GFTP" for your version of linux, I use this and have no problems, the Main website for it is http://gftp.seul.org/

Pete

Offline Nick29

  • Deceased † Rest In Peace
  • RootsChat Marquessate
  • ********
  • Posts: 6,273
    • View Profile
Re: Trouble with permissions on Linux/Unix servers
« Reply #2 on: Tuesday 03 February 09 10:02 GMT (UK) »
Make sure you're uploading them into the correct directory (sometimes called public html).  Some servers have directories that you can upload to, which are not publicly viewable. 
RIP 1949-10th January 2013

Best Wishes,  Nick.

Census information Crown Copyright, from www.nationalarchives.gov.uk

Offline Bigclick

  • RootsChat Extra
  • **
  • Posts: 64
  • Census information Crown Copyright, from www.nationalarchives.gov.uk
    • View Profile
Re: Trouble with permissions on Linux/Unix servers
« Reply #3 on: Tuesday 03 February 09 19:15 GMT (UK) »
are you definitley transfering or silently timeing out?
use the hash switch to monitor the transfer?


Offline downside

  • RootsChat Marquessate
  • *******
  • Posts: 4,208
  • Make my day
    • View Profile
Re: Trouble with permissions on Linux/Unix servers
« Reply #4 on: Wednesday 04 February 09 00:22 GMT (UK) »
It doesn't make any difference where you are in the world.  If you have been assigned a directory by your host then permissions should not be a problem.

You need to review how your FTP program connects to the website.  Typically you will have a profile that needs these values:

Profile name: My FTPsite
Host Address: upload.100webspace.net
Port: 21
Login:
Password:
Initial path: /docs
Attempts: 1
Download path: C:/Documents and Settings/Your Name/My Documents
Description:

This is just an example.  Your host should have supplied this information so re-check it just in case you missed something.
Sussex: Floate, West
Kent: Tuffee
Cheshire: Gradwell
Lancashire: Gradwell

UK Census information is Crown Copyright, from www.nationalarchives.gov.uk

Offline genealogynetwork

  • RootsChat Extra
  • **
  • Posts: 43
    • View Profile
Re: Trouble with permissions on Linux/Unix servers
« Reply #5 on: Wednesday 04 February 09 01:50 GMT (UK) »
I can FTP into my site and get the files in there, they just are not viewable, even though permissions are ok for owner, group and public to read.  The pages are blank and a number appears ( 51). Although if I manually log into check the html, it is all there and if I choose to preview my page, it looks great in preview and then disappears once called by http:// address.  I can't figure it out.
The Genealogy Box - Genealogy Network
American History and Genealogy Project

Offline genealogynetwork

  • RootsChat Extra
  • **
  • Posts: 43
    • View Profile
Re: Trouble with permissions on Linux/Unix servers
« Reply #6 on: Wednesday 04 February 09 01:54 GMT (UK) »
are you definitley transfering or silently timeing out?
use the hash switch to monitor the transfer?


I log into my account via the web interface and check the html on the page and it appears fine, even in preview.  If I call the http:// address of my site, it does not appear.

I tried a basic html page without CSS that will appear both in online editor preview and when called by http:/, but my CSS page will not appear when called and shows up fine in preview!
 

I'm still new at this so I will go back again and check permissions one more time, just in case.
The Genealogy Box - Genealogy Network
American History and Genealogy Project

Offline downside

  • RootsChat Marquessate
  • *******
  • Posts: 4,208
  • Make my day
    • View Profile
Re: Trouble with permissions on Linux/Unix servers
« Reply #7 on: Wednesday 04 February 09 09:21 GMT (UK) »
As a general rule a CSS file does not open when you double click it - unlike an HTML file.  Usually you have to specify a program that can open it like NotePad or some other text editor program.

Is the link to the external CSS file correct?  In between the head tags of your main html file, similar to this:

<link rel="stylesheet" type="text/css" href="ftstyles.css" />
Sussex: Floate, West
Kent: Tuffee
Cheshire: Gradwell
Lancashire: Gradwell

UK Census information is Crown Copyright, from www.nationalarchives.gov.uk

Offline Nick29

  • Deceased † Rest In Peace
  • RootsChat Marquessate
  • ********
  • Posts: 6,273
    • View Profile
Re: Trouble with permissions on Linux/Unix servers
« Reply #8 on: Wednesday 04 February 09 09:54 GMT (UK) »
are you definitley transfering or silently timeing out?
use the hash switch to monitor the transfer?


I log into my account via the web interface and check the html on the page and it appears fine, even in preview.  If I call the http:// address of my site, it does not appear.

I tried a basic html page without CSS that will appear both in online editor preview and when called by http:/, but my CSS page will not appear when called and shows up fine in preview!
 

I'm still new at this so I will go back again and check permissions one more time, just in case.

The permissions won't matter if the directory isn't a public one.  One of the classic mistakes with web hosting is to upload files to a directory which is not the root.  You'll be able to see them, but no-one else will.

RIP 1949-10th January 2013

Best Wishes,  Nick.

Census information Crown Copyright, from www.nationalarchives.gov.uk