LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 11-17-2007, 10:27 AM   #1
heyme
LQ Newbie
 
Registered: Nov 2007
Location: Antwerpen, Belgium
Distribution: Ubuntu 7.10
Posts: 11

Rep: Reputation: 0
Unhappy permission denied after loading files to server


Hello,
Yep, newbie, that's me:-)
Recently started using Ubuntu 7.10, and am trying out Bluefish editor for making PHP pages, and gFTP for loading to my webserver.
Now when I want to view them I get the '403 page forbidden'.
I checked, and saw that the files belong to 'root'. I know how to change my user to root, but not sure what the permissions are to set or exactly how to set them (and preferably in such a way that all files saved in a folder and below get the same permissions).
Neither do I know if there is a setting in bluefish or gFTP which are responsible for the permissions on the files, I never had this problem before really..
If there is a setting I can set so that all files and folders within a folder will get the correct permissions I'd be very happy to know.

Already many thanks,
 
Old 11-17-2007, 10:33 AM   #2
MasterC
LQ Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu ; CentOS ; Raspbian
Posts: 12,613

Rep: Reputation: 69
I don't have gFTP at my fingertips right now, but I believe it's in the lower right portion of the application. There is a means to change permissions, look for something that says chmod.

Also, your permission issue:

You may want to look at the server logs to see what they say about the error. It may just be a directory permissions thing (directories need execute permissions to allow access to them). The PHP files themselves are ok to be owned by root; it's probably that there aren't any read permissions for world:
chmod a+r
OR
chmod 764

Might be sufficient.

Good luck!

-Chad
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Server always gives permission denied binarybob0001 Linux - Networking 4 11-11-2007 09:43 PM
Root denied permission to remove files suse_buse Linux - General 3 10-26-2006 06:56 PM
Permission denied when I try to see the files on my CD ROM riba43 SUSE / openSUSE 10 10-10-2006 02:08 AM
Permission Denied while coping files busaussie Linux - General 5 01-05-2006 11:26 AM
permission denied on .htaccess files in Apache scott.anderson Linux - Software 3 12-16-2005 12:19 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 06:01 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration