LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 10-12-2004, 03:11 AM   #1
mlsbraves
Member
 
Registered: Feb 2004
Location: Gulfport, MS
Distribution: Slackware 10.1, Gentoo
Posts: 90

Rep: Reputation: 16
Can only access Windows partition through root


I created a folder in the /mnt directory called windows. I then edited the fstab with the added line:
Code:
/dev/hda1 /mnt/windows auto user,defaults 0 0
Everything works fine under root but I can't access through my user. It claims I don't have permission. I've tried changing permissions to viewable by groups but I get this error:
Code:
Changing the attributes of files is not supported with protocol devices
Any suggestions?
 
Old 10-12-2004, 03:18 AM   #2
darthtux
Senior Member
 
Registered: Dec 2001
Location: 35.7480° N, 95.3690° W
Distribution: Debian, Gentoo, Red Hat, Solaris
Posts: 2,070

Rep: Reputation: 47
Add a umask

user,defaults,umask=0022
 
Old 10-12-2004, 03:26 AM   #3
heema
Senior Member
 
Registered: Sep 2003
Location: Egypt
Distribution: Arch
Posts: 1,528

Rep: Reputation: 47
check out this site :

http://shilo.is-a-geek.com/slack/fstab12.html
 
Old 10-12-2004, 03:28 AM   #4
gbonvehi
Senior Member
 
Registered: Jun 2004
Location: Argentina (SR, LP)
Distribution: Slackware
Posts: 3,145

Rep: Reputation: 53
mlsbraves, replace auto with your windows filesystem (ntfs or vfat) because otherwise mount can't set the permissions on it.
 
Old 10-12-2004, 04:29 AM   #5
mlsbraves
Member
 
Registered: Feb 2004
Location: Gulfport, MS
Distribution: Slackware 10.1, Gentoo
Posts: 90

Original Poster
Rep: Reputation: 16
Quote:
Originally posted by darthtux
Add a umask

user,defaults,umask=0022
Thanks. Worked Perfect.

Quote:
Originally posted by gbonvehi
mlsbraves, replace auto with your windows filesystem (ntfs or vfat) because otherwise mount can't set the permissions on it.
This should help me restrict which groups have access to it. Thank you

Also one more thanks to heema for the link. You have all been helpful
 
  


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
Need Access To Windows Partition Without Being Logged As Root Superme Linux - Software 4 01-12-2005 08:55 PM
Windows XP - Root like access? mikedeatworld Linux - Software 1 10-11-2004 10:08 AM
How can I access files in my Windows 98 partition from my Linux partition, /w BASH? Fabyfakid Linux - Newbie 4 09-17-2004 11:05 PM
non-root user cannot access Windows partition curmudgeon42 Linux - General 3 08-13-2004 04:33 PM
Can't access NTFS partition unless I'm root? Ilushka Linux - General 11 03-10-2004 02:28 PM

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

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