LinuxQuestions.org
Help answer threads with 0 replies.
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 01-17-2004, 08:21 PM   #1
Johnny2003
LQ Newbie
 
Registered: Jan 2004
Posts: 5

Rep: Reputation: 0
Hard drive partitioned and cannot view files


Can someone tell me how I can view the files on my hard drive partitions. I have a 60 gig drive that is partitioned into about 3 20gig sizes. One has my Mandrake9.2 Linux system and the other two are partitioned in the Fat32 format. But when in Linux under my user name I cannot view the files that I know are there. I made an icon for the 2 drives but when they open, the files can not be seen. When I log out and back in under the root name I can open them and see the files there. Can someone tell me how to set permissions or what ever it is I need to do to view, read, and write to those partitions? Thanks ahead of time.
 
Old 01-17-2004, 08:48 PM   #2
bigjohn
Senior Member
 
Registered: Jun 2002
Location: UK - South Coast.
Distribution: Ubuntu (usually the latest....)
Posts: 2,672
Blog Entries: 9

Rep: Reputation: 45
I should have thought that you'd have to make sure that your username account has "read access" in the permissions - you probably created the partitions with the various rights/permissions for root (that's if you can access the drives/files when logged in as root), but if you didn't make sure that the user has the read permission then you'd get zip!

As I don't really do much with CLI, I can't give you the correct commands, but I think that you'd find that you can log in as root in graphic environment and then select the files (and probably right click on them to bring up the properties, and be able to modify the permissions that way).

Failing that, search LQ for permissions or changing permissions.

This may not be the answer that you're looking for, but it would be one of the first things that I'd check if I where you.

hope it helps.

regards

John
 
Old 01-17-2004, 09:01 PM   #3
Berhanie
Senior Member
 
Registered: Dec 2003
Location: phnom penh
Distribution: Fedora
Posts: 1,625

Rep: Reputation: 165Reputation: 165
Johnny, please post the contents of your /etc/fstab.
 
Old 01-20-2004, 05:34 PM   #4
Johnny2003
LQ Newbie
 
Registered: Jan 2004
Posts: 5

Original Poster
Rep: Reputation: 0
No sound

Here is my fstab:

[root@localhost etc]# cat fstab
/dev/hdb2 / ext2 defaults 1 1
none /dev/pts devpts mode=0620 0 0
/dev/hdc /mnt/cdrom auto user,exec,noauto,codepage=850,iocharset=iso8859-1,ro 0 0
/dev/scd0 /mnt/cdrom2 auto user,exec,noauto,codepage=850,iocharset=iso8859-1,ro 0 0
/dev/fd0 /mnt/floppy auto user,exec,sync,noauto,codepage=850,iocharset=iso8859-1 0 0
/dev/hda1 /mnt/win_c ntfs iocharset=iso8859-1,ro 0 0
/dev/hdb5 /mnt/win_c2 vfat user,umask=0 0 0
/dev/hdb6 /mnt/win_d vfat user,umask=0 0 0
none /proc proc defaults 0 0
/dev/hdb3 swap swap defaults 0 0

I hope this helps. I can use all the help I can get. Thanks.

Last edited by Johnny2003; 01-20-2004 at 05:35 PM.
 
Old 01-20-2004, 07:22 PM   #5
chii-chan
Member
 
Registered: Sep 2003
Location: chikyuu (E103N6)
Distribution: Redhat 8.0 (2.4.25-custom), Fedora Core 1 (2.4.30-custom)
Posts: 357

Rep: Reputation: 30
Maybe you can try:

/dev/hdb5 /mnt/win_c2 vfat defaults,umask=000 0 0
/dev/hdb6 /mnt/win_d vfat defaults,umask=000 0 0

or you may want to add your user id and group id to it so that it can't accessed by somebosy else. I would put:

/dev/hdb5 /mnt/win_c2 vfat defaults,setuid=501,setgid=501,umask=022 0 0
/dev/hdb6 /mnt/win_d vfat defaults,setuid=501,setgid=501,umask=022 0 0

Replace 501 with your user id and group id. Btw there's been a lot of discussion about mounting windows partition in this forum. May be you can do some searching for some more idea.
 
  


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
cannot view files on cruzer usb drive, transferring from slax to xp jmp875 Linux - Newbie 8 08-23-2005 05:13 AM
Possible to view files on a second NTFS hard drive? partyk1d24 Linux - Software 1 06-23-2005 02:03 PM
How to view win98 files on hard disk alb1954 Feather 3 09-02-2004 01:08 PM
external partitioned usb hard disk mr_a_ali Linux - Hardware 2 08-14-2004 10:22 AM
hwo to view how much hard drive ive used pasalacqua128 Linux - Software 3 06-05-2004 03:34 PM


All times are GMT -5. The time now is 07:19 PM.

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