Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.os.linux.hardware > #1532

Re: WD Passport commands

From Haines Brown <haines@histomat.net>
Newsgroups comp.os.linux.hardware
Subject Re: WD Passport commands
References <87objbv0f0.fsf@engels.HistoricalMaterialism.info> <87r4ntl272.fsf@engels.HistoricalMaterialism.info> <87fw49xmgn.fsf@araminta.anjou.terraraq.org.uk> <87d2zcbiov.fsf@engels.HistoricalMaterialism.info> <k884bb$gie$2@dont-email.me>
Date 2012-11-17 13:25 -0500
Message-ID <876254axxl.fsf@engels.HistoricalMaterialism.info> (permalink)

Show all headers | View raw


J G Miller <miller@yoyo.ORG> writes:

> On Saturday, November 17th, 2012, at 05:57:36h -0500, Haines Brown wrote:
>
>> Tried uid and gid didn't help.
>
> You need something like this in your /etc/fstab
>
> /dev/sda1       /mnt/C          ntfs    defaults,gid=46,locale=en_US.utf8,umask=022             0 0
>
> where the numbers specfied for gid and uid and found from /etc/passwd and /etc/group.

Thanks, I had something like that for another NTFS drive and have not
experienced problems:

  UUID=8A2CF4F62CF4DE5F /media/backup ntfs-3g 
      noauto,user,uid=1000,gid=1000  0 0
  
I finally concluded I was unnecessarily beating my head against the wall
with this Passport (it took 10 hours to reformat it NTFS!) and so I
decided reformat it this morning as EXT3. This took ten minutes and
everything is now working with this fstab entry:

  UUID=231f5918-47b5-4ed1-ae03-c15916fe91f4 /media/backup ext3
    noauto,user,uid=1000,gid=1000 0 0

Interesting, reformating changes the device UUID.

I still have a problem I didn't have in earlier kernels, which is that
when user writes a file to this device, the file ends being owned by
root, not by user. Only now with EXT3 I can run chown on it to change
the owner. But I'd just a soon a file written by user keep user's
ownership. Years ago I think I simply changed owner of the dev file or
something like that to give user free access to a device, but surely
that's not right.

Haines
 

Back to comp.os.linux.hardware | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

WD Passport commands Haines Brown <haines@histomat.net> - 2012-11-05 23:08 -0500
  Re: WD Passport commands Richard Kettlewell <rjk@greenend.org.uk> - 2012-11-06 08:50 +0000
  Re: WD Passport commands Haines Brown <haines@histomat.net> - 2012-11-16 15:31 -0500
    Re: WD Passport commands Richard Kettlewell <rjk@greenend.org.uk> - 2012-11-16 21:32 +0000
      Re: WD Passport commands Haines Brown <haines@histomat.net> - 2012-11-17 05:57 -0500
        Re: WD Passport commands J G Miller <miller@yoyo.ORG> - 2012-11-17 13:44 +0000
          Re: WD Passport commands Aragorn <stryder@telenet.be.invalid> - 2012-11-17 19:19 +0100
          Re: WD Passport commands Haines Brown <haines@histomat.net> - 2012-11-17 13:25 -0500
            Re: WD Passport commands Richard Kettlewell <rjk@greenend.org.uk> - 2012-11-17 20:30 +0000
              Re: WD Passport commands Haines Brown <haines@histomat.net> - 2012-11-20 05:03 -0500
                Re: WD Passport commands Richard Kettlewell <rjk@greenend.org.uk> - 2012-11-20 10:25 +0000
                Re: WD Passport commands Haines Brown <haines@histomat.net> - 2012-11-20 11:27 -0500
            Re: WD Passport commands J G Miller <miller@yoyo.ORG> - 2012-11-18 18:16 +0000
            Re: WD Passport commands Bill Marcum <bill@nowhere.invalid> - 2012-11-19 03:03 -0500

csiph-web