Tiny Core Extensions > TCE Bugs

Chown Message

<< < (2/2)

jaygeetiny:

--- Quote from: Juanito on February 12, 2009, 06:37:40 AM ---
--- Quote from: jaygeetiny on February 12, 2009, 04:54:23 AM ---My sda1 is a FAT32 formatted 4GB USB stick and it seems that "You can't modify permissions on a FAT filesystem.

--- End quote ---

After a lot of grief with this issue, I swapped to using ext2 formatted usb sticks for dsl a couple of years back and now use the same thing for tc.

You can use extlinux (tc extension exists) to create the exact analogy of an isolinux boot and the freeware ext2 drivers for windows (should they be required) allow you to read write to the usb stick without problems.

--- End quote ---

My mistake: on reflection I plugged-in FAT32 formatted sticks when installing the other distros but they were fdisk'ed to ext2 during installation.

I'll try the extlinux route when I've finished trying out a few more apps.       

tobiaus:

--- Quote from: mikshaw on February 12, 2009, 06:14:37 AM ---One such feature is the ability of the regular user add more applications to the tce directory as he choses, regardless of what username you boot with.  In order to accomplish this, the directory is chowned during initialization.
--- End quote ---

although when i boot from livecd, loading restore and tce from a fat32 sda1, (good for machines that don't allow usb boot) it complains that it cannot chown, every time i boot. i haven't tried to understand why because it's doing what i want it to, it's simply trying to do something that in this instance is superfluous. when i usb boot, i use extlinux, like juanito. i could also cd boot with an ext2 usb key, right now i only use ext for bootable partitions.

mikshaw:

--- Quote from: tobiaus ---loading restore and tce from a fat32 sda1
--- End quote ---
It's precisely the issue we've been talking about.  FAT16 and FAT32 have no suport for file ownership. In that case you can't chown, so you get an error when TC tries to chown.  It might not cause any problems for you, but if you had a ext drive containing the tce directory you wouldn't be able to save new extensions there if that directory didn't give you the permission to write.

jaygeetiny:

--- Quote from: mikshaw on February 12, 2009, 09:27:54 PM ---
--- Quote from: tobiaus ---loading restore and tce from a fat32 sda1
--- End quote ---
It's precisely the issue we've been talking about.  FAT16 and FAT32 have no suport for file ownership. In that case you can't chown, so you get an error when TC tries to chown.  It might not cause any problems for you, but if you had a ext drive containing the tce directory you wouldn't be able to save new extensions there if that directory didn't give you the permission to write.

--- End quote ---
So if my useage of TC is confined to a bootable USB stick and I'm prepared to accept the security implications of not having separate root and user logins a non-chown capability shouldn't be a problem? 

mikshaw:
I think you're correct.   Personally I would discourage the use a FAT filesystem with home=xxx or opt=xxx or local=xxx (unless local was a file), but archived files such as extensions and backups are not negatively affected by being stored on a partition that doesn't support linux file permissions.

Navigation

[0] Message Index

[*] Previous page

Go to full version