LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 05-07-2005, 03:11 PM   #1
Harriskaver
LQ Newbie
 
Registered: Mar 2005
Location: Birmingham, UK
Distribution: Fedora Core 5
Posts: 25

Rep: Reputation: 15
chmod problems


I've just finished setting up a linux server I'm going to run but I keep running into a problem whenever I try to install a file manager.

When I need to chmod a file, although it has been chmodded to 777 as the instructions say, it still returns an error message along the lines of 'file.ext is not writeable'.

I've tried rebooting apache after chmodding although nothing changed.
Can anyone help me?
Thanks in advance, Dan.
 
Old 05-07-2005, 04:31 PM   #2
comprookie2000
Gentoo Developer
 
Registered: Feb 2004
Location: Fort Lauderdale FL.
Distribution: Gentoo
Posts: 3,291
Blog Entries: 5

Rep: Reputation: 56
What is the full file name like;
/var/www/localhost/htdocs/somefolder/somefile.txt
 
Old 05-08-2005, 01:25 AM   #3
Harriskaver
LQ Newbie
 
Registered: Mar 2005
Location: Birmingham, UK
Distribution: Fedora Core 5
Posts: 25

Original Poster
Rep: Reputation: 15
/var/www/html/filemanager/languages/en-gb.lng.php

(Invision File Manager)
 
Old 05-08-2005, 05:09 AM   #4
comprookie2000
Gentoo Developer
 
Registered: Feb 2004
Location: Fort Lauderdale FL.
Distribution: Gentoo
Posts: 3,291
Blog Entries: 5

Rep: Reputation: 56
You can try
chmod 777 -R /var/www/html/filemanager/languages/
That is suppose to change the dir languages and everything in it.
 
Old 05-08-2005, 09:35 AM   #5
akudewan
Member
 
Registered: Apr 2004
Location: India
Distribution: Ubuntu
Posts: 364

Rep: Reputation: 30
You can do a "ls -lh" in the required directory and see the permissions, whether they are actually being changed or not.
 
Old 05-11-2005, 02:07 PM   #6
Harriskaver
LQ Newbie
 
Registered: Mar 2005
Location: Birmingham, UK
Distribution: Fedora Core 5
Posts: 25

Original Poster
Rep: Reputation: 15
I've done everything you've recommended but it still doesn't work. The files are definately getting chmodded to 777 - it's just no PHP scripts can write to them :-(. Any ideas?
 
Old 05-11-2005, 03:27 PM   #7
zackarya
Member
 
Registered: Jul 2003
Distribution: OpenSuse 10, Debian
Posts: 152

Rep: Reputation: 30
Hi Harriskaver, have you checked to make sure that the filesystem you are trying to write to is not mounted read only. Thats the only thing I could think of off hand.
 
Old 05-12-2005, 11:00 AM   #8
Harriskaver
LQ Newbie
 
Registered: Mar 2005
Location: Birmingham, UK
Distribution: Fedora Core 5
Posts: 25

Original Poster
Rep: Reputation: 15
But then programs wouldn't have been able to save :-S. Is there anything in the php.ini file that I might be causing this problem?
 
Old 06-04-2005, 02:55 PM   #9
Harriskaver
LQ Newbie
 
Registered: Mar 2005
Location: Birmingham, UK
Distribution: Fedora Core 5
Posts: 25

Original Poster
Rep: Reputation: 15
I looked through php.ini and couldn't find anything that would affect this so I logged in as root, chmodded a file to 777 (file owner: root) and then tried logging in on my username. I navigated to the file and although it said it was 777 I could not edit/modify the file :S. Any ideas?

[Btw, sorry for not having posted in this topic for ages.]
 
  


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
chmod problems cerealdaemon Linux - General 2 07-22-2005 06:56 AM
CHMOD problems fritz001 Slackware 3 11-05-2004 06:15 AM
CHMOD problems in RH9 karloskar Linux - Newbie 2 08-02-2004 05:28 AM
samba and chmod problems... djroketboy Linux - Networking 2 08-12-2003 02:34 PM
chmod problems teacup Linux - General 9 04-22-2003 12:35 AM


All times are GMT -5. The time now is 10:22 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration