D&C GLug - Home Page

[ Date Index ] [ Thread Index ] [ <= Previous by date / thread ] [ Next by date / thread => ]

Re: [LUG] cannot delete files on usb disk

 

On Sun, 2008-07-06 at 15:34 +0100, Grant Sewell wrote:

> I'm going out on a limb here... it's a FAT32 formatted USB harddrive. 
> Since FAT32 doesn't actually support the idea of ownership or permissions,
> they are faked when the device is mounted.  The entries in your
> "/etc/fstab" file should control what permissions are faked.
> 
> In order to delete files, the person trying to delete the file needs to
> have RWX permissions on it.  You've said the file's ownership is "root -
> root", and the permissions are RWX for the owner, R-X for the group and R-X
> for everyone else.
> 
> You'd either need to change the permissions in your fstab, or remove the
> file as root.
> 
> >From a command line (Konsole, perhaps?) you could run your application
> (Konqueror, perhaps?) as root:
>  $ sudo konqueror
Indeed. I had a block on thinking command line is command line only - of
course I have many a time done sudo .... It worked fine thanks.

Of course I mounted the device as root so that's presumably why owner
was root!

James


-- 
james kilty
http://www.kilty.demon.co.uk


-- 
The Mailing List for the Devon & Cornwall LUG
http://mailman.dclug.org.uk/listinfo/list
FAQ: http://www.dcglug.org.uk/linux_adm/list-faq.html