FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » Imported messages » comp.lang.php » Could not save the file /var/www/html/rite.php.
Show: Today's Messages :: Polls :: Message Navigator
Return to the default flat view Create a new topic Submit Reply
Re: Could not save the file /var/www/html/rite.php. [message #170492 is a reply to message #170476] Tue, 02 November 2010 19:24 Go to previous messageGo to previous message
Jerry Stuckle is currently offline  Jerry Stuckle
Messages: 2598
Registered: September 2010
Karma:
Senior Member
On 11/2/2010 7:28 AM, The Natural Philosopher wrote:
> Magno wrote:
>> On 11/02/2010 12:14 AM, Jerry Stuckle wrote:
>>> On 11/1/2010 11:00 PM, Magno wrote:
>>>> On 11/01/2010 10:55 PM, Jerry Stuckle wrote:
>>>> > On 11/1/2010 9:16 PM, The Natural Philosopher wrote:
>>>> >> kiran kumar wrote:
>>>> >>> 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 ?
>>>> >>
>>>> >> # cd /var/www/html
>>>> >> # ls -l
>>>> >> # chown -r kiran *
>>>>
>>>> chown is for uid and gid.
>>>> Try chmod 750 /var/html -Rf
>>>>
>>>> Assuming you have uid set as your user and gid as apache.
>>>> Anyway it should work in most cases.
>>>>
>>>> > And nothing will be readable by the web server.
>>>> >
>>>> > A typical TNP response.
>>>>
>>>> If you have no contribution, please shut up.
>>>
>>> I have a contribution - much better than your garbage.
>>
>> Yes, we all just saw it.
>>
>>> Yours MAY work - or it might completely screw up his system - just as
>>> TNP's can.
>>
>> Sure, it will just kill and destroy the system to have set the
>> permissions to full control to the owner and only read/execution to
>> group.
>>
>>> <retarded ending snipped>
> indeed.
>
> However that at least might get the OP onto discovering where
> permissions apply, what they mean and the tools to fix them.
> ownership and umask of the actual directory, and the group file what I
> said wiould at least allow him to edit the web site as qa user.
>
> He never said he wanted the pages to display ;-)
>
> Nice to know Stuckle is still unemployed with time to waste.
>
> Still smarting after being shown up as wrong over the MySQL file caching
> issue eh Jerry? There there.
>
>
>

Oh, you mean the one where not even MySQL agrees with you on copying the
files? And where you show you don't even know the difference between a
cache and a buffer? Everyone saw you make a fool of yourself - there
was nothing more to add.

But then we know you remain anonymous because you want people to think
you're a programmer or electrical engineer, which we know are both
false. All you are is a ditch digger who got fired because you didn't
know which end of the shovel to use.

As for work - you could only wish you had as much work as I do, or got
paid 1/5th of what I do.

--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstucklex(at)attglobal(dot)net
==================
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Spam
Next Topic: Record pagination with count of total rows
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Sat Nov 30 02:13:37 GMT 2024

Total time taken to generate the page: 0.04241 seconds