World: r3wp
[Linux] group for linux REBOL users
older newer | first last |
Fork 13-Oct-2010 [3963x2] | Reposted from other conversations... read-only root filesystem article: http://www.guciek.net/en/articles/read_only_root_filesystem |
Process freezer that does not require root privileges, CryoPID... useful! http://cryopid.berlios.de/ | |
amacleod 13-Oct-2010 [3965] | I just tried out "tiny linux core" (11 megs). Boots in seconds, installs in a minute (frugal), and runs rebol view out of the box.... Includes simple desktop...pretty cool Great for kiosk/appliance devices running rebol apps |
james_nak 10-Nov-2010 [3966] | I thought one or more of you gurus would have some advice. I'm trying to back up a website via ftp to move all the files to another server. Some of the files have owner "apache" and won't let me move them. There are a lot of those files in various directories. Not being a linux guy, is there an easy way to chown a whole directory with subdirectories of files? |
Maxim 10-Nov-2010 [3967x3] | chown -R src dest and if you can use scp or rcp (depending on your setup) to copy your files over, it should be less hassle than ftp which often has many issues with stranger filenames and permissions. on one server, for example, a file was created with ftp, which is a legal (albeit twisted) path, but it cannot be access or deleted from that same ftp access, because the path gets mangled when it goes through the url path parser of that ftp server. also unless both source and destination ftp servers are the same, you can have other nasties. its always best (and much faster) to gzip your whole directory and copy over one file, and then unpack it on the other server (you also get a free backup ;-) |
ahh... ignore the dest argument... I got mixed up with rcp in my head ;-) | |
also note that you should not use * when specifying folders with -R cause it *might* ignore "." folders and files. (ex: .profile, .login, .svn, etc) | |
james_nak 10-Nov-2010 [3970] | Thanks Maxim. I use Putty to access the server though I use it so infrequently that each time is like a new experience. I appreciate your help. |
Maxim 10-Nov-2010 [3971] | putty comes with an scp file xfer utility. I'd recommend using that instead of ftp... its really easy to use... just look in the docs everything is there. this also has the advantage that you're not sending your password in clear text over the web (which ftp gladly does for you :-) |
james_nak 10-Nov-2010 [3972x2] | Thanks again. You make it sound like it's easy :-) |
BTW, if I log in as root do you think I have to even worry about chowning? | |
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 [4012] | 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. |
older newer | first last |