Wrong premission after SD card formated by native Storage app to ext4 [released]

Tracked by Jolla (In release)

asked 2016-07-20 23:11:37 +0200

czdosi gravatar image

There is new Storage app (module in Settings) in Sailfish 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 .
edit retag flag offensive reopen delete

The question has been closed for the following reason "released in a software update" by alain
close date 2016-12-01 16:28:29.500120



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 )edit

Noticed it aswell. Hope it gets fixed :-)

Swl ( 2016-07-21 01:22:27 +0200 )edit

Same here ...

AkiBerlin ( 2016-07-21 12:33:53 +0200 )edit

The 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 )edit

I 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