USB booting :: Writeable custom user directory ?



Well...looks like you got yourself one of the weird problems, like it or not.
I'm out of ideas.

Maybe there is no ownership of files allowed for a FAT filesystem instead of a Linux or NTFS file system?

Try creating the directory as user DSL instead of root.  Does this work?

Quote (cbagger01 @ Aug. 26 2005,16:47)
Maybe there is no ownership of files allowed for a FAT filesystem instead of a Linux or NTFS file system?

Try creating the directory as user DSL instead of root.  Does this work?

Then I get a "permission denied" message.


Is it possible to shrink the partition where DSL is installed ?
So that I can create a second partition for my data, Iīve tried
with the eval of partition magic but it seems not to support
"removeable storage" on windows.

Unix permissions are not changeable on FAT partitions. Period. To set permissions on a file, you have to mount the partition with specific options (eg. "rw,exec"), and your settings will affect all the files on the partition. I'm afraid that if you want full permission control you're going to have to create an ext2, ext3 (or something else that supports permissions) partition, which probably won't be readable in windows.
Quote (nothsa @ Sep. 03 2005,14:32)
Unix permissions are not changeable on FAT partitions. Period. To set permissions on a file, you have to mount the partition with specific options (eg. "rw,exec"), and your settings will affect all the files on the partition. I'm afraid that if you want full permission control you're going to have to create an ext2, ext3 (or something else that supports permissions) partition, which probably won't be readable in windows.


Thx, nothsa.
This is what people on the IRC told me too. A FAT system that
is mounted by root, belongs to root, no chmod, no chown, etc...
I donīt know where to set specific options for the filesystem,
/etc/fstab is rewriten form "knoppix" with every reboot.:/

I had a workaround (with the help of tuxfan from #unixboard ;)).
I created a diskimage with dd, formated with ext2, and mounted
it to /test. There I can change file permissions, write to the file system, save my data, etc.

I think itīs not very elegant but itīs working fine :)

Next Page...
original here.