-
Unable to save to /var/www
I am brand new to Linux (like you can't tell). I am trying to use the Knoppix LiveCD 5.0.1 to learn about Linux, Apache, MySQL and PHP. I started apache and when I browse to localhost I get a blank screen instead of an error page so I beleive the server is running fine. The problem I am having is when I try to save a web page to /var/www I get the error "Access denied. Could not write to /var/www/".
I know since I am using the LiveCD version /var/www might be on the cd and therefor read-only. My (obviously wrong) understanding is that I should be able to create /var/www on the Ramdisk which Apache would read from, but I also get an access denied message when I attempt this which seems odd.
I imagine I am missing something very simple, but I have been searching for a solution to this for days now and have not been able to find one. Any help is appreciated.
Thank you for your time,
-
Senior Member
registered user
Probably its just not writtable to the knoppix user. As root you should have write access
Try this from a Terminal window (Konsole)
Code:
sudo konqueror /var/www/.
This will run konqueror as root.... Try creating a directory or something with konqueror and if it works you can use this window to drag and drop files to ![Smile](images/smilies/icon_smile.gif)
Good Luck ![Smile](images/smilies/icon_smile.gif)
-Justin
One Mynds Eye
-
That worked! I figured it was something simple, I just needed a nudge...
Thank you very much,
Similar Threads
-
By voteslave in forum General Support
Replies: 6
Last Post: 04-27-2007, 08:50 PM
-
By happyhkv in forum General Support
Replies: 0
Last Post: 10-04-2005, 05:49 PM
-
By cspace in forum Hdd Install / Debian / Apt
Replies: 1
Last Post: 02-15-2005, 08:16 PM
-
By Laz in forum General Support
Replies: 1
Last Post: 06-29-2003, 10:19 AM
-
Replies: 1
Last Post: 01-24-2003, 11:47 PM
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
![Dell OptiPlex 3060 MICRO DESKTOP PC COMPUTER I5 8TH GEN UP TO 32GB UP TO 2TB M.2 picture](/store/img/g/2mYAAOSwmulmdXzA/s-l225/Dell-OptiPlex-3060-MICRO-DESKTOP-PC-COMPUTER-I5-8T.jpg)
Dell OptiPlex 3060 MICRO DESKTOP PC COMPUTER I5 8TH GEN UP TO 32GB UP TO 2TB M.2
$295.00
![Apple 2019 Mac Pro 28-Core Xeon W-3275M 96GB RAM 1TB SSD Radeon Pro 580X 8GB picture](/store/img/g/g9wAAOSwtb5mMUYG/s-l225/Apple-2019-Mac-Pro-28-Core-Xeon-W-3275M-96GB-RAM-1.jpg)
Apple 2019 Mac Pro 28-Core Xeon W-3275M 96GB RAM 1TB SSD Radeon Pro 580X 8GB
$2999.97
![Lenovo IdeaCentre 3 07IRB8 Desktop Intel Core i5-13400 16GB 512GB SSD W11H picture](/store/img/g/1UcAAOSwYS9lXgtq/s-l225/Lenovo-IdeaCentre-3-07IRB8-Desktop-Intel-Core-i5-1.jpg)
Lenovo IdeaCentre 3 07IRB8 Desktop Intel Core i5-13400 16GB 512GB SSD W11H
$349.99
![New HP 24](/store/img/g/TWcAAOSw2QlmXTVp/s-l225/New-HP-24-All-In-One-Desktop-Computer-11th-Gen-i3-.jpg)
New HP 24" All In One Desktop Computer 11th Gen i3 Up To 32GB RAM 2TB SSD Win 11
$409.99
![AMD FX-8350 4.0GHz 8-Core CPU Processor FD8350FRW8KHK Socket AM3+ picture](/store/img/g/cnkAAOSwfAxmfw-e/s-l225/AMD-FX-8350-4-0GHz-8-Core-CPU-Processor-FD8350FRW8.jpg)
AMD FX-8350 4.0GHz 8-Core CPU Processor FD8350FRW8KHK Socket AM3+
$50.00
![AMD Ryzen 7 7800X3D 8-Core - 16-Thread 4.2 GHz (5.0 GHz Max Boost) Socket A... picture](/store/img/g/3isAAOSw~lNmI3aE/s-l225/AMD-Ryzen-7-7800X3D-8-Core-16-Thread-4-2-GHz-5-0-G.jpg)
AMD Ryzen 7 7800X3D 8-Core - 16-Thread 4.2 GHz (5.0 GHz Max Boost) Socket A...
$304.95
![Dell Inspiron 142-in-1 Touch Laptop Intel Core 5 Processor 8GB Memory... picture](/store/img/g/sSgAAOSwm3JmUI62/s-l225/Dell-Inspiron-142-in-1-Touch-Laptop-Intel-Core-5-P.jpg)
Dell Inspiron 142-in-1 Touch Laptop Intel Core 5 Processor 8GB Memory...
$749.99
![Custom built MT PC Intel core I5 3.5 Ghz, 500 ssd, 8gig ram, 1tb HDD picture](/store/img/g/xDYAAOSw2q9kykoP/s-l225/Custom-built-MT-PC-Intel-core-I5-3-5-Ghz-500-ssd-8.jpg)
Custom built MT PC Intel core I5 3.5 Ghz, 500 ssd, 8gig ram, 1tb HDD
$139.99
![Dell 15.6](/store/img/g/9x4AAOSwVAlmICu5/s-l225/Dell-15-6-NVIDIA-Gaming-Laptop-Intel-Quad-Core-i7-.jpg)
Dell 15.6" NVIDIA Gaming Laptop - Intel Quad Core i7 64GB RAM 2TB SSD Windows 11
$446.00
![HP EliteDesk 65W 800 G4 DM Mini i5-8500 6-Core 8 GB/128GB SSD Windows 11 H404 picture](/store/img/g/7ccAAOSwNhdmbZV5/s-l225/HP-EliteDesk-65W-800-G4-DM-Mini-i5-8500-6-Core-8-G.jpg)
HP EliteDesk 65W 800 G4 DM Mini i5-8500 6-Core 8 GB/128GB SSD Windows 11 H404
$99.99