473,397 Members | 2,068 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,397 software developers and data experts.

A file permission problem: Allow apache to use a webroot on mounted device

ronnil
134 Expert 100+
Hi

First of all, let me say that I'm fairly new to Linux.

My problem is that I'm not entirely able to uninstall windows partially because I need to debug webpages in MSIE. So what i would like to do is have a wwwroot on a device readable by both windows and linux, for this i use a fat32 partition.

I've managed to set virtual hosts up on linux with apache, but so far only in the /home directory. What i would like to is for instance to set the DocumentRoot property to /media/sda2/wwwroot/somesite. BUT when doing that i get an 403 Error saying I don't have permission to access "/"

I suppose I need to change the chmod for one or more folders, but setting read rights for /media/sda2/wwwroot/somesite doesn't work, i get no error but the permissions don't change.

I run Linux Mint Cassandra if that can be of any help
Sep 5 '07 #1
2 3117
ronnil
134 Expert 100+
I figured it out :)

Problem is that user rights don't function correctly on fat32 partitions, and in my case it was mounted without rights to others

i changed the umask in /etc/fstab to be the correct and i was afterwards able to view the page correctly :)
Sep 7 '07 #2
I figured it out :)

Problem is that user rights don't function correctly on fat32 partitions, and in my case it was mounted without rights to others

i changed the umask in /etc/fstab to be the correct and i was afterwards able to view the page correctly :)
I am a beginner at linux. I don't even know how to start a new thread. Oh well. I will simply do it here.

I have a brand new cow. I mean computer. I love it. It has made many things possible. Vista on the other hand has let me down. Fifteen times. So i put in dreamlinux. With a pair of pliers. I also had a 3/8"x3/8" picture of the inside of someone elses computer to work with. I started with a new hard drive { its a western digital 300 mb/s Cavier 16 Se 320 gb for those who like the details like i do. Even though I have no idea wht it means at this point} I guess it was a small success- I'm using DreamLinux right now. i simply unplugged the OEM hard drive with those pliers and never looked back.

Of course untill two weeks ago, I never saw the inside of a computer. Ever. So with such, I, like everyone else, am having some issues.

for example:

my mouse stops working. - untill I shut the computer off and cut it back on again. Batteries are new. I tried changing them four times. Thats not it.\

The command window does not recognise ANY commands. Mostly I get "-No such file or directory." Though on /mnt/dev/sdc0 mnt/cdrom blah blah blah - I get "Permission Denied". How you gonna deny me permission ?? Its my computer.

Can someone suggest a work around ??

My idea of hacking a computer is a blow torch. Please be VERY VERY VERY VERY - did I sat Very yet ??- specific.

I am not arrogant. I don't defend myself with pride. I'm fat, so I'm pretty thick skinned. I got tonnes of drive. Please say your piece.

Tell me what I got to do and I'll do it, no problem.

steve williams
davidfrankiedistribution@yahoo.com/
fr 06 sep 07 13:17
Sep 7 '07 #3

Sign in to post your reply or Sign up for a free account.

Similar topics

3
by: kafooey | last post by:
Hi all, I've been digging around on the newsgroups and the web for a possible answer for this problem, but have so far come up with nothing so thought I would ask here... I have the following...
2
by: Brian Richmond | last post by:
I'm writing a script to upload images along with articles to a directory on the server. I'm developing it offline on my WinXP and Apache 1.3.x laptop and it's working great, but when I move the...
5
by: Phil Powell | last post by:
print_r(is_file("$logPath/$logFileName")); // RETURNS 1 unlink("$logPath/$logFileName"); // RETURNS WARNING: PERMISSION DENIED This code should tell me that the file located at...
6
by: jonathanmcdougall | last post by:
I have read many posts on this subject and found no satisfying answer. I am creating a file on the server via a PHP script. The file is created using GD (imagejpeg()), though I don't think it is...
13
by: raykyoto | last post by:
Hi all, I'm sure this is a popular question that comes up every few months here. Indeed, I've looked at some of the past postings, but I would like to ask things differently. Basically, I'm...
2
by: ykgoh | last post by:
Hi. I've a problem of being able to create and remove a directory but unable to write a file inside the created directory for some strange reason. I suspect that this problem could be vaguely...
1
by: doctorhardik | last post by:
other interesting thing i observe during my work which i describe below: i am using dotproject2.0.4 on fc3. it is working fine. but i want to generate pdf file report during this time i face...
0
by: phil469 | last post by:
I'm having an issue when trying to read a file in a user's homedir from a cgi script. I have a virtual host section in my httpd.conf file which I'll include. The cgi script is a very basic script...
30
by: Adam Baker | last post by:
Hello, I'm writing a site where a handful of people will be able to edit the content using PHP scripts (FCKeditor). The content is stored as individual files in a directory. I'd like to validate...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.