LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu
User Name
Password
Ubuntu This forum is for the discussion of Ubuntu Linux.

Notices

Reply
 
LinkBack Search this Thread
Old 08-29-2006, 01:49 AM   #1
linuxmandrake
Member
 
Registered: Sep 2004
Distribution: debian sarge 64bit (AMD)
Posts: 709

Rep: Reputation: 30
unable to change pen drive file permission


I am using ubuntu 6 but for some strange reason it wont let me change permission. Even if I am root within the terminal. The command would succeed but it wont change the permission,. The pen drive is formatted as VFAT. I have a feeling it's not supposed to work but then how can I write to my pen as a normal user. IT was dected automatically and a usb icon appeared in the places menu hence I mounted it that way

Last edited by linuxmandrake; 08-29-2006 at 01:51 AM.
 
Old 08-29-2006, 03:22 AM   #2
salparadise
Senior Member
 
Registered: Nov 2002
Location: Birmingham UK
Distribution: slackware64
Posts: 1,651

Rep: Reputation: 54
I had a similar experience and got round it by reformatting the USB stick using Windows. Probably not the most elegant of solutions, but it worked.
 
Old 08-29-2006, 12:12 PM   #3
binary_y2k2
Member
 
Registered: Jul 2005
Location: England, UK
Distribution: Ubuntu 8.04 Server, Kubuntu 8.04, Kubuntu 8.10, Kubuntu 9.04, Kubuntu Karmic
Posts: 698
Blog Entries: 1

Rep: Reputation: 31
mount the drive with pmount (or pmount-hal)
Code:
pmount /dev/sdX
where sdX is the device

You need to mount it as the user you want to be able to write to it. You could do this with mount options (like uid=username).
The reason you can't change permissions is because (as you thought) vfat doesn't support permissions, it's just a limitation of FAT.
If you mount the device a lot, then you may consider adding a line to /etc/fstab for it. But that will only work if the device always has the same name in /dev
 
  


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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
unable to mount usb pen drive in redhat 9.0 zero79 Linux - Hardware 9 01-25-2007 09:07 PM
Mounting usb pen drive file permssions problems linuxmandrake Debian 1 10-10-2005 07:21 PM
how to change the file permission ?? AK prince Slackware 17 08-05-2005 12:16 PM
Cannot Change File Permission dsuratman Linux - Newbie 12 11-03-2003 01:47 PM
Unable to change permission Joe Soap Linux - Newbie 9 12-30-2001 11:33 PM


All times are GMT -5. The time now is 10:53 PM.

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
Open Source Consulting | Domain Registration