LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 10-19-2004, 02:06 AM   #1
shadow11
LQ Newbie
 
Registered: Oct 2004
Posts: 15

Rep: Reputation: 0
Not able to save file


I'm trying to save a PHP text file created using BlueFish into /usr/local/apache2/htdocs, but I keep getting the error Couldn't Save File into /usr/local/apache2/htdocs directory.

The user is belong to adm and "user define" group

Help anyone?
 
Old 10-19-2004, 02:15 AM   #2
darthtux
Senior Member
 
Registered: Dec 2001
Location: 35.7480 N, 95.3690 W
Distribution: Debian, Gentoo, Red Hat, Solaris
Posts: 2,070

Rep: Reputation: 46
What is the output of
ls -l /usr/local/apache2/

It is probably owned by root and you need to use the su command to become root and move them to that directory.
 
Old 10-21-2004, 02:32 AM   #3
shadow11
LQ Newbie
 
Registered: Oct 2004
Posts: 15

Original Poster
Rep: Reputation: 0
resolve

Thanks, Darthtux

Just switch to root account and move the file.
But what can I do to able to save the file in this directory without have to save it in different directory and then move it.

The user is under "user define" account type (primarily) and "root" account
Thanks,
 
Old 10-21-2004, 07:05 AM   #4
scuzzman
Senior Member
 
Registered: May 2004
Location: Hilliard, Ohio, USA
Distribution: Slackware, Kubuntu
Posts: 1,851

Rep: Reputation: 47
Quote:
But what can I do to able to save the file in this directory without have to save it in different directory and then move it.
launch bluefish as root to edit the files
Code:
$ su -c "bluefish"
 
Old 10-21-2004, 09:15 PM   #5
shadow11
LQ Newbie
 
Registered: Oct 2004
Posts: 15

Original Poster
Rep: Reputation: 0
Talking

Thank you very much.

That's exactly what I want
 
  


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
How to save the BIOS to file? iZvi General 0 10-16-2004 02:53 AM
where should I save this file??? bruno buys Linux - Software 2 08-17-2004 07:54 PM
Mozilla 1.7 - No File Save / File Open dialogs on Slackware 10.0 jayseye Slackware 8 08-10-2004 06:52 AM
how to save a file? Longinus Programming 5 03-10-2004 11:20 PM
php save file as ... ... Xiangbuilder Programming 1 11-25-2003 11:35 AM


All times are GMT -5. The time now is 08:45 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