public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: Paul Hartman <paul.hartman+gentoo@gmail.com>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] Cannot edit files on usb flash drive.
Date: Mon, 8 Mar 2010 10:52:00 -0600	[thread overview]
Message-ID: <58965d8a1003080852k4ae54966l711bc199305a0e9b@mail.gmail.com> (raw)
In-Reply-To: <4B94B2AA.3010209@gmail.com>

On Mon, Mar 8, 2010 at 2:17 AM, Dale <rdalek1967@gmail.com> wrote:
> ubiquitous1980 wrote:
>>
>> Alan McKinnon wrote:
>>
>>>
>>> On Monday 08 March 2010 08:31:40 ubiquitous1980 wrote:
>>>
>>>
>>>>
>>>> I have a usb flash drive which will not allow me to edit its files.  I
>>>> have tried chmod a+rwx -R $files but this does still not permit
>>>> editing.  Further, the files within the directories refuse to have
>>>> ownership changed via chown $myusername -R /mnt/disk.  Output is:
>>>> operation not permitted.  Any ideas?  Thanks.
>>>>
>>>>
>>>
>>> This happens when the flash drive is type vfat. This excuse for a file
>>> system
>>> does not have a concept of owners and permissions so the kernel has to
>>> fudge
>>> it. You are finding that you cannot change these for the simple reason
>>> that
>>> they do not exist and the kernel is pretending they are owned by root
>>> with
>>> MODE 755 or some such.
>>>
>>> If hal is mounting the device, check your hal config, looking for some
>>> likely
>>> named option.
>>>
>>>
>>
>> What config file would this be?  Can I find it in the handbook?
>>
>>>
>>> If the device is mounted via /etc/fstab, adjust the
>>> uid/gid/umask/dmask/fmask
>>> options to mount in column 4. Full details in the man page, under section
>>> "fat"
>>>
>>>
>>>
>>>
>>
>> I need to interact with university computers from time to time, any
>> other file system with proper permissions, to be used under both linux
>> and windows (without additional drivers)?
>>
>>
>>
>
> I don't use these so I am by no means saying they work well.
>
> sys-fs/ntfs3g
>
> sys-fs/ntfsprogs
>
> I have read that the first one works pretty well but no first hand knowledge
> if it is true or not.  You may want to read this as well.
>
> http://www.linux-ntfs.org/doku.php
>
> You may just want to test this with something not so important for a bit and
> see how well this works for you.

You could also use ext2 and install the driver on Windows:
http://www.fs-driver.org/



  reply	other threads:[~2010-03-08 16:53 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-03-08  6:31 [gentoo-user] Cannot edit files on usb flash drive ubiquitous1980
2010-03-08  6:46 ` Alan McKinnon
2010-03-08  7:33   ` ubiquitous1980
2010-03-08  8:17     ` Dale
2010-03-08 16:52       ` Paul Hartman [this message]
2010-03-08 17:22         ` Dale
2010-03-08  8:43     ` Alan McKinnon
2010-03-08  7:51   ` ubiquitous1980
2010-03-08  8:25     ` Neil Bothwick
2010-03-08  9:21   ` John H. Moe

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=58965d8a1003080852k4ae54966l711bc199305a0e9b@mail.gmail.com \
    --to=paul.hartman+gentoo@gmail.com \
    --cc=gentoo-user@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox