- The permission of Directories is changed to 777
- The permission of Files is changed to 666
- The change is just for user session daemons, and it will
be fixed to the better manner later.
Change-Id: Ic73979d85037f8cf59e54461ae882d6ac526f68d
Signed-off-by: Taeyoung Kim <ty317.kim@samsung.com>
MOUNT_DIRECTORY=$1
find $MOUNT_DIRECTORY -type d | xargs chsmack -a '*' -t
find $MOUNT_DIRECTORY -type f | xargs chsmack -a '*'
-find $MOUNT_DIRECTORY -type d | xargs chmod 770
-find $MOUNT_DIRECTORY -type f | xargs chmod 660
+find $MOUNT_DIRECTORY -type d | xargs chmod 777
+find $MOUNT_DIRECTORY -type f | xargs chmod 666
find $MOUNT_DIRECTORY -type d | xargs chown root:priv_externalstorage
find $MOUNT_DIRECTORY -type f | xargs chown root:priv_externalstorage
#define FS_VFAT_NAME "mkdosfs"
/* guid 10001 - group priv_externalstorage */
-#define FS_VFAT_MOUNT_OPT "uid=0,gid=10001,dmask=0007,fmask=0117,iocharset=iso8859-1,utf8,shortname=mixed"
+#define FS_VFAT_MOUNT_OPT "uid=0,gid=10001,dmask=0000,fmask=0111,iocharset=iso8859-1,utf8,shortname=mixed"
static const char *vfat_arg[] = {
"/usr/bin/newfs_msdos",