[prev in list] [next in list] [prev in thread] [next in thread]
List: busybox
Subject: Re: chmod issue
From: JB Data31 <jbdata31 () gmail ! com>
Date: 2019-06-15 12:19:55
Message-ID: CA+PN=MwkQR4SB4_pAOwHFDUYpqjUR7krM3fNEUBHQyyVrtMCpg () mail ! gmail ! com
[Download RAW message or body]
[Attachment #2 (multipart/alternative)]
*/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@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@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@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@busybox.net
>>> http://lists.busybox.net/mailman/listinfo/busybox
>>>
>>
[Attachment #5 (text/html)]
<div dir="ltr"><div><i>/sdcard</i> is <b>noexec</b> mounted. I move my env to \
<i>/data/loca</i>l and <i>chmod</i> works.</div><div><br></div><div><div><div><div \
dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><div \
dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div \
dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><span \
style="font-family:comic sans ms,sans-serif"><span \
style="font-family:arial,helvetica,sans-serif"><font \
size="1">@</font></span><b>JB</b><span \
style="font-family:arial,helvetica,sans-serif"><a \
href="http://jbigdata.fr/jbigdata/index.html" target="_blank"><font \
size="1">Δ</font></a></span></span><br><br></div></div></div></div></div></div></div> \
</div></div></div></div></div></div></div></div></div></div><br></div></div></div><br><div \
class="gmail_quote"><div dir="ltr" class="gmail_attr">Le ven. 14 juin 2019 Ã \
15:12, JB Data31 <<a href="mailto:jbdata31@gmail.com">jbdata31@gmail.com</a>> a \
écrit :<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px \
0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div \
dir="ltr"><div>attribute seems to be the cause.</div><div>a similar test on \
linux:</div><div><span style="font-family:courier new,monospace">$ lsattr \
test_chmod<br>--------------e--- test_chmod<br>$ sudo chattr =a \
test_chmod<br></span></div><div><span style="font-family:courier new,monospace">$ \
lsattr test_chmod<br>-----a------------ test_chmod<br>$ ll test_chmod<br>-rw-rw-r-- 1 \
12 23 0 Jun 14 14:35 test_chmod<br>$ sudo chmod u+x test_chmod<br>chmod: changing \
permissions of 'test_chmod': Operation not \
permitted<br></span></div><div><span style="font-family:courier \
new,monospace"><br></span></div><div>Unfortunately<b> e</b> doesn't exist on my \
android fs.</div><div>Maybe you or someone else already knows the good choice in the \
attached image because it's not \
obvious.<br></div><div><br></div><div><div><div><div dir="ltr" \
class="gmail-m_1699028229803099213gmail_signature"><div dir="ltr"><div><div \
dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div \
dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><span style="font-family:comic sans \
ms,sans-serif"><span style="font-family:arial,helvetica,sans-serif"><font \
size="1">@</font></span><b>JB</b><span \
style="font-family:arial,helvetica,sans-serif"></span></span><br><br></div></div></div \
></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div><br><div \
> class="gmail_quote"><div dir="ltr" class="gmail_attr">Le ven. 14 juin 2019 Ã \
> 14:31, JB Data31 <<a href="mailto:jbdata31@gmail.com" \
> target="_blank">jbdata31@gmail.com</a>> a écrit :<br></div><blockquote \
> class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid \
> rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div>Thanks Jody and Tito for \
> yours answers.</div><div><br></div><div>See attached.</div><div>1/ My file system \
> is TMPFS mount point. No problem of R/W cause I <i>mkdir</i>... and directory \
> <i>-rwx----</i> OK.<br></div><div>2/ <i>lsattr</i> \
> output.<br></div><div><br></div><div><div><div dir="ltr" \
> class="gmail-m_1699028229803099213gmail-m_8031866986869081008gmail_signature"><div \
> dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div \
> dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><span \
> style="font-family:comic sans ms,sans-serif"><span \
> style="font-family:arial,helvetica,sans-serif"><font \
> size="1">@</font></span><b>JB</b><span \
> style="font-family:arial,helvetica,sans-serif"></span></span><br><br></div></div></d \
> iv></div></div></div></div></div></div></div></div></div></div></div></div></div></div><br></div></div><br><div \
> class="gmail_quote"><div dir="ltr" class="gmail_attr">Le ven. 14 juin 2019 Ã \
> 13:14, Tito <<a href="mailto:farmatito@tiscali.it" \
> target="_blank">farmatito@tiscali.it</a>> a écrit :<br></div><blockquote \
> class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid \
> rgb(204,204,204);padding-left:1ex">On 6/14/19 2:54 PM, JB Data31 wrote:<br>
> Hi,<br>
> <br>
> I am a busybox user <<a \
href="https://forum.xda-developers.com/showthread.php?p=76410353#post76410353" \
rel="noreferrer" target="_blank">https://forum.xda-developers.com/showthread.php?p=76410353#post76410353</a>>.<br>
> I have a weird issue with /chmod/, cause it has no effect.<br>
> BB 1.28.3, installed to //sbin/, try several commands, search similar issue in \
list archive...<br> > <br>
> See attached image.<br>
> /fileinfo/ is always rw-rw---- but /chmod/ output says -rw*x*rw----.<br>
> <br>
> Help appreciate.<br>
> @*JB*<br>
<br>
Hi,<br>
try:<br>
<br>
lsattr lists the file attributes on a second extended file system. See \
chattr(1) for a<br> description of the attributes and what they mean.<br>
<br>
Hope this helps.<br>
<br>
Ciao,<br>
Tito<br>
_______________________________________________<br>
busybox mailing list<br>
<a href="mailto:busybox@busybox.net" target="_blank">busybox@busybox.net</a><br>
<a href="http://lists.busybox.net/mailman/listinfo/busybox" rel="noreferrer" \
target="_blank">http://lists.busybox.net/mailman/listinfo/busybox</a><br> \
</blockquote></div> </blockquote></div>
</blockquote></div>
_______________________________________________
busybox mailing list
busybox@busybox.net
http://lists.busybox.net/mailman/listinfo/busybox
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic