|
|
@ -149,6 +149,7 @@ status_t PublicVolume::doMount() {
|
|
|
|
if (execl(kFusePath, kFusePath,
|
|
|
|
if (execl(kFusePath, kFusePath,
|
|
|
|
"-u", "1023", // AID_MEDIA_RW
|
|
|
|
"-u", "1023", // AID_MEDIA_RW
|
|
|
|
"-g", "1023", // AID_MEDIA_RW
|
|
|
|
"-g", "1023", // AID_MEDIA_RW
|
|
|
|
|
|
|
|
"-U", std::to_string(getMountUserId()).c_str(),
|
|
|
|
"-w",
|
|
|
|
"-w",
|
|
|
|
mRawPath.c_str(),
|
|
|
|
mRawPath.c_str(),
|
|
|
|
stableName.c_str(),
|
|
|
|
stableName.c_str(),
|
|
|
@ -159,6 +160,7 @@ status_t PublicVolume::doMount() {
|
|
|
|
if (execl(kFusePath, kFusePath,
|
|
|
|
if (execl(kFusePath, kFusePath,
|
|
|
|
"-u", "1023", // AID_MEDIA_RW
|
|
|
|
"-u", "1023", // AID_MEDIA_RW
|
|
|
|
"-g", "1023", // AID_MEDIA_RW
|
|
|
|
"-g", "1023", // AID_MEDIA_RW
|
|
|
|
|
|
|
|
"-U", std::to_string(getMountUserId()).c_str(),
|
|
|
|
mRawPath.c_str(),
|
|
|
|
mRawPath.c_str(),
|
|
|
|
stableName.c_str(),
|
|
|
|
stableName.c_str(),
|
|
|
|
NULL)) {
|
|
|
|
NULL)) {
|
|
|
|