[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Sheflug] It's that ownership thing again..



In message <1050697880.4395.17.camel [at] elsol.zwan>
          "Mr. Adam ALLEN" <adam [at] dynamicinteraction.co.uk> wrote:

> On Fri, 2003-04-18 at 21:22, Ruth Gunstone wrote:
[snip]
> > 
> > What have I done wrong?
> 
> A sample from /etc/fstab /dev/hda7               /mnt/f                 
> vfat    uid=936         0 0
> 
> First column: the partition on the drive Second column; the mount point
> Third; the type Fourth; options
> 
> The options need to change, if it is currently default then replace it with
> uid=XXX.

O.k., it now reads:
/dev/hda6 /home/ruth/Data vfat uid=501  0 0

> If there are options already there (like owner,kudzu,noauto...), then a
> comma at the end of the existing options followed by uid=XXX
> 
> Well, it's not quite uid=XXX, XXX is the numerical user-id, which can be
> found in the third column produced by this command. more /etc/passwd | grep
> username e.g. username:x:936:936::/home/username:/bin/bash

more /etc/passwd | grep ruth                              
ruth:x:501:501:Ruth Gunstone:/home/ruth:/bin/bash

> 
> You'll need to unmount and remount the FAT-32 partition

duh...

> (or at the risk of getting jumped on from a great height, reboot).

O.k., rebooted, and...

quick check, 

connected to share 'websites', try to copy a file into it and...

"Access denied" :-(

bugger!

O.k., done some more fiddling and removed another entry I found in fstab
which appeared to be mounting /dev/hda6 at another point (/mnt/win_e, I
think). Don't know why this should have caused problems, but removing it and
rebooting has allowed me to gain full access.

1 problem solved - Thanks! 


only 63,999 to go now... ;-)



-- 
Ruth Gunstone          (ruth at bolsterstone dot demon dot co dot uk)

 /====================================================\ 
 ||  "That's the trouble with Time Travel - I can    ||
 ||     remember tomorrow as if it were yesterday."  ||
 ||                       The Doctor                 ||
 ||                       "Death Comes to Time"      ||
 \====================================================/
___________________________________________________________________

Sheffield Linux User's Group -
http://www.sheflug.co.uk/mailfaq.html

  GNU the choice of a complete generation.