LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 11-21-2004, 11:40 PM   #1
Zwan
LQ Newbie
 
Registered: Oct 2004
Posts: 11

Rep: Reputation: 0
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.
 
Old 11-21-2004, 11:58 PM   #2
Zwan
LQ Newbie
 
Registered: Oct 2004
Posts: 11

Original Poster
Rep: Reputation: 0
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.
 
Old 11-22-2004, 12:23 AM   #3
opjose
Senior Member
 
Registered: Sep 2004
Location: Outlying D.C.
Distribution: Mandriva
Posts: 2,090

Rep: Reputation: 46
/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.
 
Old 11-22-2004, 02:50 AM   #4
Zwan
LQ Newbie
 
Registered: Oct 2004
Posts: 11

Original Poster
Rep: Reputation: 0
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.
 
Old 11-22-2004, 03:32 AM   #5
opjose
Senior Member
 
Registered: Sep 2004
Location: Outlying D.C.
Distribution: Mandriva
Posts: 2,090

Rep: Reputation: 46
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.
 
Old 11-22-2004, 09:01 PM   #6
Zwan
LQ Newbie
 
Registered: Oct 2004
Posts: 11

Original Poster
Rep: Reputation: 0
alright ill take out the minus sheesh
 
Old 11-22-2004, 09:59 PM   #7
opjose
Senior Member
 
Registered: Sep 2004
Location: Outlying D.C.
Distribution: Mandriva
Posts: 2,090

Rep: Reputation: 46
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.
 
  


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
NFS - group permision problems on client side top001 Linux - Networking 1 02-12-2004 02:08 PM
user with root permision imsajjadali Red Hat 2 01-20-2004 07:00 AM
User permision problems e1000 Slackware 6 11-06-2003 12:41 AM
file permision alexr186 Linux - Software 4 10-12-2003 08:56 PM
Samba + FAT32 Permision Problems simos Linux - Networking 1 11-28-2002 01:49 PM

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

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