Operating Systems > Linux and UNIX
Permissions? File Association? Brick Wall Syndrome!
Calum:
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?
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 prefer 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!
dbl221:
Well here are my thoughts....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. Remember when you partitiond the harddrive then you formatted it with FAT32....thats when the 777 file permissions were decided, if you formated a partition as NTFS or second extended it would created the low level file system stuff and all the limitations that that entails.
Hope that explains it.
As for Mime types....well I have not played with them much in Gnome or KDE, so I can't comment.
Good Luck.. ;)
kinky:
i dont use gnome anymore, dont remeber or have a quick way to look.... but...
in KDE you can open control center, go to file browsing and file associations
Calum:
quote:Originally posted by dbl221:
Well here are my thoughts....a FAT32 partition or VFAT as its called in Linux has permissons of 777....thats just part of FAT32....no changing it.
--- End quote ---
Does this mean the permissions are permanently set, and what's more, they are permanently set so that everybody has read/write access? something funny is going on if that is the case then, since i don't have permission to write to that drive (and i did when i first set red hat 7 up so i have done something to change it...)
:confused:
thanks for the input guys! i appreciate it! :D
foobar:
I guess i am talking useless crap, but maybe this may help someone .. ?
with permissions, i always simply use tha midnight commander -
# mc
point to the file, and press [CTRL-X] [C]. This will open a lil' window that is very useful for stting permissions.
i don't know how to use it with partitions, or whatsoever. but mc is in text mode, so if you ever are forced to use the fantastic linux command line, try mc.
Navigation
[0] Message Index
[#] Next page
Go to full version