![]() |
Fremantle/N900 - Problems with MADDE installed with root
Hi all its been a while.
Possible noob problem here, but im taking the risk, I don't want to break anything! I'm fairly new at linux, I had been using MADDE very successfully when i was running ubuntu 9.10 straight from HD on my PC I was just running through some simple things using Qt and sending them to the device, familiarizing myself as I've not used C++ for about a million years. I have upgraded my PC however, and as I'm a game-a-holic, have windows running now, with VMware running Ubuntu. Code:
neil@neil-desktop:~$ mad-admin create fin -a 192.168.2.100 I checked permissions and apparrently owner of "/home/neil/.madde/" (amongst other things madde needs) has been created by root, thus root is owner and i'm guessing the mad-admin command can't access it. I've tried: Code:
neil@neil-desktop:~$ sudo mad-admin create fin -a 192.168.2.100 So I guess the question is, how do I fix this? Delete everything MADDE related and reinstall? Or would i be able to just reinstall madde over the top of everything? I'm guessing i need root permission to overwrite the dirs/files and the same thing would happen.. possibly chown everything to myself? Any helps appreciated. |
Re: Fremantle/N900 - Problems with MADDE installed with root
Quote:
|
Re: Fremantle/N900 - Problems with MADDE installed with root
Quote:
However, that is an awesome plan! Dunno why i didnt think of that :confused: Gonna download now |
Re: Fremantle/N900 - Problems with MADDE installed by root
Code:
sudo chown -R neil: /home/neil/.madde |
Re: Fremantle/N900 - Problems with MADDE installed by root
The command not found looks like a PATH issue when your sudo gets its root shell. Updating the root profile /root/.bash_profile to set the PATH variable would fix that. Also, giving an absolute path to mad-admin in the sudo command would work as well.
PATH=/home/neil/bin:$PATH;export PATH My vote would be to fix the permissions. You can do that with a recurisve chown(chown -R neil /home/neil) |
Re: Fremantle/N900 - Problems with MADDE installed by root
Thanks guys, i love the fact its taken just over half an hour to fix this
i did Code:
sudo chown -R neil /home/neil/.madde Code:
neil@neil-desktop:~$ mad-admin create fin -a 192.168.2.100 it appears to be working fine now As I said i wasnt sure if i could do that without breaking anything etc., it seems to be okay thus far. Thanks again! |
All times are GMT. The time now is 09:24. |
vBulletin® Version 3.8.8