LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 03-14-2002, 05:32 AM   #1
Calum
Member
 
Registered: Mar 2002
Location: London
Distribution: Red Hat 9
Posts: 302

Rep: Reputation: 30
Permissions? File Association? Brick Wall Syndrome!


okay, i have a couple of questions re: linux.
I have read the relevant sections in the redhat7.0 manual, (that's the distro i have) and not come up with any answers, once more, brick wall syndrome. I'll outline my dilemmas and if you happen to be passing through and know the answer, maybe you could post it here for my and other peoples' benefit...

Firstly, permissions. I have read a lot about this and it boils down to not much help. My situation is that i have my second windows (fat32) partition, /dev/hda5 (D: in Windows) set up as /mnt/win and i can get read access no bother, but not write access. There are only 2 users for my computer (other than root) me and my girlfriend, and i want both of us to have access to /mnt/win.
I tried:

chmod -R 666 /mnt/win

and also a few other combinations that made sense in the manual, but to no avail whatsoever. still no access. I tried logging into GNOME as root too, to use the graphical stuff to sort it out, again, looked okay, but nothing changed.
Am i missing something? something else? is there some file i can edit directly to change this?
Somebody else gave me this advice:
Quote:
a FAT32 partition or VFAT as its called in Linux has permissons of 777....thats just part of FAT32....no changing it. The fact that it is mounted as /mnt/whatever means nothing.
What does this mean in real terms? if permissions can't be set for a vfat drive, then why don't i have permission to write to it?

Also, file type associations...
I found a thing in the GNOME control center called 'MIME type settings' or something similar that looked like it was for this, but i have changed the settings and they refuse to take effect.
I changed the setting for application/pdf from 'xpdf' to 'kghostview' which i preferred as a program, then back again when it didn't work.
What i want is to be able to doubleclick on the file, and have the relevant application (specified by me) open up automatically.

I haven't even found a way to do this at all in KDE yet, and the GNOME way does not appear to work.
Is there a config file i can edit somewhere? anybody know? or is there some crucial step i may be missing out of my file association procedure in GNOME? and how do you do this in KDE anyway?

Also, any idea how i can change this setting for all users rather than just one at a time? (that's a question i have had for a lot of functions actually.)

Any help will be appreciated, but don't bust yr pans for little old me, seriously if i asked all the questions i had about this OS and you all answered fully, none of us would even have time to sleep!
 
Old 03-14-2002, 05:40 AM   #2
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
that quote means that perms for a vfat drive are global, and can't be change once it is mounted. you want to edit /etc/fstab:

/dev/hda1 /mnt/win vfat umask=000

meaning the perms will be 777 on mount.

calum with 1L. one litre of what? listened... not impressed, soz.
 
Old 03-15-2002, 11:03 AM   #3
Calum
Member
 
Registered: Mar 2002
Location: London
Distribution: Red Hat 9
Posts: 302

Original Poster
Rep: Reputation: 30
that music is all clunky old stuff from last year anyway! i hope to move towards the rock angle rather than folk.
"1L" refers to the spelling of my name!
many people try and spell it "Callum"! (which is quite irritating...)
 
  


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
file association sy-co Mandriva 6 06-20-2004 03:55 AM
newbie "brick wall"'s mounting, install, XF86Config iemerick Linux - Software 1 04-23-2004 03:11 AM
File Association b_suny Linux - General 0 03-22-2004 08:15 PM
Installation - Hitting a brick wall stuseed Red Hat 1 12-23-2003 07:01 PM
file association true_atlantis Linux - Newbie 1 10-27-2003 03:26 PM

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

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