FAT does have some advantages, so, if you're using these things for their sneakernet capabilities, another option is to always package stuff up in tgz (or even zip) -- which, as you know, preserves perms, etc.

..jim

Lan Barnes wrote:
On Sun, Jan 29, 2006 at 02:08:24PM -0800, Carl Lowenstein wrote:
On 1/29/06, Lan Barnes <[EMAIL PROTECTED]> wrote:
My stick drives really don't act much like Linux drives in some ways.
I'm puzzled.

Here are two aberrations (there may be more):

1. When I copy regular files to the drive, they always have executable
attributes in the copy even when not in the original.

2. chown is not permitted, even to root:

[EMAIL PROTECTED] ~]$ cd /mnt/avb/
[EMAIL PROTECTED] avb]$ ll
total 20
drwxr-xr-x  2 lbarnes lbarnes 4096 Jan 29 13:49 gpg
drwxr-xr-x  2 lbarnes lbarnes 4096 Apr 25  2005 misc
drwxr-xr-x  4 lbarnes lbarnes 4096 Apr 10  2005 pix
drwxr-xr-x  2 lbarnes lbarnes 4096 Apr 10  2005 putty
drwxr-xr-x  3 lbarnes lbarnes 4096 Nov  6 08:16 tclconf
[EMAIL PROTECTED] avb]$ su
Password:
[EMAIL PROTECTED] avb]# chown 0:0 misc/
chown: changing ownership of `misc/': Operation not permitted

Any thoughts?
It's pretty likely that these drives are formatted with msdos (FAT16
or FAT32) file systems.  If so, they don't have ownerships,
permissions, etc. because they aren't Unix file systems.

The only good thing about this is that they are also useable on
Windows OS, if you happen to have a computer like that.


I thought that might be the problem. Can they be reformatted?



--
[email protected]
http://www.kernel-panic.org/cgi-bin/mailman/listinfo/kplug-list

Reply via email to