LinuxQuestions.org
Review your favorite Linux distribution.
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-17-2004, 08:02 PM   #16
TheFirefly
LQ Newbie
 
Registered: Apr 2004
Distribution: SlackWare 9.1
Posts: 23

Original Poster
Rep: Reputation: 15

Really sorry i have got to head out now, i will post info in the morning
 
Old 05-19-2004, 08:23 AM   #17
TheFirefly
LQ Newbie
 
Registered: Apr 2004
Distribution: SlackWare 9.1
Posts: 23

Original Poster
Rep: Reputation: 15
sorry its taken so long ive been really busy, here is my fstab

/dev/hda5 swap swap defaults 0 0
/dev/hda1 / ext3 defaults 1 1
/dev/hda6 /usr ext3 defaults 1 2
/dev/hda7 /opt ext3 defaults 1 2
/dev/hda8 /home ext3 defaults 1 2
/dev/cdrom /mnt/cdrom iso9660 noatuo,owner,ro 0 0
/dev/fd0 /mnt/floppy auto noauto,owner 0 0
devpts /dev/pts devpts gid=5,mode=620 0 0
proc /proc proc defaults 0 0
/dev/hdb1 /mnt/WindowsXP auto auto,user,umask=0 0 0

Ok thats it

Can somebody tell me how to set it so i can easily access everything without being root
 
Old 05-19-2004, 09:03 AM   #18
qwijibow
LQ Guru
 
Registered: Apr 2003
Location: nottingham england
Distribution: Gentoo
Posts: 2,672

Rep: Reputation: 47
that should be it.

looks like you set it to auto mount dureing bootup.

are the files not in /mnt/WindowsXP ?
 
Old 05-19-2004, 09:07 AM   #19
TheFirefly
LQ Newbie
 
Registered: Apr 2004
Distribution: SlackWare 9.1
Posts: 23

Original Poster
Rep: Reputation: 15
They may be the there, the problem im having now is i dont know how to change permissions so that not only root can access

Im sorry by the way i feel really dumb asking all these questions which are probably really simple.
 
Old 05-19-2004, 09:43 AM   #20
TheFirefly
LQ Newbie
 
Registered: Apr 2004
Distribution: SlackWare 9.1
Posts: 23

Original Poster
Rep: Reputation: 15
So how would i change permissions so that a regular user can access it
 
Old 05-19-2004, 10:00 AM   #21
Y0jiMb0
Member
 
Registered: Jul 2003
Location: Valencia (Spain)
Distribution: slackware 11, FEDORA CORE 4, RHEL3, Gentoo...
Posts: 361

Rep: Reputation: 30
I'd try to change the "windows" entry in fstab; try this:
Code:
/dev/hdb1 /mnt/WindowsXP ntfs uid=UUU,gid=GGG,umask=0 0 0
where UUU is your "uid" and GGG is your "gid".
If don't know what is "uid" and "gid", do this:
Code:
cat /etc/passwd|grep 'YOUR_USER_NAME'
of course, with YOUR_USER_NAME substituted for yours. It must look like this
YOUR_USER_NAME:x:523:100: ...
The third field in the output is your uid, the forth is the gid.
Regards

Last edited by Y0jiMb0; 05-19-2004 at 10:04 AM.
 
Old 05-19-2004, 10:08 AM   #22
TheFirefly
LQ Newbie
 
Registered: Apr 2004
Distribution: SlackWare 9.1
Posts: 23

Original Poster
Rep: Reputation: 15
i did the

Code:
cat /etc/passwd|grep 'username'
and got back some random numbers, and a letter, how do i know which is my ud and gid?

EDIT: You answered as i posted
 
Old 05-19-2004, 10:32 AM   #23
Y0jiMb0
Member
 
Registered: Jul 2003
Location: Valencia (Spain)
Distribution: slackware 11, FEDORA CORE 4, RHEL3, Gentoo...
Posts: 361

Rep: Reputation: 30
type "id" in console, it should work

Regards
 
Old 05-19-2004, 10:32 AM   #24
TheFirefly
LQ Newbie
 
Registered: Apr 2004
Distribution: SlackWare 9.1
Posts: 23

Original Poster
Rep: Reputation: 15
still saying only root can load it into the place its supposed to go

i hate being so dumb towards all of this, i feel so useless after knowing quite a bit on windows

Last edited by TheFirefly; 05-19-2004 at 10:40 AM.
 
Old 05-19-2004, 10:44 AM   #25
Y0jiMb0
Member
 
Registered: Jul 2003
Location: Valencia (Spain)
Distribution: slackware 11, FEDORA CORE 4, RHEL3, Gentoo...
Posts: 361

Rep: Reputation: 30
What are the premissions of "/mnt/WindowsXP"? Do "ls -l /mnt" and post the results (at least the line concerning to this directory)
Regards
 
Old 05-19-2004, 10:48 AM   #26
TheFirefly
LQ Newbie
 
Registered: Apr 2004
Distribution: SlackWare 9.1
Posts: 23

Original Poster
Rep: Reputation: 15
drwxr-xr-x 2 root root
 
Old 05-19-2004, 10:52 AM   #27
Y0jiMb0
Member
 
Registered: Jul 2003
Location: Valencia (Spain)
Distribution: slackware 11, FEDORA CORE 4, RHEL3, Gentoo...
Posts: 361

Rep: Reputation: 30
and what happens if you do "mount /mnt/WindowsXP"?Isn't it mounted?Can't you get into this directory?
Regards
 
Old 05-19-2004, 10:56 AM   #28
TheFirefly
LQ Newbie
 
Registered: Apr 2004
Distribution: SlackWare 9.1
Posts: 23

Original Poster
Rep: Reputation: 15
cant find /mnt/WindowsXP in /etc/fstab or /etc/mtab
 
Old 05-19-2004, 11:59 AM   #29
TheFirefly
LQ Newbie
 
Registered: Apr 2004
Distribution: SlackWare 9.1
Posts: 23

Original Poster
Rep: Reputation: 15
I still need some help
 
Old 05-19-2004, 01:31 PM   #30
Y0jiMb0
Member
 
Registered: Jul 2003
Location: Valencia (Spain)
Distribution: slackware 11, FEDORA CORE 4, RHEL3, Gentoo...
Posts: 361

Rep: Reputation: 30
Could you post again your /etc/fstab (well only the line about WindowsXP)?
Please, be precise: post exactly what you have.
Regards
 
  


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
Help! I cant find any of my windows xp files and documents titanium_crainium Linux - General 1 06-19-2005 02:09 PM
can see but cant read files on windows share, help a newb out! eonicrush Linux - Networking 2 04-11-2005 04:03 PM
How to find files from windows. fzx1 Linux - Newbie 3 04-07-2004 11:09 AM
Extreme Newb to Partitioning & Linux. betamonk Linux - Newbie 16 12-11-2003 08:26 PM
Extreme amounts of newb brian0918 Linux - Software 2 04-05-2003 04:03 PM


All times are GMT -5. The time now is 07:21 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration