Wrong premission after SD card formated by native Storage app to ext4 [released]
There is new Storage app (module in Settings) in Sailfish 2.0.2.43 which comes with Jolla C. It allows user to format unformated SD card to ext4. It works nicely, but after the SD is formated, you can't write to it because permissions are set to root:root.
Fix (on empty SD -- only dir "lost+found" is there):
cd /media/sdcard/<SD MOUNT>/
chown nemo:nemo .
Confirmed, had to change permissions manually. By the way, was it only me, or it's impossible to format an exFAT-formatted card to ext4 from the Storage settings?
Giacomo Di Giacomo ( 2016-07-21 00:28:12 +0200 )editNoticed it aswell. Hope it gets fixed :-)
Swl ( 2016-07-21 01:22:27 +0200 )editSame here ...
AkiBerlin ( 2016-07-21 12:33:53 +0200 )editThe nemo user has an odd UID: 100000, which might be awkward if you move the card to your PC or something else. I'm not an expert on posix permission propagation, but would leaving it as root, but changing the dir permissions to 777 make it a bit more portable?
Andy Branson ( 2016-07-21 17:29:02 +0200 )editI formatted the SD card using mkfs.ext4, mounted it using the new memory option in settings and had to change owner and group to root:users with permissions 774 for /media/sdcard/BLKID
Formatting the previous xfs filesystem on the card somehow didn't work with the memory settings tool. Journalctl didn't output anything useful for that operation unfortunately
gnuheidix ( 2016-07-24 13:59:39 +0200 )edit