Tiny Core Linux

Tiny Core Base => TCB Q&A Forum => Topic started by: jls on May 04, 2009, 06:02:35 AM

Title: usb pendrive (fat) only root can modify it
Post by: jls on May 04, 2009, 06:02:35 AM
sometimes my usb pendrive cannot be modified by norml user.
I cannot create dir for example, but with root yes.
Title: Re: usb pendrive (fat) only root can modify it
Post by: alu on May 04, 2009, 07:11:02 AM
my experience with my 16GB pendrive and two prtitions (sda1 for boot with 16MB and the rest [sda2] for my files) was that sometimes (mostly after uninstalling some tce extensions), sda2 have been remounted read-only, and then i had not any chance to write in my directories, neither as a user, nor as root; i have reformatted it fat32 with only one partition, and since i don't have any issue of that kind
Title: Re: usb pendrive (fat) only root can modify it
Post by: Juanito on May 04, 2009, 08:40:25 AM
Assuming your usb stick is formatted with a linux file system, this would depend on what you're trying to modify - usually the root of the file system would be owned (not surprisingly) by root, so if you're trying to add a directory like /myfolder, you would need to be root.

If you've already created a directory /myfolder and set its permissions to tc:staff then you should be able to create/modify directories and files within /myfolder
Title: Re: usb pendrive (fat) only root can modify it
Post by: roberts on May 04, 2009, 10:07:14 AM
Your choice of filesystem must be able to support permissions. We don't run everything as root here.