LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices



Reply
 
Search this Thread
Old 01-16-2004, 05:20 PM   #1
rfsatxeng
LQ Newbie
 
Registered: Jan 2004
Location: Texas
Distribution: Slackware 9.1
Posts: 17

Rep: Reputation: 0
User cannot access d drive


Okay, I have my hard drive partitioned into 4 sections: windows XP, a partition in FAT32 where i save my files that I use in XP and Slack, a swap, and a linux partition. When installing Slack, I mapped my d drive into linux as '/d'. Apparently this is owned by my root user and no other user can even access /d. My user name that I want to use as a 'limited' user is 'russell'. For some reason 'chown' won't correct this.

what do I need to do so that the user 'russell' can access '/d' which is apparently owned by the superuser 'root'?

Thank you for any help in the matter.
 
Old 01-16-2004, 05:23 PM   #2
slightcrazed
Member
 
Registered: May 2003
Location: Lisbon Falls, Maine
Distribution: RH 8.0, 9.0, FC2 - 4, Slack 9.0 - 10.2, Knoppix 3.4 - 4.0, LFS,
Posts: 789

Rep: Reputation: 30
you need to make sure that the mount point is correctly defined in your fstab.

Should be something similar to:

/dev/hdax /mnt/somewhere vfat auto,user,umask=0000 0 0

the umask is the key part.

slight
 
Old 01-16-2004, 08:05 PM   #3
rfsatxeng
LQ Newbie
 
Registered: Jan 2004
Location: Texas
Distribution: Slackware 9.1
Posts: 17

Original Poster
Rep: Reputation: 0
I'm sorry, but I don't understand what people have suggested. Would you please give me some more step by step troubleshooting
 
Old 01-16-2004, 09:30 PM   #4
rfsatxeng
LQ Newbie
 
Registered: Jan 2004
Location: Texas
Distribution: Slackware 9.1
Posts: 17

Original Poster
Rep: Reputation: 0
Does anyone know how to fix this?
 
Old 01-16-2004, 09:40 PM   #5
nutronix
Member
 
Registered: Jan 2003
Location: montreal
Distribution: Slackware and XUbuntu
Posts: 110
Blog Entries: 1

Rep: Reputation: 17
you have to edit your partition's entry in /etc/fstab
here is my win 98 c (hda1 /fat-c) drive in linux ;

/dev/hda1 /fat-c vfat users,defaults,umask=000 0 0

Before you modify your /etc/fstab copy it to your user's home directory first;
cp -v /etc/fstab /home/whoever/fstab

to edit any system file i use vi , you make the call like this ;

vi /etc/fstab

then you are in business. you will have to look around on the net and find a tutorial on vi which i do not have the capacity to teach you here...what i did i got a book from the library about unix and eventually bought one. my first distro was mandrake and i also had the user's manual that came in the box.....there was also a chapter about vi.very helpful.

do not let the task daunt you as vi is very simple to use and you only need a few commands-keystrokes. good luck

p.s.=o.k. a few commands=
i to insert a character where the cursor is at.
a to do the same to the right of the cursor
o to do the same below the cursor
O to do the same above the cursor
press the esc. key to go out of insert mode into command mode where you can delete characters using x
to save the file ZZ or :wq (i alaways use ZZ)

to leave without saving :q!

use the arrow keys to navigate in the text.....do not be afraid to press the esc. key when you are not sure...
you can also paste text while you are in vi
practice with the file that you copyied first....be patient .
good luck
 
Old 01-16-2004, 09:40 PM   #6
thrice
Member
 
Registered: Apr 2003
Location: ft worth tx
Distribution: Gentoo 2005.0
Posts: 108

Rep: Reputation: 15
do what slight said
open up a terminal and type pico /etc/fstab

then find the line referring to what you want to fix
probably looks like /dev/hdax /d auto defaults 0 0
in place of that put /dev/hdax /d auto auto,user,umask=0000 0 0

save and reboot
remember to change the 'x' in 'hdax' to the appropriate number
hope this helps
 
Old 01-16-2004, 09:42 PM   #7
thrice
Member
 
Registered: Apr 2003
Location: ft worth tx
Distribution: Gentoo 2005.0
Posts: 108

Rep: Reputation: 15
hehe damn nutronix beat me to the reply while i was typing
 
Old 01-17-2004, 02:47 AM   #8
powadha
Member
 
Registered: Nov 2003
Distribution: Debian SID
Posts: 649

Rep: Reputation: 31
default in slack is 'users' not 'user' isn't it?
 
Old 01-17-2004, 08:27 AM   #9
thrice
Member
 
Registered: Apr 2003
Location: ft worth tx
Distribution: Gentoo 2005.0
Posts: 108

Rep: Reputation: 15
you're right, sorry about that didn't catch it
 
  


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
user access to second hard drive.. jsheffie Suse/Novell 6 11-01-2005 04:34 PM
How to allow a user access to a USB drive Gnarg Linux - Newbie 9 10-07-2005 08:28 PM
new user- can't access my flash drive kebi Linux - Software 1 08-17-2005 12:04 PM
user cannot access d drive rfsatxeng Linux - Newbie 5 01-17-2004 02:00 AM
External Drive Mounted, Can't access as a user thewaker Linux - Hardware 4 08-14-2003 04:26 PM


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

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