[Ilugc] Could not save the file /var/www/html/rite.php.

2010-11-01 Thread jaya kumar
hi i installed php in fedora  13

and the problem is i saved the files in /var/www/html

if i log in as a root i use vi editor and save the files no problem

but i logged in as a normal user using the ge editor but i getting the error


Could not save the file /var/www/html/rite.php.

You do not have the permissions necessary to save the file. Please check
that you typed the location correctly and try again.

please can u tell the reason

i log in as a root user in terminal editing the vi file and saved a php file
in /var/www/html it does not got any error !

but in normal cgi mode i edited in ge editor i cannot save in /var./www/html


whats behind the reason ?
___
ILUGC Mailing List:
http://www.ae.iitm.ac.in/mailman/listinfo/ilugc


Re: [Ilugc] Could not save the file /var/www/html/rite.php.

2010-11-01 Thread Ravi Jaya
Could not save the file /var/www/html/rite.php.

 @ Jayakumar,
The default file permission and the ownership of /var/www/html file system
is 755 and root respectively.  The location /var/www/html is called as the
document root, *Its the location w*here we deploy the web files for Apache
Httpd  server.  When you login as a root, yes you would have the permission
to have the save the files in the document root. The others doesn't have a
write permission , you can fix this my assigning the 'rwx' 777 [1]
permission for every body. This could by the command [1] mentioned below.
Reference for the chmod available at [2] [3]

[1] chmod -R 777 /var/www/html

[2] man chmod

[3] http://ss64.com/bash/chmod.html



-- 
Ravi Jaya

Mobile: +91 97909 16181
___
ILUGC Mailing List:
http://www.ae.iitm.ac.in/mailman/listinfo/ilugc


Re: [Ilugc] Could not save the file /var/www/html/rite.php.

2010-11-01 Thread Yuva raj

 [1] chmod -R 777 /var/www/html

 Way to create a big security hole.




-- 
*Thank You
Best Regards*

*Yuvaraj L*
___
ILUGC Mailing List:
http://www.ae.iitm.ac.in/mailman/listinfo/ilugc