LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva
User Name
Password
Mandriva This Forum is for the discussion of Mandriva (Mandrake) Linux.

Notices


Reply
  Search this Thread
Old 01-23-2006, 10:20 PM   #1
dolphans1
Senior Member
 
Registered: Jun 2003
Location: LoneStar
Distribution: Mandriva & Ubuntu
Posts: 1,041

Rep: Reputation: 35
Gaining regular user access to my extra hdb1 storage drive?


Hey guys I don't want this to sound like a stupid question, but I added and extra drive to my PC for storage, and it is properly formatted as my hdb drive and mounted, is there anyway I can access this hdd as a regular user instead of super user?

Please let me know if there is a way.

I just want to use this hdd as extra storage.

It is mounted as hdb1 as Journalised FS: ext3

Any suggestions?

d-1

Last edited by dolphans1; 01-23-2006 at 10:23 PM.
 
Old 01-23-2006, 10:29 PM   #2
Centinul
Member
 
Registered: Jun 2005
Distribution: Gentoo
Posts: 552

Rep: Reputation: 30
There is a couple things that I will mention and I'm not sure if you did either of them or not. First is the new hard drive listed in your '/etc/fstab' file? If so under the options section (4th column from the left) do you have 'users' listed as one of the options? This will allow the users to use the file system (to my knowledge). I hope this helps. Post back with any questions
 
Old 01-23-2006, 10:50 PM   #3
dolphans1
Senior Member
 
Registered: Jun 2003
Location: LoneStar
Distribution: Mandriva & Ubuntu
Posts: 1,041

Original Poster
Rep: Reputation: 35
Answered

Run KDESU Konquerer, right click on name of folder (or what I named the partition), check properties tab, change read and write to all groups, then check the box that says apply changes to all subfolders and their contents.

d-1
 
Old 01-23-2006, 10:53 PM   #4
dolphans1
Senior Member
 
Registered: Jun 2003
Location: LoneStar
Distribution: Mandriva & Ubuntu
Posts: 1,041

Original Poster
Rep: Reputation: 35
# This file is edited by fstab-sync - see 'man fstab-sync' for details
/dev/hda6 / ext3 noatime 1 1
/dev/hda8 /home ext3 noatime 1 2
/dev/hdd /mnt/cdrom auto umask=0022,user,iocharset=iso8859-1,codepage=850,noauto,ro,exec,users 0 0
none /mnt/floppy supermount dev=/dev/fd0,fs=ext2:vfat,--,umask=0022,iocharset=iso8859-1,sync,codepage=850 0 0
/dev/hda1 /mnt/win_c ntfs umask=0022,nls=iso8859-1,ro 0 0
/dev/hda5 /mnt/win_d vfat umask=0022,iocharset=iso8859-1,codepage=850 0 0
none /proc proc defaults 0 0
/dev/hdb1 /storage ext3 noatime 1 2
/dev/hda7 swap swap defaults 0 0







Quote:
Originally Posted by Centinul
There is a couple things that I will mention and I'm not sure if you did either of them or not. First is the new hard drive listed in your '/etc/fstab' file? If so under the options section (4th column from the left) do you have 'users' listed as one of the options? This will allow the users to use the file system (to my knowledge). I hope this helps. Post back with any questions
 
Old 01-24-2006, 12:10 PM   #5
kilgoretrout
Senior Member
 
Registered: Oct 2003
Posts: 2,987

Rep: Reputation: 388Reputation: 388Reputation: 388Reputation: 388
With the partition mounted, open a console and run:

$ su
<enter root password>
# chmod 1777 /storage
 
Old 01-25-2006, 08:50 AM   #6
dolphans1
Senior Member
 
Registered: Jun 2003
Location: LoneStar
Distribution: Mandriva & Ubuntu
Posts: 1,041

Original Poster
Rep: Reputation: 35
Hey Kilgoretrout, thanks for pointing that out. Prior to receiving your post, I turned my PC off and could no longer access my hdb drive or files. I am writing zero fill to that drive and starting over and I will try your command....

Thanks,,,,

d-1
 
Old 01-25-2006, 12:43 PM   #7
kilgoretrout
Senior Member
 
Registered: Oct 2003
Posts: 2,987

Rep: Reputation: 388Reputation: 388Reputation: 388Reputation: 388
Make sure you run the chmod command with the partition mounted or it won't work. Generically, for any linux filesystem the command is:

# chmod 1777 <mount point>

That will give all users read/write access to the partition. This doesn't work for FAT and FAT32 filesystems. For those, you have to adjust the options in their fstab entry.
 
  


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
No regular user access USB device from RHEL 4.0 WS dita Red Hat 2 12-18-2005 02:59 AM
No access to NTFS mounts for regular user account lowpro2k3 Slackware 5 10-23-2005 05:21 PM
Can't access NTFS partition as regular user Spasmolytic Linux - Newbie 3 05-13-2004 05:46 PM
gaining access to my Windows C:/ drive spano Linux - Newbie 16 03-22-2004 11:21 PM
enabling a regular user to access windows partitions? diam0nd Slackware 4 03-20-2004 07:55 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva

All times are GMT -5. The time now is 10:26 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