l i n u x - u s e r s - g r o u p - o f - d a v i s
L U G O D
 
Next Meeting:
December 2: Social gathering
Next Installfest:
TBD
Latest News:
Nov. 18: Club officer elections
Page last updated:
2009 Feb 19 19:59

The following is an archive of a post made to our 'vox-tech mailing list' by one of its subscribers.

Report this post as spam:

(Enter your email address)
Re: [vox-tech] Help with USB Hard drive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [vox-tech] Help with USB Hard drive



ALLO (Alfredo Lopez De Leon) wrote:
>  Hi,
> I have a brand new 1TB USB hard drive formatted by fdisk to FAT32.
> My system can see it mount it and umount it.
> However, no matter what I do I cannot change the permissions or the ownership nothing!
> The root can write but nobody else can.
> I want this drive to be totally accessible to all the users of the machine (actually a server).
> 
> Is there a way to do this?
> 
> TIA
> Alfredo
> ****************
> This is some info on the drive:
> 
> From /etc/fstab
> 
> /dev/sdb1     /media/usb     vfat    pamconsole,exec,noauto,managed,rw,user 0 0
> 
> From /etc/mtab
> 
> /dev/sdb1 /media/usb vfat rw 0 0
> 
> From /media ls -l 
> 
> drwxr-xr-x  2 root root 16384 Jan  1  1970 usb

Try changing your mount in /etc/fstab
/dev/sdb1 	vfat 	defaults,utf8,umask=007,gid=46 	0 2

I think the umask value is the key one here that allows users to access it.

You might want to consider reformatting the drive to another filesystem
if you plan to keep large files, fat is limited to 2GB files.

Alex
_______________________________________________
vox-tech mailing list
vox-tech@lists.lugod.org
http://lists.lugod.org/mailman/listinfo/vox-tech



LinkedIn
LUGOD Group on LinkedIn
Sign up for LUGOD event announcements
Your email address:
facebook
LUGOD Group on Facebook
'Like' LUGOD on Facebook:

Hosting provided by:
Sunset Systems
Sunset Systems offers preconfigured Linux systems, remote system administration and custom software development.

LUGOD: Linux Users' Group of Davis
PO Box 2082, Davis, CA 95617
Contact Us

LUGOD is a 501(c)7 non-profit organization
based in Davis, California
and serving the Sacramento area.
"Linux" is a trademark of Linus Torvalds.

Sponsored in part by:
Appahost Applications
For a significant contribution towards our projector, and a generous donation to allow us to continue meeting at the Davis Library.