davilla / atv-bootloader

Automatically exported from code.google.com/p/atv-bootloader
GNU General Public License v2.0
19 stars 10 forks source link

[Answer] How to change permissions on boot.efi #29

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Scott - hope this is OK. This issue held me up for quite a while so I
thought I'd share the solution for other linux noobs.

What steps will reproduce the problem?
1. You follow instructions :
http://code.google.com/p/atv-bootloader/wiki/BootEFIExtraction
2. You have a patchsticked atv so simply ran "scp
frontrow@YOUR.IP.ADDRESS.HERE:/System/Library/CoreServices/boot.efi ./"
3. You really need to compare permissions (ls -l boot.efi) with those in
the instructions 

What is the expected output? "-rw-r--r-- 1 root    root       298800
2007-06-19 00:47 boot.efi"

What do you see instead? "-rw-rw-rw- 1 <your username> <your username>
298800 2010-01-12 13:00 boot.efi"

The effect of this will be that your atv will not boot of the patchstick.

To fix your permissions you need to 
1. chmod 644 boot.efi
2. chown root:root boot.efi

Check your permissions again (- ls -l boot.efi), you should see they comply
with "-rw-r--r-- 1 root    root       298800 2007-06-19 00:47 boot.efi"

Original issue reported on code.google.com by pfru...@gmail.com on 14 Jan 2010 at 2:48