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

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • ronnil
    Recognized Expert New Member
    • Jun 2007
    • 134

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

    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
  • ronnil
    Recognized Expert New Member
    • Jun 2007
    • 134

    #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 :)

    Comment

    • no idea what to put as a
      New Member
      • Sep 2007
      • 1

      #3
      Originally posted by ronnil
      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
      davidfrankiedis tribution@yahoo .com/
      fr 06 sep 07 13:17

      Comment

      Working...