Also, I have not heard of any linux file manager that will allow you to copy
files to a directory where you do not have write permissions (I've played
with mc, dolphin, nautilus, konqueror, rox, gnome-commander, the list goes
on).  To do this they would have to manage their own list of files in the
directory, and that is an extreme oversight. The proper way to do it is to
let the filesystem do its job - namely, only show files the filesystem tells
you are there.

If you successfully copied the files to the drive, but they weren't there
later, it was because you did not successfully unmount the drive before
removing it.  Linux, unlike Windows, buffers the FS on USB drives by
default. This improves immediate write performance, but it suffers data loss
if you don't 'sync' or 'umount' the drive before removing.  Most modern gui
file managers I've played with have a Mac-style eject button on removable
media, that will unmount, then inform you of the success (by saying 'It's
now safe to remove').

You can play with HAL configurations to cause it to mount all removable
media in 'sync' mode by default, but it's never been worth it to me, since
it only helps when you're writing to the disk. AFAIK there's no way to shut
off the write buffer only (keeping the read buffer).

On Mon, Feb 7, 2011 at 7:54 AM, Roy <[email protected]> wrote:

> This is not actually the case.  Most distributions do *not* mount usb
> keys as read-only. Different distributions and even different desktops
> handle them differently, so you can't make a blanket statement. It all
> has to do with file permissions and the format that you created and at
> what user level you created it as. If it is FAT or NTFS, I have never
> had a problem in any distribution with writing to a disk. If it is ext
> then it all depends on what user created to file system. File
> permissions can be changed either from the GUI or from the
> commandline.
>
> If you launch your file manager from the terminal and change to su or
> use sudo first then you can change file permissions from Nautilus or
> Dolphin, etc. (eg. sudo nautilus). Some distributions such as Fedora
> use SELinux (which you can turn off) that make it difficult to make
> changes or mount and use file systems. This is not a universal fault,
> but a design decision based on enhanced security. It should not
> irritate, but rather fill you with confidence. Instead you need to
> learn how to manage it.
>
> Roy
>
> Using Kubuntu 10.10, 64-bit
> Location: Canada
>
>
>
> On 6 February 2011 13:40, Dos-Man 64 <[email protected]> wrote:
> > OK.  This has been getting on my nerves for a long time now.  Most of
> > the distros mount a usb disk or mp3 player as read-only.  If I try to
> > create or delete files on the device, they disappear if I unplug the
> > device and then plug it back in.
> >
>
> --
> You received this message because you are subscribed to the Linux Users
> Group.
> To post a message, send email to [email protected]
> To unsubscribe, send email to [email protected]
> For more options, visit our group at
> http://groups.google.com/group/linuxusersgroup
>



-- 

           Daniel

-- 
You received this message because you are subscribed to the Linux Users Group.
To post a message, send email to [email protected]
To unsubscribe, send email to [email protected]
For more options, visit our group at 
http://groups.google.com/group/linuxusersgroup

Reply via email to