vBulletin Search Engine Optimization
| |||||||
| Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| ||||
| Ihave a problem.. don't we all ;-) In my vfat partitions (HD and cardreaders) all folders showes up as files instead of, well, folders. And this is only in some apps that uses gnome-vfs and the gnome file-chooser, for example, Nautilus, GnomeCommander, Mozilla, XMMS, Gedit... but not in Gedit, there it works??. And it is not so in xterm, mc, or whatever text-console app, there it works just fine. I suspect this can have something to do also with my previous post (got no answer) about libgphoto2 and Gtkam. I get som "garbage" characters in that problem. My locale is (right now, i have tried other): bash-2.05b$ locale LANG=sv_SE.iso88591 LC_CTYPE="sv_SE.iso88591" LC_NUMERIC="sv_SE.iso88591" LC_TIME="sv_SE.iso88591" LC_COLLATE="sv_SE.iso88591" LC_MONETARY="sv_SE.iso88591" LC_MESSAGES="sv_SE.iso88591" LC_PAPER="sv_SE.iso88591" LC_NAME="sv_SE.iso88591" LC_ADDRESS="sv_SE.iso88591" LC_TELEPHONE="sv_SE.iso88591" LC_MEASUREMENT="sv_SE.iso88591" LC_IDENTIFICATION="sv_SE.iso88591" LC_ALL=sv_SE.iso88591 I did suspect that "sv_SE.iso88591" is wrong and that it should be something like "sv_SE.ISO-8859-1" but no, that did not help. So i made a "locale -a" bash-2.05b$ locale -a | grep sv sv_FI sv_FI@euro sv_FI.iso88591 sv_FI.iso885915@euro sv_SE sv_SE.iso88591 Well it says "sv_SE.iso88591"... Does anybody have a clue? |
| |||
| steelneck wrote: > steelneck wrote: > >> Ihave a problem.. don't we all ;-) >> > Sorry, forgot. > It is Slackware 9.1 (std Slack kernel). Update, it all works as root, i am one of those that behaves, and do not run anything as root unless it is necessary... Well now i discovered some of it, but problem remains. So i make: bash-2.05b$ locale LANG=sv_SE.iso88591 LC_CTYPE="sv_SE.iso88591" LC_NUMERIC="sv_SE.iso88591" LC_TIME="sv_SE.iso88591" LC_COLLATE="sv_SE.iso88591" LC_MONETARY="sv_SE.iso88591" LC_MESSAGES="sv_SE.iso88591" LC_PAPER="sv_SE.iso88591" LC_NAME="sv_SE.iso88591" LC_ADDRESS="sv_SE.iso88591" LC_TELEPHONE="sv_SE.iso88591" LC_MEASUREMENT="sv_SE.iso88591" LC_IDENTIFICATION="sv_SE.iso88591" LC_ALL= And then: bash-2.05b$ su Lösenord: bash-2.05b# locale LANG=sv_SE.iso88591 LC_CTYPE="sv_SE.iso88591" LC_NUMERIC="sv_SE.iso88591" LC_TIME="sv_SE.iso88591" LC_COLLATE="sv_SE.iso88591" LC_MONETARY="sv_SE.iso88591" LC_MESSAGES="sv_SE.iso88591" LC_PAPER="sv_SE.iso88591" LC_NAME="sv_SE.iso88591" LC_ADDRESS="sv_SE.iso88591" LC_TELEPHONE="sv_SE.iso88591" LC_MEASUREMENT="sv_SE.iso88591" LC_IDENTIFICATION="sv_SE.iso88591" LC_ALL= They are identical, so this leads me to some permission problem, but where. I have a hard time to belive that Slack "users" are forbidden to change language by default permissions, well maybe there are some reason so that root only can do it for the system as a hwole, but how? |
| |||
| In <2MKYb.83211$dP1.224176@newsc.telia.net>, steelneck wrote: > steelneck wrote: >> steelneck wrote: >> >>> Ihave a problem.. ... > Update, it all works as root, .... I don't think it's the locales, but your /etc/fstab. Here it has a line: /dev/hda1 /mnt/wndws vfat users,umask=022 1 0 Maybe the umask is the problem? Good luck Franz -- Franz M. Sauerzopf Atominstitut, TU Wien |
| |||
| Franz M. Sauerzopf wrote: > In <2MKYb.83211$dP1.224176@newsc.telia.net>, steelneck wrote: > > >>steelneck wrote: >> >>>steelneck wrote: >>> >>> >>>>Ihave a problem.. ... >> >>Update, it all works as root, .... > > > I don't think it's the locales, but your /etc/fstab. > Here it has a line: > /dev/hda1 /mnt/wndws vfat users,umask=022 1 0 > No my fstab for old wintendo is /dev/hde1 /mnt/windows vfat defaults 0 0 In my old Mandrake i have something like your examle with umask, but there it works (it is also supermount). |
| |||
| steelneck <jemamo@telia.com> wrote: > No my fstab for old wintendo is > /dev/hde1 /mnt/windows vfat defaults 0 0 Since Slackware 9.0 "defaults" for vfat partions will give something like "rwxr--r--", as fas as I know, and as ROOT mounted it (so is the owner), you won't be able to go to any subdir as "normal user" as the dirs do not have any "x" bits set for "other then the owner". So you _must_ use an umask when you mount a vfat partition at bootup. Or use the "user" cq "users" options, then the mounter is also the owner of the files, so _does_ have the x bit set on the subdirs. -- ************************************************** ****************** ** Eef Hartman, Delft University of Technology, dept. EWI/TW ** ** e-mail: E.J.M.Hartman@math.tudelft.nl, fax: +31-15-278 7295 ** ** snail-mail: P.O. Box 5031, 2600 GA Delft, The Netherlands ** ************************************************** ****************** |
| ||||
| Eef Hartman wrote: > steelneck <jemamo@telia.com> wrote: > >>No my fstab for old wintendo is >>/dev/hde1 /mnt/windows vfat defaults 0 0 > > > Since Slackware 9.0 "defaults" for vfat partions will give something > like "rwxr--r--", as fas as I know, and as ROOT mounted it (so is the > owner), you won't be able to go to any subdir as "normal user" as the > dirs do not have any "x" bits set for "other then the owner". > So you _must_ use an umask when you mount a vfat partition at bootup. > Or use the "user" cq "users" options, then the mounter is also the > owner of the files, so _does_ have the x bit set on the subdirs. Many, many thanks Harman! Easy solution, i was making it harder than it was. I just changed the fstab line to: /dev/hde1 /mnt/windows vfat defaults,umask=022 0 0 Now i can concentrate on my problems with libgphoto2 and Gtkam, there it is some UTF8 iso problems, it was this that lead me in the wrong direction, brain-lock. Hopefully this thread will show up for others with similar problems. |