Mandriva This Forum is for the discussion of Mandriva (Mandrake) Linux.
Notices
Welcome to
LinuxQuestions.org , a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free.
Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please
contact us . If you need to reset your password,
click here .
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
11-21-2004, 11:40 PM
#1
LQ Newbie
Registered: Oct 2004
Posts: 11
Rep:
Device Permision Problems
I am having problems getting into my new partitioned fat32 harddrive. I can't seem to access it through any account other than root. ive tried chmod a+rwx L-W in root but it won't let me change them. can i have any help with this?
heres my fstab:
/dev/hda6 / ext3 defaults 1 1
none /dev/pts devpts mode=0620 0 0
/dev/hda8 /home ext3 defaults 1 2
/dev/hdc /mnt/cdrom auto umask=0,user,iocharset=iso8859-1,codepage=850,noauto,ro,exec,users 0 0
/dev/hdd /mnt/cdrom2 auto umask=0,user,iocharset=iso8859-1,codepage=850,noauto,ro,exec,users 0 0
/dev/hda1 /mnt/windows ntfs umask=0,nls=iso8859-1,ro 0 0
none /proc proc defaults 0 0
/dev/hda7 swap swap defaults 0 0
/dev/sda1 /mnt/hd ntfs umask=0,nls=iso8859-1,ro 0 0
/dev/hda5 /mnt/L-W vfat auto,user,exec,rw 0 0
Last edited by Zwan; 11-22-2004 at 12:18 AM .
11-21-2004, 11:58 PM
#2
LQ Newbie
Registered: Oct 2004
Posts: 11
Original Poster
Rep:
here is an example:
[root@localhost mnt]# mount L-W
[mntent]: warning: no final newline at the end of /etc/fstab
[root@localhost mnt]# ls -l
total 28
drwxr-xr-x 2 root root 4096 Nov 8 18:54 cdrom/
drwxr-xr-x 2 root root 4096 Nov 8 18:54 cdrom2/
drwxr-xr-x 2 root root 4096 Nov 9 00:08 hd/
drwxr--r-- 2 root root 8192 Jan 1 1970 L-W/
dr-xr-xr-x 1 root root 4096 Nov 22 14:08 windows/
[root@localhost mnt]# chmod a+rwx L-W
[root@localhost mnt]# ls -l
total 28
drwxr-xr-x 2 root root 4096 Nov 8 18:54 cdrom/
drwxr-xr-x 2 root root 4096 Nov 8 18:54 cdrom2/
drwxr-xr-x 2 root root 4096 Nov 9 00:08 hd/
drwxr--r-- 2 root root 8192 Jan 1 1970 L-W/
dr-xr-xr-x 1 root root 4096 Nov 22 14:08 windows/
im not sure what this means: warning: no final newline at the end of /etc/fstab
Last edited by Zwan; 11-22-2004 at 12:18 AM .
11-22-2004, 12:23 AM
#3
Senior Member
Registered: Sep 2004
Location: Outlying D.C.
Distribution: Mandriva
Posts: 2,090
Rep:
/dev/hda5 /mnt/L-W vfat auto users,exec,umask=0,rw 0 0
Shouldn't this be
/dev/hda5 /mnt/L-W vfat user,exec,umask=0,auto,rw 0 0
or
/dev/hda5 /mnt/L-W vfat user,exec,umask=0,noauto,rw 0 0
Better yet
cd /mnt
mkdir DosDisk
Edit the /etc/fstab file
/dev/hda5 /mnt/DosDisk vfat user,exec,umask=0,noauto,rw 0 0
Then at the end of the line where you see 0 0 postition the cursor after the second zero and hit return at least once before saving the file.
11-22-2004, 02:50 AM
#4
LQ Newbie
Registered: Oct 2004
Posts: 11
Original Poster
Rep:
id rather call it L-W thank you....
it works on this setting:
/dev/hda5 /mnt/L-W vfat auto,user,exec,umask=000 0 0
thought the rw and the umask function did the same thing
Last edited by Zwan; 11-22-2004 at 02:54 AM .
11-22-2004, 03:32 AM
#5
Senior Member
Registered: Sep 2004
Location: Outlying D.C.
Distribution: Mandriva
Posts: 2,090
Rep:
Note that the minus character in the name is often used by Linux/Unix and Dos for that matter for both parameter arguments and other purposes.
I could potentially be problematic.
11-22-2004, 09:01 PM
#6
LQ Newbie
Registered: Oct 2004
Posts: 11
Original Poster
Rep:
alright ill take out the minus sheesh
11-22-2004, 09:59 PM
#7
Senior Member
Registered: Sep 2004
Location: Outlying D.C.
Distribution: Mandriva
Posts: 2,090
Rep:
Hey, I didn't make this up and these are not my "rules"...
It's just something that ends up coming back to bite you later.
Thread Tools
Search this Thread
Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
All times are GMT -5. The time now is 02:25 PM .
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know .
Latest Threads
LQ News