Unix Technical Forum

Re: Can't browse vfat partition

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 ...


Go Back   Unix Technical Forum > Unix Operating Systems > Slackware Linux Support

Register FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 02-18-2008, 09:47 AM
David
 
Posts: n/a
Default Re: Can't browse vfat partition

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

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 02-18-2008, 09:47 AM
Onofrio 'Ninni' de Bari
 
Posts: n/a
Default Re: Can't browse vfat partition



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 "@"

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 02-18-2008, 09:47 AM
Simon
 
Posts: n/a
Default Re: Can't browse vfat partition

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

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old 02-18-2008, 09:47 AM
E.M.Y
 
Posts: n/a
Default Re: Can't browse vfat partition

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.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #5 (permalink)  
Old 02-18-2008, 09:47 AM
Onofrio 'Ninni' de Bari
 
Posts: n/a
Default Re: Can't browse vfat partition



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
---

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #6 (permalink)  
Old 02-18-2008, 09:49 AM
Alan Hicks
 
Posts: n/a
Default Re: Can't browse vfat partition

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

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 09:24 AM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
www.UnixAdminTalk.com