On 06/10/2014 04:32 AM, Stefan Fischer wrote: > Hi, > > When I create a symlink, it seems to inherit the context of the > containing folder. I have trouble changing the selinux context of this > symlink later. > It is not possible to change the context by chcon because of the missing > option (-h) for symlinks. > I have built the selinux library and have access to the function > lsetfilecon with the result "Operation not supported on transport > endpoint" (lgetfilecon leads to the same error). > > Is the context change of symlink not supported in seandroid? How can I > set the context on creating a symlink? > > Thanks, best regards
lgetfilecon/lsetfilecon should work. What filesystem are you doing this on? You cannot set security contexts on the rootfs without a kernel patch, only on the ext4 filesystems like /system, /cache, and /data. _______________________________________________ Seandroid-list mailing list [email protected] To unsubscribe, send email to [email protected]. To get help, send an email containing "help" to [email protected].
