r3wp [groups: 83 posts: 189283]
  • Home
  • Script library
  • AltME Archive
  • Mailing list
  • Articles Index
  • Site search
 

World: r3wp

[Linux] group for linux REBOL users

Maxim
10-Nov-2010
[3974x3]
some newer Linuxes have an improved security model which I don't 
reallly know anything about, but for simple file access within data 
directories, you will have no problems with root.
(as long as you're just doing things locally)
but remember that if you xfer files to another unix and the user/group 
ids don't exist, you will have to do a chown on the other system 
(unless everything runs as root then, hey who cares right ?  ;-)
james_nak
10-Nov-2010
[3977]
I see, I hope the application doesn't care. Thanks. I'm checking 
it out right now.
Maxim
10-Nov-2010
[3978]
obviously if possible *never* run services as root !
james_nak
10-Nov-2010
[3979]
Oh, I mean if later the php app cares whether or not a file is owned 
by a different user.
Maxim
10-Nov-2010
[3980]
yes, obviously, a chmod is also very important


chown -R   for data should work without problems and its a good thing 
to do.
Anton
11-Nov-2010
[3981]
Before mucking with a recursive chown, I would recursively list your 
files and save into a file, eg:
$ ls -lR > listedfiles
(that first option is a lowercase L ).

Then later if you are worried about having blasted some particular 
permissions, you just refer to listedfiles.
james_nak
11-Nov-2010
[3982]
Thanks Anton. That's a wise move as well.
shadwolf
11-Nov-2010
[3983]
sorry if it sounds arch but altme for linux  is unreadable .... fonts 
are awfull
GrahamC
11-Nov-2010
[3984]
That's why some people run Wine on Linux
Maxim
11-Nov-2010
[3985]
I though people just whine on linux    ;-)
Oldes
12-Nov-2010
[3986]
You can try this on Debian:  apt-get install msttcorefonts
Robert
30-Nov-2010
[3987]
For all Linux gurus:
- I have a xen disk image file
- I want to mount it to read-back some files from it

How to do this? I have tried some stuff but...

- It seems that the images might have some problems

Is there a way to rescue a disk image?
Izkata
30-Nov-2010
[3988]
Standard command for mounting an image is really all I know - the 
type of disk image might be detected automatically:
mount -o loop Image Point/
Robert
30-Nov-2010
[3989]
It really looks, that I have lost the data in the image... :-( I 
can't mount nor re-create a partition table.
Andreas
30-Nov-2010
[3990x4]
Is the image containing a single partition or a partitioned virtual 
disk?
If it is a single partition, loop-mounting it as Izkata already mentioned 
should suffice.
If it is a full disk, you'll need to mount the proper partition within 
the disk. There are various approaches possible, depending on your 
actual scenario. You could loop-mount with an offset, if you now 
your disk layout fairly well. Alternatively, use losetup to set up 
a loop device bound to the disk image. Then use kpartx to have the 
kernel read the partition table from this new device and map the 
partitions to their own devices. Finally mount the device corresponding 
to the partition you want to access.
Depends a bit on the details. Feel free to contact me privately.
Robert
1-Dec-2010
[3994]
It's just one partition. The problem is that I can't mount it, as 
the file-structure is damaged. I tried to extract meaningful file 
parts but no luck. I already spent to much time on it. We throw it 
away as we have the data locally and now need to find a way how to 
restore our AltMe content.
TimW
1-Jan-2011
[3995]
Just curious, what is the status of the rebol 3 vid for linux?  I 
would think the wiki would show the status, but I couldn't find it.
Ladislav
1-Jan-2011
[3996]
There is no "rebol 3 vid for linux", Rebol 3 VID is not OS-specific
TimW
1-Jan-2011
[3997]
Well, I more meant the gui system for linux is not implemented so 
you can't use vid yet.
BrianH
1-Jan-2011
[3998]
I think he wants a publicly available Linux build of R3 with the 
GUI parts included :)
TimW
1-Jan-2011
[3999]
yeah  :).  I'm tired of testing things using wine and the windows 
build.
Andreas
1-Jan-2011
[4000x2]
As far as I know, the "View" parts of the hostkit have not yet been 
ported to Linux.
(The R3 Host Kit, that is.)
Robert
2-Jan-2011
[4002]
IIRC there exists a command different from FIND that will print all 
absolut file locations for a given filename. Any idea?
Andreas
2-Jan-2011
[4003x2]
readlink(1), maybe?
locate(1), maybe?
Robert
2-Jan-2011
[4005]
LOCATE was it... Thanks.
amacleod
20-Jan-2011
[4006]
Just installed Zorin 4 (ubuntu based) and i'm having trouble getting 
R3 running. I assume I run it from the terminal  but I get "commnad 
not found" error. Anyone know what I'm not doing?
Henrik
20-Jan-2011
[4007]
probabily you need to add ./ in front of the command name
amacleod
20-Jan-2011
[4008]
thanks henrik!
Robert
25-Feb-2011
[4009x2]
Anyone using Dovecot IMAP mailserver here? I need to know if I can 
delete files on the filesystem from the mailbox dirs without bombing 
the mailserver. I have a couple of duplicate files I need to get 
rid of.
Ok, Thunderbird and a plug-in is your friend.
GrahamC
25-Feb-2011
[4011]
I've setup dovecot twice ... but am not using it now.
Andreas
26-Feb-2011
[4012x5]
gcc 3.4 first appeared in debian sarge (debian 3.1), afaict. if he's 
using anything older (woody, potato), he'll be out of luck.
and if what he really needs is gcc 4.x, that first appeared in debian 
etch (debian 4.0).
http://archive.debian.net/search?suite=all&arch=powerpc&searchon=names&keywords=gcc
for your convenience, here's an archive.debian.org apt sources line 
for etch:

deb http://archive.debian.org/debian/etch main non-free contrib
(for carl's convenience, rather :)
BrianH
2-Mar-2011
[4017x3]
Just redid my netbook with Ubuntu Netbook 10.10, and it works much 
better than in did with WinXP. Had to partition manually as the tweak 
to make the installer SSD friendly is still a proposal. R2 and R3 
work, though (as someone used to the Windows versions) I am having 
trouble with the console not opening a terminal when prompted to. 
I guess the button in the R2 View desktop doesn't work. Time to figure 
out the application shortcut creation method for this distro.
Yes, I'm aware of the irony that of all the things I could have trouble 
with, it would turn out to be the console that works better on Windows 
:(
Going to try AltME next. Are there any known problems with using 
the 1.2.21 Linux version? I seem to have no font problems in View...
Andreas
2-Mar-2011
[4020x2]
1.2.25 works fine here.
Regarding the console, fire up REBOL directly from a terminal and 
you'll be fine.
BrianH
2-Mar-2011
[4022x2]
The main problem is that the netbook versions of Linux are more GUI 
oriented, so the question is how to open REBOL by clicking on it.
Do we need to get debs in the multiverse repositories?