LinuxQuestions.org
Visit the LQ Articles and Editorials section
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices

Reply
 
Search this Thread
Old 05-21-2007, 09:47 PM   #1
StefanP
Member
 
Registered: Apr 2007
Distribution: Debian 4
Posts: 87

Rep: Reputation: 15
Cannot copy to USB Memory Stick some files


Sounds weird but I can copy to my USB Memory Stick some files (text files for examples) but not other files (like link files for examples). The USB Memory Stick is automatically mounted when I insert it in the USB port, but I can only write to it if I am logged on as "root". Is there any way that I can write to the USB Stick any kind of files (no restrictions) ?

Thanks for your help
 
Old 05-21-2007, 10:25 PM   #2
gilead
Senior Member
 
Registered: Dec 2005
Location: Brisbane, Australia
Distribution: Slackware64 14.0
Posts: 4,123

Rep: Reputation: 151Reputation: 151
Is the file-system formatted as fat32 (vfat)? If so, use the umask option in /etc/fstab to allow anyone to write to it:
Code:
/dev/sda4  /mnt/dongle  vfat  noauto,users,rw,exec,umask=0000  0  0
If it is fat32 though, it won't support symbolic links. You could try tar'ing them up or formatting the file-system as a native Linux file-system (ext2, etc.). It depends on how portable you need the data to be.
 
Old 05-23-2007, 12:41 PM   #3
StefanP
Member
 
Registered: Apr 2007
Distribution: Debian 4
Posts: 87

Original Poster
Rep: Reputation: 15
It is FAT16 but anyway... I took your advice and I tarred all my links and I was able to copy the tar file on the USB stick... Thanks again
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
low level copy an USB flash drive / memory stick mr.v. Linux - Software 1 02-26-2007 04:05 PM
USB memory, Compact Flash, Memory Stick energiza Linux - Hardware 2 08-22-2006 09:29 PM
Missing memory in USB stick, flash memory, removable hd etc bamboo_spider Linux - Newbie 3 06-14-2006 05:39 PM
About USB memory stick satimis Linux - Hardware 6 02-06-2006 05:40 AM
USB Memory Stick/MP3 Player (Can't read files) jasarien Linux - Hardware 12 08-27-2004 04:09 PM


All times are GMT -5. The time now is 05:58 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration