chmod issue

JB Data31 jbdata31 at gmail.com
Fri Jun 14 15:12:00 UTC 2019


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/20190614/278cfbbb/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 2019_06_14_16.50.52-0.jpg
Type: image/jpeg
Size: 100736 bytes
Desc: not available
URL: <http://lists.busybox.net/pipermail/busybox/attachments/20190614/278cfbbb/attachment-0001.jpg>


More information about the busybox mailing list