Tiny Core Base > TCB Bugs
mkdir can't create directory /home/tc/.local permission denied
nassausky:
Hi All...
I'm getting the following error which is delaying my boot by about a minute:
mkdir can't create directory /home/tc/.local permission denied
This was after I made a change to the 2 files:
/mnt/sda1/opt/bootlocal.sh by adding a single line sudo /usr/local/etc/init.d/cups start
and
/mnt/sda1/tce/boot/extlinux/extlinux.conf by adding to the APPEND line opt=sda1 home=sda1 norestore
Thanks for any input
gerald_clark:
Don't use sudo in bootlocal.sh. It is already running as root.
Check your permissions on /mnt/sda1/home/tc .
nassausky:
OK I removed everything from the bootlocal.sh file so it doesn't seem to be the problem.
Am I supposed to be looking at the permissions of the tc folder itself which is:
drwxrwxr-x
I tried changing it to 777 (drwxrwxrwx) to see if that helped but it didn't. Does this mean I have to go inside the folder and change permissions of something?
Thanks for the quick response.
nassausky:
EDIT: OK I thought I got it.
After removing norestore boot option and changing the permissions to 777, it seemed to boot fine but it wasn't changing the permissions alone since I had to remove the norestore option.
I tried a fresh install this time on a virtualbox and this time during the install I added those boot options like the wiki instructs to create a kiosk. Again when booting after the initial install to the virtualbox hdd it gave the same error. /home/tc/.local permission denied so I tried the same steps. I dropped permissions to the tc folder and rebooted with norestore off (removed from boot args) and then I restored permissions to 775 and i boots now without the error but takes about a minute or 2 to display the GUI xwindow.
So something else is up. Has anyone tried a tinycore install on a virtualbox with those 3 boot options opt=sda1 home=sda1 norestore and rebooted without an issue?
nassausky:
OK still working on it. This time I reinstalled tc with the same frugal install on the virtualbox drive and used no boot options. It started fine. As soon as I added opt=sda1 home=sda1 norestore, it gave the permission error. To solve it I changed /mnt/sda1/home/tc to 777 and rebooted with norestore off. I rebooted twice (for sanity) and it booted fine. Then I changed the permissions back to 775 for the tc folder and added norestore back as a boot argument.
This seems like a bug or a problem with the wiki (http://wiki.tinycorelinux.net/wiki:install_hd) under the section "Run The Installer" where it says
Boot options. Type:
opt=sda1 home=sda1 norestore
Let me know if anyone tries this and has the same issue.
Thanks.
Navigation
[0] Message Index
[#] Next page
Go to full version