Tiny Core Linux
dCore Import Debian Packages to Mountable SCE extensions => dCore X86 => Topic started by: yoshi314 on January 22, 2016, 02:01:38 PM
-
It seems that sudo lacks +s in current release (the dcoreplus iso) , so i can barely do anything.
-
Uploading a new RC with /usr/bin/sudo permission fix.
-
I am actually still hitting this. It seems to happen 80% of the time.
One thing worth mentioning is that it tends to break more often when i clean up the setup on usb (leave only the kernel + initrd). I worked it around through bootlocal.sh.
Also, when this happens the backup script must be ran through sudo. Not sure if that's the new required way of running it.
-
tc-config takes care of the suid root of /usr/bin/sudo, and I have never seen this problem myself. And I have never had to use sudo for the backup command.
But I did reset /usr/bin/sudo itself to suid root in the latest RC. But tc-config was taking care of that as well as user/group/perms of other things.
-
I see that filetool.sh -b executed by normal user gives
sed: can't create temp file '/opt/.filetool.lstRuJSZ9': Permesso negato
but mydata is created
-
Ok, that is due to permission issues of /opt. The perms are good in the base image, but I have added in tc-config for during boot and in filetool.sh the setting of the proper owner/perms of /opt. In case the the attributes get changed during a running session.
We have seen this before a time or two, and hopefully now is prevented.
-
In dCore-wily the backup command was working fine until latest update:
You are running dCore-wily:2016.06.17.19.28, the latest release candidate.
tc@box:~$ backup
Backup device is set to: sda1/tce
Perform backup now? (y/N) y
chown: /opt: Operation not permitted
chmod: /opt: Operation not permitted
Backing up files to /mnt/sda1/tce/mydata.tgz
Done.
Think backup still performed, just the error output's new. Have not yet had a chance to update and check dCore-jessie.
-
I see what it is, will fix it tonight.
-
Backup works well again in dCore-wily, thanks.