Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
HOWTO - execute permissions in NTFS storage (useful to change ROMS folder)
#1
sample fstab that will give you permission to execute files on an NTFS partition.

/dev/mmcblk0p3 / ext4 defaults,noatime,nodiratime,commit=600,errors=remount-ro 0 1
tmpfs /tmp tmpfs defaults,nosuid 0 0
/dev/mmcblk0p1 /boot vfat defaults 0 1
/dev/mmcblk0p2 /mnt/oe ext4 defaults 0 1
/dev/sda1 /media/pi/mystuff ntfs-3g nofail,auto,user,uid=1000,gid=1000,exec,permissions,noatime,nodiratime,commit=600 0 0
/var/swap none swap sw 0 0

Bonus for mac users
Suppress creation of ._ files when transferring from mac to pi:

sample smb.conf (only file sharing section shown):

[music]
comment = music
path = /home/pi/RetroPie/music
writeable = yes
guest ok = yes
create mask = 0644
directory mask = 0755
force user = pi
veto files = /._*/.DS_STORE/ delete veto files = yes

[roms]
comment = roms
path = "/home/pi/RetroPie/roms"
writeable = yes
guest ok = yes
create mask = 0644
directory mask = 0755
force user = pi
veto files = /._*/.DS_STORE/ delete veto files = yes

[bios]
comment = bios
path = "/home/pi/RetroPie/BIOS"
writeable = yes
guest ok = yes
create mask = 0644
directory mask = 0755
force user = pi
veto files = /._*/.DS_STORE/ delete veto files = yes

[configs]
comment = configs
path = "/opt/retropie/configs"
writeable = yes
guest ok = yes
create mask = 0644
directory mask = 0755
force user = pi
veto files = /._*/.DS_STORE/ delete veto files = yes

[splashscreens]
comment = splashscreens
path = "/home/pi/RetroPie/splashscreens"
writeable = yes
guest ok = yes
create mask = 0644
directory mask = 0755
force user = pi
veto files = /._*/.DS_STORE/ delete veto files = yes

[downloads]
comment = downloads
path = "/home/pi/Downloads"
writeable = yes
guest ok = yes
create mask = 0644
directory mask = 0755
force user = pi
veto files = /._*/.DS_STORE/ delete veto files = yes
Reply
#2
Thanks, i'm pinning this
Reply
#3
To add to this, if you use usbmount and have problems with permissions (when doing save states) you can do this

modify /etc/usbmount/usbmount.conf and add this line

FS_MOUNTOPTIONS="-fstype=vfat,umask=0000"

this is for FAT32 but I assume it will work for others, just use the correct fstype.
Reply


Possibly Related Threads...
Thread Author Replies Views Last Post
Question HOWTO - GPIO Controller ericktarzia 18 6,850 10-15-2017, 12:28 AM
Last Post: hessamghani
  HOWTO - Dreamcast reconfigure controls - Reicast alexkidd 7 4,468 10-07-2017, 04:49 PM
Last Post: Fulmore
  HOWTO - eMMC install script for Ropi Harryzimm 30 10,771 08-10-2017, 07:24 AM
Last Post: Lamerjack
  HOWTO - display from 3.5mm/RCA CVBS audio/video alexkidd 18 12,036 07-20-2017, 05:09 PM
Last Post: lesshiy
  HOWTO install C library for GPIO and Example Shutdown system with a GPIO button Spirax 1 766 06-19-2017, 11:34 AM
Last Post: alexkidd
  HOWTO upgrade system without crash it with sudo apt-get upgrade Spirax 1 808 06-08-2017, 10:24 AM
Last Post: alexkidd
  HOWTO - Run some ROMs from network share (per emulator) chupo_cro 9 2,191 05-18-2017, 10:35 PM
Last Post: chupo_cro
  HOWTO - Using DPad as analog control (N64 emulation) alexkidd 8 3,711 04-11-2017, 08:04 PM
Last Post: alexkidd
  HOWTO: Set time from RetroPie Menu Sikotik 0 1,191 12-19-2016, 02:09 AM
Last Post: Sikotik
  HOWTO - Can't run MAME / NEOGEO roms ? Check this thread. alexkidd 3 4,828 11-08-2016, 05:55 PM
Last Post: giujb

Forum Jump:


Users browsing this thread: 1 Guest(s)