LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 06-12-2003, 06:34 AM   #1
TheShemeta
Member
 
Registered: Jun 2003
Location: Austria
Distribution: Archlinux 0.7 + 2.6.9
Posts: 140

Rep: Reputation: 15
Angry Permissions problem


Hi guys,

i have bg problems with my permissions. as root i can't access the cd-rom & as a user i can't access my windows hard drives. it sucks, because i evrytime i want to watch a movie i need to log in as user & when i want to play my .mp3 i have to sign in as root. it is soo annoying. i tried the chmod,chgrp commands, but it didn't help.
so i need your help. i hope you have any ideas how i can fix thet!
thank you so much!

TheShemeta
 
Old 06-12-2003, 06:50 AM   #2
chr
LQ Newbie
 
Registered: May 2003
Location: Reunion Island
Distribution: RedHat 6.2 , RedHat9.0, Slackware9.0
Posts: 10

Rep: Reputation: 0
U cannot use chmod and chgrp commands on FAT32, NTFS and CD-ROM file systems.

To access windows harddrive and CDROM try options like 'user' or 'uid' in the man page of fstab or mount.
 
Old 06-12-2003, 06:58 AM   #3
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
you need to set umask=000 for that entry in fstab (it will probably just say "defaults" there at the moment) or on the mount command line.
 
Old 06-12-2003, 07:24 AM   #4
TheShemeta
Member
 
Registered: Jun 2003
Location: Austria
Distribution: Archlinux 0.7 + 2.6.9
Posts: 140

Original Poster
Rep: Reputation: 15
Thanks for your information, now i know that i should stop with the chmod & chgrp.would you give me some more information & some steps how to do it. i am a newbie! :-( what are these commands "user" and "uid" & what are the fstab & mount?
thanks for your help! :-) that's cool there are people like you to help the newbies like me!
 
Old 06-12-2003, 08:07 AM   #5
chr
LQ Newbie
 
Registered: May 2003
Location: Reunion Island
Distribution: RedHat 6.2 , RedHat9.0, Slackware9.0
Posts: 10

Rep: Reputation: 0
mount is a command for mounting file systems.
/etc/fstab is a configuration file which is used by the mount command.
"user" and "uid" are not commands. They are options in the file /etc/fstab.
 
Old 06-12-2003, 08:27 AM   #6
TheShemeta
Member
 
Registered: Jun 2003
Location: Austria
Distribution: Archlinux 0.7 + 2.6.9
Posts: 140

Original Poster
Rep: Reputation: 15
so how would all this look like , so i can fix my problems? any idea? i have win_c & win_d drives which i can't access as an user. also i didn't see the umask=000. what is this?

Last edited by TheShemeta; 06-12-2003 at 08:29 AM.
 
Old 06-12-2003, 01:34 PM   #7
TheShemeta
Member
 
Registered: Jun 2003
Location: Austria
Distribution: Archlinux 0.7 + 2.6.9
Posts: 140

Original Poster
Rep: Reputation: 15
if this might help here is my fstab file:

/dev/hda3 / ext2 noatime 1 1
none /dev/pts devpts mode=0620 0 0
none /mnt/cdrom supermount dev=/dev/hdc,fs=auto,rw,--,iocharset=iso8859-1,codepage=850 0 0
/dev/hda2 /mnt/win_c vfat iocharset=iso8859-1,codepage=850 0 0
/dev/hda5 /mnt/win_d ntfs iocharset=iso8859-1,rw 0 0
none /proc proc defaults 0 0
/dev/hda4 swap swap defaults 0 0

i hope someone can help me! :-)
 
Old 06-12-2003, 02:54 PM   #8
linux_guy2003
Member
 
Registered: Jun 2003
Posts: 30

Rep: Reputation: 15
why don't u c this fstab file and make the necessary changes

LABEL=/ / ext3 defaults 1 1
none /dev/pts devpts gid=5,mode=620 0 0
none /proc proc defaults 0 0
none /dev/shm tmpfs defaults 0 0
/dev/hda6 swap swap defaults 0 0
/dev/hda1 /mnt/windows vfat defaults 0 0
/dev/hda7 /mnt/windows2 vfat defaults 0 0
/dev/cdrom /mnt/cdrom udf,iso9660 noauto,owner,kudzu,ro 0 0
/dev/fd0 /mnt/floppy auto noauto,owner,kudzu 0 0


just make the necessary changes in ur cdrom and hda 2 n 5 as in my hda 1 n 7
it should work
 
Old 06-12-2003, 06:42 PM   #9
TheShemeta
Member
 
Registered: Jun 2003
Location: Austria
Distribution: Archlinux 0.7 + 2.6.9
Posts: 140

Original Poster
Rep: Reputation: 15
thanks for the help

i changed what i had to change , but no luck! :-( what should i do?
then i tried the ........ users,umask=000 0 0 , but not difference. well at least now i can access my FAT32 partition, but there are no files on it. i still can't enter into the NTFS partition.
also if this will help, i can enter the FAT32 partition & browse there through the comman line. so i really don't know what the problem is!


Last edited by TheShemeta; 06-12-2003 at 07:36 PM.
 
Old 06-12-2003, 07:37 PM   #10
fsbooks
Member
 
Registered: Jan 2002
Location: Missoula. Montana, USA
Distribution: Slackware (various)
Posts: 464

Rep: Reputation: 52
Why don't you post what you have for the contents of your fstab. Also perhaps the listing that results when you type "ls -ld /dev/cdrom /dev/dvd /mnt/windows". Note, you may have to change the arguments to the actual cdrom and/or dvd device names, and the mount location of your windows drive(s). Then it will be easier for people who are used to seeing such things to see if they are consistent or not.

Also the output of "mount".

Did you unmount and remount the devices (cdrom/hardrive) after making the changes in /etc/fstab? This file is only operational during the mount operation.
 
Old 06-12-2003, 07:50 PM   #11
TheShemeta
Member
 
Registered: Jun 2003
Location: Austria
Distribution: Archlinux 0.7 + 2.6.9
Posts: 140

Original Poster
Rep: Reputation: 15
thanks for the help! now everything works fine. what i did is change the fstab file for the hard drives to users,umask=000 & then i restarted my comp. it works!

thank you again for your help!
 
  


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
Permissions problem bmorel Linux - Newbie 4 05-20-2005 04:01 PM
old problem ... permissions devit Slackware 3 03-28-2004 04:50 PM
Permissions Problem! codino Linux - Newbie 1 03-13-2004 07:12 PM
Possible permissions problem everythingand2 Linux - Software 1 01-18-2004 12:06 PM
Sendmail problem: sm-client permissions problem d3funct Linux - Software 0 08-12-2003 05:00 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

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