/srv/irclogs.ubuntu.com/2012/01/09/#ubuntu-beginners.txt

pleia2you'll have to determine your own security strategy, but typically wordpress would only need to write to a few specific directories, so you just want to change the ownership of those directories (not all of /var/www/)00:00
benonsoftwareOk00:01
pleia2so determine where wordpress needs to write to, then "chgrp -R www-data directory/" and "chmod g+w directory"00:01
pleia2well "chmod -R g+w directory/"00:01
benonsoftwareThank you pleia200:01
pleia2a lot of people do give www-data access to their whole /var/www, but that's terrible :( if you forget to upgrade wordpress and it gets hacked with the bad guy able to use the www-data user they can now delete everything :(00:02
pleia2you want to make sure they can delete as little as possible, so give www-data only permission where it absolutely needs it, and make sure to keep good backups00:03
benonsoftwareOk :P00:04
benonsoftwareWordpress is asking me for my FTP details, is there a step-by-step guide on setting up a FTP server00:41
jalcineWhat's the format of videos that are typically television episodes?01:11
jalcinemkv? avi? mp4?01:11
jalcineDare I say ogv? :P01:11
philipballewavi01:24
=== Culaway is now known as Culiforge
Culiforgehey all, I'm running 10.04 and have not customized the gui at all (that I'm aware of :). I have this issue wherein I mouse over the ubuntu icon in the upper left corner on the taskbar and a selector/chooser of the four desktop/workspace areas is presented. It's quite annoying and I'd like to turn it off.01:46
jalcinephilipballew: Well, I want to keep the meta-data in a nice, fancy fashion. Something like Windows Media Center, you know?01:49
jalcineI've noticed there isn't such a setup for Ubuntu, perhaps to due to its friendliness with encrypted, DRM-protected discs.01:50
=== OutOfControl is now known as benonsoftware
=== benonsoftware is now known as OutOfControl
=== OutOfControl is now known as BenzBot
=== BenzBot is now known as OutOfControl
=== OutOfControl is now known as benonsoftware
JCZINGHello. I am building a TeamSpeak 3 Server on 10.04. I am trying to figure out how to have my server automatically execute the a file on startup. If I need to restart my server, I don't want to go into the console to enter the startup command every time I do. The exact file is in this location: /home/ts3user/teamspeak3-server_linux-amd64/ts3server_minimal_runscript.sh07:43
benonsoftwareJCZING: I'm not sure how to do it but maybe a cronjob?08:19
coalwaterbenonsoftware: @restart for crontab, but he's gone lol09:55
benonsoftware:P09:56
=== bladernr_afk is now known as bladernr_
=== bladernr_ is now known as bladernr_afk
=== bladernr_afk is now known as bladernr_
=== bladernr_ is now known as bladernr_afk
=== bladernr_afk is now known as bladernr_
s-foxHello.15:52
hobgoblino/15:53
coalwaterhobgoblin: \o lol16:47
coalwaterwoops wrong channel lol16:47
=== bladernr_ is now known as bladernr_afk
=== bladernr_afk is now known as bladernr_
=== bladernr_ is now known as bladernr_afk
=== OutOfControl is now known as benonsoftware
=== yofel_ is now known as yofel
=== OutOfControl is now known as benonsoftware
=== bladernr_afk is now known as bladernr_
voidmain_Is there a way to find out from the terminal whether a partition is mounted or now?22:24
Unit193Type   mount22:25
geirhaI usually run  df -h  for that22:25
voidmain_Unit193: mount tells a bunch of things but I don't know what it says22:26
Unit193That basically works too22:26
voidmain_geirha: I never realized df -h did that... ! mmmm ok22:27
voidmain_ok thank you Unit193 and geirha22:34
Unit193Sure, have a nice evening!22:34
voidmain_you too...22:34
voidmain_by the way, yesterday, somebody wanted to connect to my computer. Is there a way to report that to an op here on irc or at ubuntu to protect future people possible attacks?22:35
Unit193In this channel?22:36
voidmain_no != Unit19322:37
voidmain_it was on #ubuntu22:37
Unit193Ah, I suppose best place to ask would be #ubuntu-ops22:38
voidmain_ah ok, that's a good idea... thanks Unit19322:39
Unit193You are welcome22:40
ubuntu1hi, I am trying to kill a PID.. I did ps -ax | grep testdisk   3 process came up and I killed each and everyone of them using kill -9 yet the program is still running! Am I forgetting anything at all?23:04
geirhaOuch, don't use kill -923:06
ubuntu1oh no?23:07
ubuntu1somebody told me to do that!23:07
ubuntu1gosh! I keep doing bad stuff!!!!23:07
geirhaUse  kill 1234 2345   to kill the processes with pids 1234 and 2345. The -9 option should "never" be used.23:08
ubuntu1shit shit shit!!!!23:08
ubuntu1I keep destroying my data!~~~23:09
ubuntu1I like linux but gosh...23:09
geirhaYou probably didn't destroy any data23:10
ubuntu1I hope so...23:10
ubuntu1I was running photorec's testdisk and there was no button to exit out!!!!23:10
ubuntu1I hope I didn't make a bigger mistake than I already had23:10
ubuntu1In the last 3 months I destroyed data over 6 to 7 times.. I'm depressed maybe that's why but gosh.. my memory span is very little23:11
geirhaIt's just that  kill 1234  tells the process to please terminate, giving the process time to clean up before it exits.  kill -9 1234 just plain kills it, possibly leaving temporary files around, configfiles it was writing to may be corrupted etc23:11
ubuntu1I'm a danger but also unlucky23:11
ubuntu1ah shit!!!!23:12
ubuntu1Well! that's my freakin typical luck for you23:12
ubuntu1I would have been better off to press ctrl z23:12
ubuntu1to get out23:12
Unit193ubuntu1: Try to keep it family friendly though :)23:12
geirhaI can't say I've seen ps -ax before. I can't be bothered checking the manual about what that actually outputs. The usual options for ps is either   ps aux  or  ps -ef23:13
Unit193htop is a handy ncurses interface too, F3 to search23:13
ubuntu1no but it's deconcerting!23:13
ubuntu1htop Unit19323:14
geirhaBut, If you run   ps -ef | grep testdisk  look at the output and pick out pids of processes you want to kill, and run kill command with those pids, they should disappear23:14
ubuntu1Well thanks for telling me but it's a little bit too late23:15
ubuntu1I hope nothing happened... at least! I had checked and the drive hadn't been mounted23:15
ubuntu1if that makes  a difference23:15
geirhaI think I scared him off :(23:19

Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!