2,703 reputation
103041
bio website gareth.com.au
location Netherlands
age 40
visits member for 5 years, 5 months
seen Aug 23 at 22:31

There is no excellent beauty that hath not some strangeness in the proportion. - Sir Francis Bacon (1561 - 1626)


Oct
16
comment What permissions should my website files/folders have on a Linux webserver?
Also see What's the best way of handling permissions for apache2's user www-data in /var/www?
Jun
27
comment Centos 6 yum update - Packages skipped because of dependency problems
The yum clean all was the missing step. Thanks.
May
30
comment Is there no way to preserve permissions on sftp?
Ok. 'Limits' permissions. Yep. Hmmmmm. So other than a cron job or manually changing the file permissions to group read/write there's nothing else to be done? Seems less than optimal.
May
30
comment Is there no way to preserve permissions on sftp?
What do you mean umask doesn't set permissions? -u 0002
May
30
comment Is there no way to preserve permissions on sftp?
The client shouldn't be able to alter server side umask properties.
May
25
comment What's the best way of handling permissions for apache2's user www-data in /var/www?
Current as of 2012-05-25 This is still the best way to do it. Marking as correct answer even though @Zoredache had the original solution but this is more verbose.
Aug
23
comment Can you explain exporting and then importing ProgreSQL using phpPgAdmin? (And what's with permissions?)
And three months later I'd just like to point out how frigging stupid this is. MySQL is as bad. Merging users/permissions is teh suck. Fail db gods, fail.
Aug
3
comment How does one find which files are taking up 80% of the space on a Linux webserver?
Perfect. Brilliant interface and the ability to manipulate files from within the programme. Cheers!
Jul
21
comment How does one find which files are taking up 80% of the space on a Linux webserver?
Yeah, similar to what I just mentioned in @Marie Fischer's answer. Why use the -k (block size) though rather than -h for human?
Jul
21
comment How does one find which files are taking up 80% of the space on a Linux webserver?
Yeah. I do pretty much the same thing "du -S | sort -n -r |less". I really would love to see a programme that looked like htop and cron'd like mlocate but when ran gave you accurate and contemporary info about the files on your system.
Jul
11
comment Suggestions for entries in a sysadmins .vimrc
I've just played with a bunch of these and there's a lot more to investigate with the vim config you listed but it fits my expectation of sane defaults and useful features. Not sure how a community wiki lets me vote as 'answered' but anyhoo. Thanks!
Jun
10
comment How can I export the privileges from MySQL and then import to a new server?
The db 'mysql' was accessible from the Cpanel WHM if I logged in as 'root'. From there I can access a version of phpmyadmin which has the 'mysql' database containing permissions
Jun
9
comment How can I run Debian stable but install some packages from testing?
I'm not sure how to reply to you @Raphael. It seems a very elegant way of doing things. I've used apt pinning before years ago but I never really 'got' it. The examples I've used above are straight from the apt_preferences man page.
Jun
9
comment How can I run Debian stable but install some packages from testing?
Wow. That was quick. I was posting so as to share the information I'd just come across! Nice one!
May
24
comment Free Name Server services reliability?
@chakrit Perhaps you should accept the question now ;)
May
17
comment How can I uprade my software RAID1 set of drives?
I'll report back in a few hours but that seems to make sense. Thanks @Zoredache for keeping the power of the lazyweb alive!
May
16
comment What is the difference between a 'Login' and an 'Interactive' bash shell
I've edited the question to fit in more with the half arsed site rules. I don't think I'll ever understand the desire to delete useful information...
May
16
comment How can I export the privileges from MySQL and then import to a new server?
Thanks @nedm. Seems like the annoying cPanel server I'm trying to get the dbs off doesn't show the db 'mysql'. Otherwise I'd test and affirm your answer. Once I figure that out I'll check back. Thanks.
May
14
comment Useful Commandline Commands on Unix
See @Andrew Hodgson's response.
May
13
comment Command line recursive/deep directory copy in Linux?
Well I know that busybox, GNU & BSD cp are ok. Other than legacy Unix boxes I've never seen what won't that work on? I don't really see the point otherwise although I completely understand Zoredache's sentiment of "It always seems to get the job done correctly, so I have never really looked to hard to find a replacement."