LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
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 09-18-2004, 05:49 PM   #1
zwyrbla
Member
 
Registered: Aug 2004
Location: MA
Distribution: Slack 10.1
Posts: 107

Rep: Reputation: 15
Access denied to my second harddrive


I have a second harddrive formated in ext3. I cna modify anything I want on it as root but not as a user. I changed the fstab file to give the group users permission to the drive but it doesnt seem to be working. Is there something else I need to do?
 
Old 09-18-2004, 05:55 PM   #2
blk96gt
Member
 
Registered: Jun 2004
Location: Nacogdoches, TX
Distribution: Ubuntu 7.04
Posts: 230

Rep: Reputation: 30
The entry in fstab should read something like this:
Code:
/dev/hda3    /mnt/drive    ext3     user,rw,umask=0000    1   0
 
Old 09-18-2004, 05:58 PM   #3
leonscape
Senior Member
 
Registered: Aug 2003
Location: UK
Distribution: Debian SID / KDE 3.5
Posts: 2,313

Rep: Reputation: 48
What have you got the second drive mounted as? Are you using it sepratley for storage, are as part of the system?

Also please post the the line for the drive from fstab.
 
Old 09-18-2004, 06:24 PM   #4
zwyrbla
Member
 
Registered: Aug 2004
Location: MA
Distribution: Slack 10.1
Posts: 107

Original Poster
Rep: Reputation: 15
My second harddrive is mounted as hdb1 and I wnat to us it just for storage
this is my fstab line currently

/dev/hdb1 /ntfs2 ext3 users,rw,umask=0000 1 0
 
Old 09-18-2004, 06:38 PM   #5
leonscape
Senior Member
 
Registered: Aug 2003
Location: UK
Distribution: Debian SID / KDE 3.5
Posts: 2,313

Rep: Reputation: 48
This should work, hmmm. you could try to add mode option, but this will alter the permissions to whatever you set, which is a security risk. and something you don't need to usually for an ext3 filesystem.
 
Old 09-18-2004, 08:35 PM   #6
zwyrbla
Member
 
Registered: Aug 2004
Location: MA
Distribution: Slack 10.1
Posts: 107

Original Poster
Rep: Reputation: 15
you know i jsut realized that its actually formated as ext2 although i changed the line in the fstab and access is sitll denied to me.
 
Old 09-18-2004, 09:16 PM   #7
Joseph_M
Member
 
Registered: May 2004
Posts: 71

Rep: Reputation: 15
Do an ls -l /ntfs and see what permissions you get back.
 
Old 09-18-2004, 09:30 PM   #8
zwyrbla
Member
 
Registered: Aug 2004
Location: MA
Distribution: Slack 10.1
Posts: 107

Original Poster
Rep: Reputation: 15
this is what i got back

total 72
drwxr-xr-x 840 root root 32768 2004-09-18 00:04 Music/
drwxr-xr-x 3 root root 16384 2004-09-18 00:27 Pictures/
drwxr-xr-x 7 root root 4096 2004-09-18 22:20 Stuff/
drwxr-xr-x 3 root root 4096 2004-09-18 00:26 Videos/
drwx------ 2 root root 16384 2004-09-17 23:02 lost+found/
 
Old 09-18-2004, 09:36 PM   #9
leonscape
Senior Member
 
Registered: Aug 2003
Location: UK
Distribution: Debian SID / KDE 3.5
Posts: 2,313

Rep: Reputation: 48
try

chmod -R a+w /ntfs/

This will add write permissions for everyone in all the files on the drive. Is this what you really want?
 
Old 09-19-2004, 07:55 AM   #10
egag
Senior Member
 
Registered: Jul 2004
Location: Netherlands
Distribution: Slackware
Posts: 2,721

Rep: Reputation: 53
hoi,

i think you can solve that with :

#chmod 774 /ntfs2
#chgrp users /ntfs2

egag
 
Old 09-19-2004, 09:50 AM   #11
zwyrbla
Member
 
Registered: Aug 2004
Location: MA
Distribution: Slack 10.1
Posts: 107

Original Poster
Rep: Reputation: 15
alright awesome I can now write into it and everything but it seems ive run into another problem with it. I can't play any of my music off of it with xmms unless im logged in as root what going on?
 
Old 09-19-2004, 10:23 AM   #12
zwyrbla
Member
 
Registered: Aug 2004
Location: MA
Distribution: Slack 10.1
Posts: 107

Original Poster
Rep: Reputation: 15
nevermind fixed it thanks everyone
 
Old 09-19-2004, 10:43 AM   #13
egag
Senior Member
 
Registered: Jul 2004
Location: Netherlands
Distribution: Slackware
Posts: 2,721

Rep: Reputation: 53
hoi,
can you tell us all how you fixed it all ?
then this thread will have a happy end....

egag
 
Old 09-19-2004, 12:45 PM   #14
zwyrbla
Member
 
Registered: Aug 2004
Location: MA
Distribution: Slack 10.1
Posts: 107

Original Poster
Rep: Reputation: 15
well since the msuic fodler was the only folder that I couldnt use I jsut logged in as root then started kde right clicked on the music folder and changed the permisions that way and then i restarted my pc and logged in as a user and it worked fine I could play my songs and add whatever.
 
  


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
how to access 2 different harddrive at start up? pharmd Linux - Newbie 4 03-31-2005 02:36 PM
DSL HardDrive Access obm DamnSmallLinux 2 03-02-2005 02:31 PM
getting access denied , when trying to access camera as normal user bennythepitbull Linux - Hardware 2 11-04-2003 02:30 AM
harddrive access ecmorris Linux - Newbie 3 06-16-2003 03:28 PM
fstab, harddrive access, etc kngharv Linux - General 1 02-21-2002 10:31 PM

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

All times are GMT -5. The time now is 08:29 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
Open Source Consulting | Domain Registration