Question Mark (?) in Permission

asked 2017-08-23 18:20:59 +0300

ajisht2 gravatar image

I formatted my sd card to ext4 and managed to set the permissions and owner, group as needed using chown and chmod. The card can now be accessed as I wish.

I gave all permissions to owner (nemo), group (nemo) and others for a folder so that it can be accesed and written from android apps (drwxrwxrwx).

Still the permission of files I write using android apps are -rw------- (owner-10095, group-10095) and these filescan not be played in android video/music players.

I also noticed some files with permission ?rwxrwxrwx. But I didn't notice any other problems with those files.

edit retag flag offensive close delete

Comments

2

use stat

coderus ( 2017-08-23 18:58:27 +0300 )edit

i am not too good in these codes.

what is stat used for? how to use it?

ajisht2 ( 2017-08-23 21:04:00 +0300 )edit

i mean check permissions with stat, it will give you exact answer which permissions file have

coderus ( 2017-08-23 21:15:20 +0300 )edit

It is used like stats filename or stats dirname. Maybe take a look at https://stackoverflow.com/questions/541533/only-questionmarks-in-linux-dirlisting for further clarification.

fl0rp ( 2017-08-24 01:36:50 +0300 )edit