Code: Select all
sudo python code.pyCode: Select all
sudo chmod 777 code.pyThanks.
Code: Select all
sudo python code.pyCode: Select all
sudo chmod 777 code.pyCode: Select all
mount | grep boot
/dev/mmcblk0p1 on /boot type vfat (rw,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=ascii,shortname=mixed,errors=remount-ro)If the OP wants that they should just use an app to r/w ext4 on windows(Ext2IFS, Ext2Fsd, DiskInternals Linux Reader, Ext2explore, ExtFS for Windows, Ext2Read).Joe Schmoe wrote:...SD card, stick it in a Windows...
Code: Select all
/boot/configuration.confCode: Select all
/home/pi/App/code.pyCode: Select all
sudo chmod 777 configuration.confpluggy wrote:The /boot folder is the redirected FAT partition, and since FAT doesn't do permissions or ownership its something of a none starter.
Code: Select all
pi@raspberrypi ~ $ sudo bash
root@raspberrypi:/home/pi# umount /boot;mount -o uid=pi /dev/mmcblk0p1 /boot
root@raspberrypi:/home/pi# ls -lsa /boot
total 9808
16 drwxr-xr-x 2 pi root 16384 Dec 31 1969 .
4 drwxr-xr-x 22 root root 4096 Sep 20 21:40 ..
18 -rwxr-xr-x 1 pi root 17840 Sep 8 16:24 bootcode.bin
2 -rwxr-xr-x 1 pi root 115 Sep 20 21:00 cmdline.txt
2 -rwxr-xr-x 1 pi root 1312 Sep 8 17:26 config.txt
4 -rwxr-xr-x 1 pi root 2324 Sep 8 16:24 fixup_cd.dat
6 -rwxr-xr-x 1 pi root 6115 Sep 8 16:24 fixup.dat
10 -rwxr-xr-x 1 pi root 9166 Sep 8 16:24 fixup_x.dat
2 -rwxr-xr-x 1 pi root 137 Sep 9 05:10 issue.txt
3158 -rwxr-xr-x 1 pi root 3232856 Sep 8 16:24 kernel.img
20 -rwxr-xr-x 1 pi root 18974 Sep 25 2013 LICENSE.oracle
522 -rwxr-xr-x 1 pi root 533080 Sep 8 16:24 start_cd.elf
2554 -rwxr-xr-x 1 pi root 2615064 Sep 8 16:24 start.elf
3490 -rwxr-xr-x 1 pi root 3572200 Sep 8 16:24 start_x.elf
root@raspberrypi:/home/pi# exit
pi@raspberrypi ~ $ touch /boot/foobar
pi@raspberrypi ~ $ rm /boot/footer
pi@raspberrypi ~ $
You seem to be suggesting that I am claiming that using said mount option somehow magically changes it into a full Unix filesystem with Unix filesystem semantics.pluggy wrote:Try a chmod or chown and it illustrates the depths of the illusion....