chmod issue

JB Data31 jbdata31 at gmail.com
Sat Jun 15 12:19:55 UTC 2019


*/sdcard* is *noexec* mounted. I move my env to */data/loca*l and *chmod*
works.

@*JB*Δ <http://jbigdata.fr/jbigdata/index.html>



Le ven. 14 juin 2019 à 15:12, JB Data31 <jbdata31 at gmail.com> a écrit :

> attribute seems to be the cause.
> a similar test on linux:
> $ lsattr test_chmod
> --------------e--- test_chmod
> $ sudo chattr =a test_chmod
> $ lsattr test_chmod
> -----a------------ test_chmod
> $ ll test_chmod
> -rw-rw-r-- 1 12 23 0 Jun 14 14:35 test_chmod
> $ sudo chmod u+x test_chmod
> chmod: changing permissions of 'test_chmod': Operation not permitted
>
> Unfortunately* e* doesn't exist on my android fs.
> Maybe you or someone else already knows the good choice in the attached
> image because it's not obvious.
>
> @*JB*
>
>
> Le ven. 14 juin 2019 à 14:31, JB Data31 <jbdata31 at gmail.com> a écrit :
>
>> Thanks Jody and Tito for yours answers.
>>
>> See attached.
>> 1/ My file system is TMPFS mount point. No problem of R/W cause I *mkdir*...
>> and directory *-rwx----* OK.
>> 2/ *lsattr* output.
>>
>> @*JB*
>>
>>
>>
>> Le ven. 14 juin 2019 à 13:14, Tito <farmatito at tiscali.it> a écrit :
>>
>>> On 6/14/19 2:54 PM, JB Data31 wrote:
>>> > Hi,
>>> >
>>> > I am a busybox user <
>>> https://forum.xda-developers.com/showthread.php?p=76410353#post76410353
>>> >.
>>> > I have a weird issue with /chmod/, cause it has no effect.
>>> > BB 1.28.3, installed to //sbin/, try several commands, search similar
>>> issue in list archive...
>>> >
>>> > See attached image.
>>> > /fileinfo/ is always rw-rw---- but /chmod/ output says -rw*x*rw----.
>>> >
>>> > Help appreciate.
>>> > @*JB*
>>>
>>> Hi,
>>> try:
>>>
>>> lsattr  lists  the  file  attributes  on  a second extended file
>>> system.  See chattr(1) for a
>>>         description of the attributes and what they mean.
>>>
>>> Hope this helps.
>>>
>>> Ciao,
>>> Tito
>>> _______________________________________________
>>> busybox mailing list
>>> busybox at busybox.net
>>> http://lists.busybox.net/mailman/listinfo/busybox
>>>
>>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.busybox.net/pipermail/busybox/attachments/20190615/f2bfcbe2/attachment.html>


More information about the busybox mailing list