Ubuntu Forums ubuntu.com - launchpad.net - ubuntu help  

Go Back   Ubuntu Forums > The Ubuntu Forum Community > Forum Archive > Main Support Categories > General Help
Register Reset Password Forum Help Forum Council Search Today's Posts Mark Forums Read

Hello, Unregistered You are browsing a READ only archive of the main support categories pre 4/21/2008. You will not be able to post or reply any threads in this section.

General Help
All your general support questions for Ubuntu, Kubuntu, Edubuntu and Xubuntu.

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Old December 1st, 2007   #1
lintoon
Gee! These Aren't Roasted!
 
lintoon's Avatar
 
Join Date: Jun 2007
Beans: 190
Ubuntu 8.04 Hardy Heron
Solution - XP partition permission denied

First things first, I am not a linux expert so proceed with care.

I was getting "permission denied" error when trying to access my windows partition so I thought I should post my solution. I had to edit my fstab and reboot. This may not work for everyone but it may help someone.

Here is my fstab:

# /etc/fstab: static file system information.
#
# <file system> <mount point> <type> <options> <dump> <pass>
proc /proc proc defaults 0 0
# /dev/hda2 -- converted during upgrade to edgy
UUID=da30f0b7-d4c3-43ac-b1b9-fc97edea3fb6 / ext3 defaults,errors=remount-ro 0 1
#/dev/hda1 /media/hda1 ntfs defaults 0 0
# /dev/hda1 -- converted during upgrade to edgy
# The line below was commented out by me
#UUID=B888951B8894D968 /media/Windows ntfs nls=utf8,umask=0222 0 0
#The line below was added by me
/dev/sda1 /media/Windows ntfs-3g defaults,force 0 0
# /dev/hda5 -- converted during upgrade to edgy
UUID=6121d48f-e4b1-493f-a0d9-311e373fe7cd none swap sw 0 0
/dev/cdrom /media/cdrom0 udf,iso9660 user,noauto 0 0

------------
The problem was corrected by commenting out:
UUID=B888951B8894D968 /media/Windows ntfs nls=utf8,umask=0222 0 0

and replacing it with
/dev/sda1 /media/Windows ntfs-3g defaults,force 0 0

I have added a couple of comments to my fstab to show the changes.
-----------

Note: The full path to fstab is /etc/fstab
To edit it open terminal and type "sudo gedit /etc/fstab"

****** Important *****:
Before you edit fstab make a backup first
eg
Open terminal and type "cp /etc/fstab /etc/fstab.bak"
-----------

Also, you may have to ammend "/dev/sda1 /media/Windows ntfs-3g defaults,force 0 0" to match your system.
My Windows partition is mounted from /dev/sda1. Yours may be different.

To find yours, open terminal and type "sudo fdisk -l"

Look for the line which has NTFS under the System heading.

Good luck.
lintoon is offline   Reply With Quote
 

Bookmarks

Thread Tools
Display Modes

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 On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 02:58 AM.


vBulletin ©2000 - 2010, Jelsoft Enterprises Ltd. Ubuntu Logo, Ubuntu and Canonical © Canonical Ltd. Tango Icons © Tango Desktop Project. bilberry