Skip to content
Snippets Groups Projects
Commit 6e762d1c authored by Francesco Pham's avatar Francesco Pham
Browse files

openharmony-preinit: /dev/ashmem needs to be rw for all users


A wrong permission mode causes ActsAppdatamagrJsTest ACTS test suite to 
fail because it fails to open /dev/ashmem due to a "Permission denied" error. 
Changing permission to /dev/ashmem: "chmod 666 /dev/ashmem" because 
it needs to be rw for all users.

Signed-off-by: default avatarFrancesco Pham <francesco.pham@huawei.com>
parent fcccffdf
No related branches found
No related tags found
1 merge request!88openharmony-standard-3.0: add patches and initialization changes to fix ACTS failures
......@@ -77,8 +77,9 @@ mkdir -p /usr/lib/dri
chmod -R 777 /data
# /dev/binder needs to be rw for all users
# /dev/binder and /dev/ashmem need to be rw for all users
chmod 666 /dev/binder
chmod 666 /dev/ashmem
# /dev/dri/card0 needs to be rw for all users
if [ -c /dev/dri/card0 ]; then
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment