shm: Make default perm u+rw g+r for shm area

This commit is contained in:
Olivier Crête 2011-03-31 16:21:11 -04:00
parent 6edcf4fbe6
commit e30451a0c3

View file

@ -56,7 +56,8 @@ struct GstShmClient
#define DEFAULT_SIZE ( 256 * 1024 )
#define DEFAULT_WAIT_FOR_CONNECTION (TRUE)
#define DEFAULT_PERMS (S_IRWXU | S_IRWXG)
/* Default is user read/write, group read */
#define DEFAULT_PERMS ( S_IRUSR | S_IWUSR | S_IRGRP )
GST_DEBUG_CATEGORY_STATIC (shmsink_debug);