478 reputation
1311
bio website lekensteyn.nl
location Netherlands
age 21
visits member for 3 years, 6 months
seen Sep 24 at 16:09

Former Kubuntu desktop user, now using Arch Linux. Open-source enthusiast, programmer.

Interests: network protocols, Linux kernel, server administration, Android, breaking & fixing stuff.


Jul
13
awarded  Fanatic
Jul
6
comment I need a quality linux UK based webhost
The next time, ask for an offer on webhostingtalk.com, this is not a shopping site.
Jul
4
revised Cloud server or VPS server
Removed advert
Jul
4
suggested suggested edit on Cloud server or VPS server
Jul
2
comment PHP permissions
umad? 655 = read+write for owner, read+execute for others. Bad Idea(tm) Whether the files are owned by apache or not depends on the purpose of the files. For a static website, it's better that the files are not writable to avoid attacks in case a hole is found in the code.
Jul
2
comment PHP permissions
You need to provide more details, how are you uploading your files? (SSH/SFTP, FTP, controlpanel?, ...) You mentioned ownership, do you have root access to the box? What user is Apache running? If possible, what distro are you using? See also webmasters.stackexchange.com/q/13658/6597
Jun
28
awarded  Commentator
Jun
17
awarded  Citizen Patrol
Jun
11
comment When I am root, “mysql” connects without a password, even though I've set one
Cross-post: serverfault.com/q/279411/51929
May
28
answered Firefox reports HTTPS page to contain non-secure elements
May
25
comment Things we can do with VPS Packages
Managed or unmanaged? If unmanaged, be sure to do some research first. You won't be the first who think that firewalls are superfluous and soon rooted afterwards.
May
21
answered How to find who's accessing my server? My server is Ubuntu
May
16
awarded  Critic
May
16
comment What is the best free hosting provider for my site?
000webhost shuts your website down periodically to check for "potentially unwanted content" (for them), not recommended.
May
16
comment When creating a website, what permissions and directory structure?
Giving www-data rwx on directories allows www-data to read, write and descend into directories. If www-data is the owner, it'll be able to change the file permissions as well. If www-data does not need write access, you'd better revoke it to r-x (principle of least privilege). Processes run under an user which are a member of one ore more groups. If a file is not owned by the user of that process or if the process user is not a member of the group of the file, it'll get the permissions of "Other" (a.k.a. "world").
May
15
comment Can PHP Site be hosted on Windows Hosting?
Not to forget that windows uses \ as path separator which is an escape character in PHP.
May
14
revised What are recommended password reset mecanisms?
ThAn, some other edits for the character limit
May
14
suggested suggested edit on What are recommended password reset mecanisms?
May
12
comment When creating a website, what permissions and directory structure?
@Dan Simmons: CMS'es (and PHP scripts) write to the directories as www-data, the files will be owned by www-data with group www-data (since the process runs under that group). Your SSH user will create files/directories owned by your_ssh_user_here. Without the setgid bit, these files will have the group your_ssh_user_here. With no read permissions for the other, PHP and nginx won't be able to access the files/directories. The setgid bit is inherited by the directories beneath (but can be removed).
May
12
answered When creating a website, what permissions and directory structure?