LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
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 08-24-2003, 11:05 AM   #1
Bullzeye
Member
 
Registered: Aug 2003
Location: Florida
Distribution: DEBIAN 3.x
Posts: 34

Rep: Reputation: 15
permission denied


I am trying to mount a folder called checkit on an ntfs drive. The drive should be hdb . Problem is even though logged in as root I get a permission denied message... any ideas?
 
Old 08-24-2003, 11:09 AM   #2
qwijibow
LQ Guru
 
Registered: Apr 2003
Location: nottingham england
Distribution: Gentoo
Posts: 2,672

Rep: Reputation: 47
you cannot write to ntfs partitons.

so the drive will be mounted as read only, EVEN to the root user.

i have no idea why linux cannot write to ntfs, but it cant.

however it can write to FAT32, i surgest you use that FS for disks to be shared between linux and windows.
 
Old 08-24-2003, 11:31 AM   #3
MasterC
LQ Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu ; CentOS ; Raspbian
Posts: 12,613

Rep: Reputation: 69
How are you trying to mount it? Which distro are you using?

Cool
 
Old 08-24-2003, 11:44 AM   #4
Bullzeye
Member
 
Registered: Aug 2003
Location: Florida
Distribution: DEBIAN 3.x
Posts: 34

Original Poster
Rep: Reputation: 15
I'm using debian. As root, I typed "/dev/hdb /mnt/checkit" checkit is the folder that has the driver packages for my sound and video card to use in linux. I don't need nor want write permissions on that drive, I just want to get those files off from it.
 
Old 08-24-2003, 11:49 AM   #5
MasterC
LQ Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu ; CentOS ; Raspbian
Posts: 12,613

Rep: Reputation: 69
Ok

First, you'll need to be root to mount.
Second, make sure the mount point /mnt/checkit exists.
Third: You will need to mount a partition, not the entire drive. If the drive only has 1 partition, it'll be hdb1. You can use:
fdisk -l (FDISK -L lowercase) to find out what partitions are existing on your system.
Fourth: You'll need to specify the filesystem with the mount command:
mount -t ntfs /dev/hdb1 /mnt/checkit
Fifth: This will mount the entire partition, then from there you'll move around the directories to the checkit folder and do your business

Cool
 
Old 08-24-2003, 04:12 PM   #6
Bullzeye
Member
 
Registered: Aug 2003
Location: Florida
Distribution: DEBIAN 3.x
Posts: 34

Original Poster
Rep: Reputation: 15
THX GUYZ! I got the drive mounted (or should I say / of that device) but it seems that the folders are not accessible.
One thing that I am sure will give me a prob is the the folder I am trying to access has a space in it. Do i type in qoutes so the kernal knows it should have a space? I tried these cd /check it ; cd check it ; cd "check it" when I list the directories they all said :No Such Directory ?!?!?!


Last edited by Bullzeye; 08-24-2003 at 04:16 PM.
 
Old 08-24-2003, 04:16 PM   #7
leonscape
Senior Member
 
Registered: Aug 2003
Location: UK
Distribution: Debian SID / KDE 3.5
Posts: 2,313

Rep: Reputation: 48
When theirs spaces but a \ (backslash next too z key usually) before the space.

cd check\ it

Its best not to write to ntfs partitions, Linux support is still experimental. MS won't release the info needed to make it work fully, so its all guessing! So it might destroy your disk.

YOU HAVE BEEN WARNED!
 
Old 08-24-2003, 04:18 PM   #8
Bullzeye
Member
 
Registered: Aug 2003
Location: Florida
Distribution: DEBIAN 3.x
Posts: 34

Original Poster
Rep: Reputation: 15
I am not wanting to write to it. I want to copy the driver packages out of that folder onto the linux drive and install them
 
Old 08-24-2003, 04:22 PM   #9
leonscape
Senior Member
 
Registered: Aug 2003
Location: UK
Distribution: Debian SID / KDE 3.5
Posts: 2,313

Rep: Reputation: 48
No insult are anything intended. Its just That I dread ntfs partitions. Had to reinstall Win2k becuase of this, (I put it on fat32 partitions).

So I always warn people. (and you never know who might be reading and not know this.)
 
Old 08-24-2003, 04:29 PM   #10
Bullzeye
Member
 
Registered: Aug 2003
Location: Florida
Distribution: DEBIAN 3.x
Posts: 34

Original Poster
Rep: Reputation: 15
i hear ya man, i don't need to lose that drive out of em all I still can't seem to access any of the folders. when I type "dir -l |more" it lists all the folders but says the don't exist.....

if they don't exist how would it know they are there?
 
Old 08-24-2003, 04:32 PM   #11
DrOzz
Senior Member
 
Registered: May 2003
Location: Sydney, Nova Scotia, Canada
Distribution: slackware
Posts: 4,185

Rep: Reputation: 60
Quote:
Originally posted by leonscape
When theirs spaces put a \ (backslash next too z key usually) before the space.
do you have a picture of your keyboard, or a link to the site....cause as far as i know the z key is on the totally oppostie side of the board in comparison to the \ backslash key...anyways i am just curious to see a picture....just never heard of that before
 
Old 08-24-2003, 04:35 PM   #12
leonscape
Senior Member
 
Registered: Aug 2003
Location: UK
Distribution: Debian SID / KDE 3.5
Posts: 2,313

Rep: Reputation: 48
Try remounting it, (cd to / first otherwise you might get a device busy.)

Its buggy so its to be expected, also what kernel are you running?

(To find out type uname -r)
 
Old 08-24-2003, 04:40 PM   #13
leonscape
Senior Member
 
Registered: Aug 2003
Location: UK
Distribution: Debian SID / KDE 3.5
Posts: 2,313

Rep: Reputation: 48
Its a UK keyboard so the next to bottom line is

[Shift] [ | \ ] [Z] [X] ........ [M] [< ,] [> .] [? /] [Shift]

Also tilde is next to ~ the enter key.

Back slash \
Forward Slash /
 
Old 08-24-2003, 04:55 PM   #14
DrOzz
Senior Member
 
Registered: May 2003
Location: Sydney, Nova Scotia, Canada
Distribution: slackware
Posts: 4,185

Rep: Reputation: 60
cool, never knew that thx
 
  


Reply



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 jamesvenning1 Linux - Newbie 4 06-05-2005 11:32 AM
Permission denied jagman026 Fedora 3 01-01-2005 03:45 PM
Permission Denied ptreves Linux - Newbie 7 12-16-2004 02:14 PM
Permission denied? jbhoo Linux From Scratch 1 04-27-2002 09:12 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 10:18 PM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration