This is a discussion on Re: Can't browse vfat partition within the Slackware Linux Support forums, part of the Unix Operating Systems category; --> Onofrio 'Ninni' de Bari wrote: > > Hi folks. > > I have a laptop with a Win partition ...
| |||||||
| Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| ||||
| Onofrio 'Ninni' de Bari wrote: > > Hi folks. > > I have a laptop with a Win partition and a Slackware 9.0 one. I mounted > the windows one in /etc/fstab with the line > > /dev/hda1 /mnt/win vfat defaults 1 0 > > but if I type > > ls /mnt/win > > at the prompt as a non root user it tells me "permission denied" on > every file. > > What should I modify in /etc/fstab? I read > > man mount > > but I didn't find anything that fits perfectly. > Slackware 8.1 had a different behaviour; after the installation, the > default was to give every user the chance to read (at least) the vfat > filesystem. This will let all users in the "users" group to access the windows partition. /dev/hda1 /mnt/win vfat defaults,users,rw 1 0 -- Confucius: He who play in root, eventually kill tree. Registered with The Linux Counter. http://counter.li.org/ Slackware 9.0 Kernel 2.4.21 i686 (GCC) 3.3 Uptime: 15 days, 21:00, 1 user, load average: 1.72, 1.63, 1.43 |
| |||
| David wrote: > This will let all users in the "users" group to access the windows > partition. > > /dev/hda1 /mnt/win vfat defaults,users,rw 1 0 > Sadly, it still doesn't work... Hmmm... I don't know what to do know... if not "playing" with umask, but it is quite dangerous for the vfat filesystem, isn't it? -- Onofrio 'Ninni' de Bari http://www.linux.it/~ondeb My real email address is without XYZ before the "@" |
| |||
| On Fri, 04 Jul 2003 13:23:35 +0200, Onofrio 'Ninni' de Bari <ondebXYZ@inwind.it> wrote: > Hmmm... I don't know what to do know... if not "playing" with umask, but > it is quite dangerous for the vfat filesystem, isn't it? It's only dangerous in that you can allow users to access that partition who shouldn't have access to it. The umask & uid settings are the ones you need to look at. -- Simon <simon@no-dns-yet.org.uk> **** GPG: F4A23C69 "We demand rigidly defined areas of doubt and uncertainty." - Douglas Adams |
| |||
| On Fri, 04 Jul 2003 13:04:33 +0100, Simon wrote: > On Fri, 04 Jul 2003 13:23:35 +0200, Onofrio 'Ninni' de Bari > <ondebXYZ@inwind.it> wrote: >> Hmmm... I don't know what to do know... if not "playing" with umask, but >> it is quite dangerous for the vfat filesystem, isn't it? > > It's only dangerous in that you can allow users to access that > partition who shouldn't have access to it. The umask & uid settings > are the ones you need to look at. this sounds like the kinda thing you might be looking for, http://jetblackz.freeservers.com/Con...untPoints.html hope that helps. |
| |||
| E.M.Y wrote: > this sounds like the kinda thing you might be looking for, > > http://jetblackz.freeservers.com/Con...untPoints.html Thanks for the link. Anyway, I made it working adding uid=<myuser> to the options before 1 and 0 in my line (since this is my desktop system, I don't have to worry about how many users can read/write). Thanks to everybody for your help. -- --- Onofrio 'Ninni' de Bari http://www.linux.it/~ondeb --- |
| ||||
| On Sat, 05 Jul 2003 10:18:37 +0200, Onofrio 'Ninni' de Bari wrote: > uid=<myuser> For a cleaner fix in the future involving multiple users re-read the man page for moutn and pay attention to the 'gid=' option. -- It is better to hear the rebuke of the wise, Than for a man to hear the song of fools. Ecclesiastes 7:5 |