LinuxQuestions.org
Visit the LQ Articles and Editorials section
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 05-13-2007, 11:10 PM   #1
jaen
LQ Newbie
 
Registered: May 2007
Posts: 11

Rep: Reputation: 0
Permission denied to a partition


I'm new using linux.
I have Fedora Core 5.
I have only one disk (55.6 GB)and made 2 partitions: sda1 -> windows (ntfs), sda2 -> Fedora Core 5 along with "swap (swap)", "/home (ext3)" and "/ (ext3)".
It turns out that everytime I want to acces my windows partition from fedora a sign shows up saying "Permition Denied".
I tried to change the properties, but I still can't access my windows partition.
 
Old 05-13-2007, 11:17 PM   #2
fukawi2
Member
 
Registered: Oct 2006
Location: Melbourne, Australia
Distribution: ArchLinux, ArchServer, Fedora, CentOS
Posts: 448

Rep: Reputation: 34
Do you have 2 partitions or 5? You've said 2, but listed 5...

How have you mounted the Windows partition, and where have you mounted it?

I don't believe Fedora comes with NTFS drivers as it would be against their "Open Source Only" philosophy, so I'm guessing you've installed them yourself? Which driver - ntfs or ntfs-3g?
 
Old 05-13-2007, 11:41 PM   #3
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Arch/XFCE
Posts: 17,802

Rep: Reputation: 728Reputation: 728Reputation: 728Reputation: 728Reputation: 728Reputation: 728Reputation: 728
Please post the output of (run as root):

fdisk -l

more /etc/fstab
 
Old 05-14-2007, 12:24 AM   #4
vtel57
Member
 
Registered: Jul 2006
Location: Tampa, FL, USA
Distribution: Slackware64
Posts: 852

Rep: Reputation: 88
This could be an SELinux permissions warning, not a Fedora warning. I seem to remember SELinux causing me problems like this when I was running FC 5 a few months ago.
 
Old 05-14-2007, 03:03 PM   #5
Mara
Moderator
 
Registered: Feb 2002
Location: Grenoble
Distribution: Debian
Posts: 9,535

Rep: Reputation: 148Reputation: 148
Moved: This thread is more suitable in Linux-Newbie and has been moved accordingly to help your thread/question get the exposure it deserves.

Please check if you're able to access the Windows partition as root (administrator user).
 
Old 05-14-2007, 08:34 PM   #6
jaen
LQ Newbie
 
Registered: May 2007
Posts: 11

Original Poster
Rep: Reputation: 0
Well I tried to access the windows partition as a root, and it still didn't work out.
And my disk actually has 4 partitions: "windows" -> (ntfs), "/" -> (ext3), "home" -> (ext3) and "swap" -> (swap)
 
Old 05-14-2007, 08:37 PM   #7
jaen
LQ Newbie
 
Registered: May 2007
Posts: 11

Original Poster
Rep: Reputation: 0
/etc/fstab

/dev/VolGroup00/LogVol00 / ext3 defaults 1 1
LABEL=/boot /boot ext3 defaults 1 2
devpts /dev/pts devpts gid=5,mode=620 0 0
tmpfs /dev/shm tmpfs defaults 0 0
proc /proc proc defaults 0 0
sysfs /sys sysfs defaults 0 0
/dev/VolGroup00/LogVol01 swap swap defaults 0 0
 
Old 05-16-2007, 03:12 PM   #8
Mara
Moderator
 
Registered: Feb 2002
Location: Grenoble
Distribution: Debian
Posts: 9,535

Rep: Reputation: 148Reputation: 148
I can't see the Windows partition in your fstab. What command do you use to mount it?
 
Old 05-16-2007, 05:29 PM   #9
jaen
LQ Newbie
 
Registered: May 2007
Posts: 11

Original Poster
Rep: Reputation: 0
well, I'm pertty much a newbie in linux. So I don't even remember mounting a windows partition.
 
Old 05-17-2007, 04:34 PM   #10
Mara
Moderator
 
Registered: Feb 2002
Location: Grenoble
Distribution: Debian
Posts: 9,535

Rep: Reputation: 148Reputation: 148
So you have not mounted it and the system didn't catch it during install. Fixable... First we need to find out which partition is Windows. Run
fdisk -l
and post the result.
 
Old 05-19-2007, 10:22 AM   #11
jaen
LQ Newbie
 
Registered: May 2007
Posts: 11

Original Poster
Rep: Reputation: 0
I opened the terminal and logged in as root, then I wrote "fdisk -l" and a "bash: fdisk: command not found" sign showed up.
 
Old 05-19-2007, 04:09 PM   #12
Mara
Moderator
 
Registered: Feb 2002
Location: Grenoble
Distribution: Debian
Posts: 9,535

Rep: Reputation: 148Reputation: 148
Try /sbin/fdisk -l
If it doesn't work run
cat /proc/partitions
cat /proc/mounts
 
Old 05-20-2007, 07:33 PM   #13
jaen
LQ Newbie
 
Registered: May 2007
Posts: 11

Original Poster
Rep: Reputation: 0
When I run "/sbin/fdisk -l" notihng happens,
but when I run "cat /proc/partitions" the following shows up:

major minor #blocks name

8 0 58605120 sda
8 1 24916815 sda1
8 2 96390 sda2
8 3 33583882 sda3
253 0 32473088 dm-0
253 1 1048576 dm-1

And when I run "cat /proc/mounts", the following shows up:

rootfs / rootfs rw 0 0
/dev/root / ext3 rw,data=ordered 0 0
/dev /dev tmpfs rw 0 0
/proc /proc proc rw 0 0
/sys /sys sysfs rw 0 0
none /selinux selinuxfs rw 0 0
/proc/bus/usb /proc/bus/usb usbfs rw 0 0
devpts /dev/pts devpts rw 0 0
/dev/sda2 /boot ext3 rw,data=ordered 0 0
tmpfs /dev/shm tmpfs rw 0 0
none /proc/sys/fs/binfmt_misc binfmt_misc rw 0 0
sunrpc /var/lib/nfs/rpc_pipefs rpc_pipefs rw 0 0
automount(pid2005) /net autofs rw 0 0
 
  


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
can't execute c++ binaries, "permission denied"... even though permission is 777 SerfurJ Programming 14 02-20-2009 04:50 AM
"Permission Denied" while accessing ntfs partition in user mode funkymunky Linux - General 3 01-31-2009 08:03 PM
Permission Denied dima789 Linux - Software 10 02-01-2006 12:33 AM
Permission Denied PacMansRancor Linux - Newbie 3 09-29-2005 04:45 PM
how is it that su - can be denied permission??? Lleb_KCir Linux - General 10 03-24-2004 10:47 PM


All times are GMT -5. The time now is 01:28 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration