-
Notifications
You must be signed in to change notification settings - Fork 2.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Filesystem permission error: sudo not working #22
Comments
What box and which firmware is installed? What is the specific performance? Take a screenshot and give feedback about the error. |
Using a t95z plus box with S912 3/32, installed Can be reproduced by simply typing The issue can be mitigated by The error was the exact line about sudo must be owned by uid 0, no other error messages. Note: armbian is on sd card, not installed to emmc. |
Check it out and send it to me, the first time I saw this box. |
Note that I am using the s905-s912 uboot as uboot.ext (the default zyxq.bin cannot boot from sd card on this device), and it reads config from /boot/extlinux. The extlinux config has been modified to load the custom Also I have reverted back armbian/build repo to commit from a week ago, and the issue still presents. |
Run under root user:
Try if it can solve the problem. |
Example to create a new user abc:
|
Can you share your |
This indeed fixed sudo, however there seem to be a wider issue ( I compiled older commits and still no good, not sure what went wrong. /boot/extlinux/extlinux.conf
The uboot is copied from the compiled image (u-boot-s905x-s912.bin). Here is the custom dtb. USB port 1 is set to otg and not tested, other seems to be working fine (WiFi/1Gbe/etc.) |
There are multiple varients of t95z plus with different 1Gbe nic and wireless card, so this dtb file will not work for all devices. |
I am still trying to figure out what has changed between today's image and a few days ago's. Even after I cloned the older commit (both this repo and armbian/build) the output image still cannot Also systemctl is not working as expected (after using chown and chmod to fix
Seems the filesystem permission is kinda broken to me. |
According to user feedback from |
My packaging just changed the official img file of 1 partition into 2 partitions. |
Yes, but |
Without |
I pulled 6593d77, which fixed Still not sure why this is happening, and if there are any more permission fix needed. |
Add your user to the root group: |
This does not sound very safe to me. After fixing |
This permission modification is safe. already added. |
Fixed all issues I have encountered so far! Thanks |
LGTM. The t95z image is working flawlessly. I don't use this box for openwrt, but I would guess the modification is required for openwrt too. |
You are the first friend to use this device. If you are free, I hope to help me test whether the current OpenWrt of s912 can be started in the usb on your device. If it can't start, you can try to modify the boot file of OpenWrt according to the modification method of armbian, and test whether it can be booted in usb. |
This seems have been broken again, and even more errors about sudo permissions. |
Nevermind, I downloaded the wrong file. |
@NewbieOrange |
@ophub No, but it is modified based on decompiled source from meson-gxm-octopus-planet.dtb. Decompile both and compare will show the changes I made. |
大神的能写入emmc吗?我用了你的dtb网卡无线都正常,就是无法写入emmc我的是t95z max型号 |
@392377870 没试过emmc |
从安卓中提取的dts有办法适配到armbian中不? |
The latest version (11.14 buster) seems to break some files permission, not sure if this is from upstream (armbian).
Older version works fine (11.06 buster).
The text was updated successfully, but these errors were encountered: