[Bug 1194074] Re: Default index.html blindly overwritten

2018-12-07 Thread Frak
Thank you for writing back Thomas. It seems I did not get that protection since I am on Ubuntu 14.04. I am pleased to hear, however, that the installer behavior has improved. Thank you. I was on nginx version 1.4.6 and upgraded to 1.12.2 to get support for dynamically loaded modules. I am on

[Bug 1194074] Re: Default index.html blindly overwritten

2018-12-06 Thread Thomas Ward
@Frak which NGINX are you upgrading from on which OS? In current versions of the package from 16.04 and later, there is configuration changes in postinst to *NOT* overwrite index.html if an index.html exists already in the default docroot. -- You received this bug notification because you are a

[Bug 1194074] Re: Default index.html blindly overwritten

2018-12-06 Thread Frak
When upgrading nginx, the installer is smart enough to notice that my configuration files are changed and gives me the option to keep my modified one, or update it, diff it etc but isn't smart enough to make a backup of index.html before it overwrites it? How hard is it to do the same thing for

[Bug 1194074] Re: Default index.html blindly overwritten

2016-03-19 Thread Dan
I'd like to add to this, I installed nginx on my Raspberry Pi and was using it on my internal network. I'm not an administrator, just a tinkerer who has no knowledge that the default www share should not be used. Because of this i've lost my index.html that i was using. I'd assume there are a lot

[Bug 1194074] Re: Default index.html blindly overwritten

2016-03-18 Thread Dan
I'd like to add to this, I installed nginx on my Raspberry Pi and was using it on my internal network. I'm not an administrator, just a tinkerer who has no knowledge that the default www share should not be used. Because of this i've lost my index.html that i was using. I'd assume there are a lot

[Bug 1194074] Re: Default index.html blindly overwritten

2015-07-23 Thread Thomas Ward
This isn't fixed - it's marked Fix Released in Debian only because of Debian considering this Won't Fix. There's a reason that we say that certain spaces on the file system aren't for users and this is one of them - this is why I said in my last post on this even that you should NOT be using the

[Bug 1194074] Re: Default index.html blindly overwritten

2015-07-23 Thread Thomas Ward
This isn't fixed - it's marked Fix Released in Debian only because of Debian considering this Won't Fix. There's a reason that we say that certain spaces on the file system aren't for users and this is one of them - this is why I said in my last post on this even that you should NOT be using the

[Bug 1194074] Re: Default index.html blindly overwritten

2015-07-22 Thread Tony
Ubuntu 15.04 apt upgrades just overwrote my index.html at /usr/share/nginx/html/index.html It looks like nginx had an update on 7-20. Regression seems to be there. -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to nginx in Ubuntu.

[Bug 1194074] Re: Default index.html blindly overwritten

2015-07-22 Thread Tony
Ubuntu 15.04 apt upgrades just overwrote my index.html at /usr/share/nginx/html/index.html It looks like nginx had an update on 7-20. Regression seems to be there. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu.

[Bug 1194074] Re: Default index.html blindly overwritten

2015-03-16 Thread Thomas Ward
Samuel Messner and everyone: This has not actually been fixed based on the bug. The reason this is 'Fix Released' in Debian here is because Launchpad has the incorrect logic for the Debian bug. (See https://bugs.launchpad.net/launchpad/+bug/1413304 for details on the logic breakage). From the

[Bug 1194074] Re: Default index.html blindly overwritten

2015-03-16 Thread Thomas Ward
Samuel Messner and everyone: This has not actually been fixed based on the bug. The reason this is 'Fix Released' in Debian here is because Launchpad has the incorrect logic for the Debian bug. (See https://bugs.launchpad.net/launchpad/+bug/1413304 for details on the logic breakage). From the

[Bug 1194074] Re: Default index.html blindly overwritten

2015-03-16 Thread Samuel Messner
This has been fixed for Debian, it should really be fixed for Ubuntu too. I don't keep the files being served in /usr/share/nginx/www/, but nginx still overwrote my index.html after an nginx -s reopen. I have a hard time seeing how this would be intended in any way - this behavior has the ability

[Bug 1194074] Re: Default index.html blindly overwritten

2015-03-16 Thread Samuel Messner
This has been fixed for Debian, it should really be fixed for Ubuntu too. I don't keep the files being served in /usr/share/nginx/www/, but nginx still overwrote my index.html after an nginx -s reopen. I have a hard time seeing how this would be intended in any way - this behavior has the ability

[Bug 1194074] Re: Default index.html blindly overwritten

2015-01-20 Thread Thomas Ward
** Bug watch added: Debian Bug tracker #774464 http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=774464 ** Also affects: nginx (Debian) via http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=774464 Importance: Unknown Status: Unknown -- You received this bug notification because

[Bug 1194074] Re: Default index.html blindly overwritten

2015-01-20 Thread Thomas Ward
** Bug watch added: Debian Bug tracker #774464 http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=774464 ** Also affects: nginx (Debian) via http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=774464 Importance: Unknown Status: Unknown -- You received this bug notification because

[Bug 1194074] Re: Default index.html blindly overwritten

2015-01-20 Thread Bug Watch Updater
** Changed in: nginx (Debian) Status: Unknown = Fix Released -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1194074 Title: Default index.html blindly overwritten To manage notifications

[Bug 1194074] Re: Default index.html blindly overwritten

2015-01-20 Thread Bug Watch Updater
** Changed in: nginx (Debian) Status: Unknown = Fix Released -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to nginx in Ubuntu. https://bugs.launchpad.net/bugs/1194074 Title: Default index.html blindly overwritten To manage

[Bug 1194074] Re: Default index.html blindly overwritten

2014-06-26 Thread Michael Lustfield
Apache goes against the Debian policy on this one. They have to because of some hacks in some plugins that are supposed to enhance security. The default is simply a default. Some people will actually store websites in /etc/nginx/www/ on debian systems. There's no way to correct everyone that isn't

[Bug 1194074] Re: Default index.html blindly overwritten

2014-06-26 Thread Michael Lustfield
Apache goes against the Debian policy on this one. They have to because of some hacks in some plugins that are supposed to enhance security. The default is simply a default. Some people will actually store websites in /etc/nginx/www/ on debian systems. There's no way to correct everyone that isn't

[Bug 1194074] Re: Default index.html blindly overwritten

2014-06-09 Thread Robie Basak
Will Ubuntu fix the package, or does it need to be done by the Debian maintainer? Whether it needs fixing or not is a matter of debate. Personally, I agree with you, but this isn't a reason in itself to make a change. I would prefer to see consensus across Debian and Ubuntu, and am unwilling to

[Bug 1194074] Re: Default index.html blindly overwritten

2014-06-09 Thread Robie Basak
Will Ubuntu fix the package, or does it need to be done by the Debian maintainer? Whether it needs fixing or not is a matter of debate. Personally, I agree with you, but this isn't a reason in itself to make a change. I would prefer to see consensus across Debian and Ubuntu, and am unwilling to

[Bug 1194074] Re: Default index.html blindly overwritten

2014-06-07 Thread JKL
Irrespective of what the default document root is, whether it is /usr/share/nginx/www or /var/www/html, the issue in this bug report is whether a user should expect to be able to modify the index.html file in the default document root and have those changes respected. If your answer is that the

[Bug 1194074] Re: Default index.html blindly overwritten

2014-06-07 Thread JKL
Irrespective of what the default document root is, whether it is /usr/share/nginx/www or /var/www/html, the issue in this bug report is whether a user should expect to be able to modify the index.html file in the default document root and have those changes respected. If your answer is that the

[Bug 1194074] Re: Default index.html blindly overwritten

2014-05-01 Thread Robie Basak
I've just noticed this bug. IMHO, /usr/share/nginx/www/ should never be used to actually serve files. To serve static files, the document root should be changed. Somewhere under /srv is suitable under the FHS. It would be nice if this were documented better somehow (I don't know how), but this

[Bug 1194074] Re: Default index.html blindly overwritten

2014-05-01 Thread Robie Basak
IMHO, /usr/share/nginx/www/ should never be used to actually serve files. Apart from the default ones provided by packaging, of course. -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to nginx in Ubuntu.

[Bug 1194074] Re: Default index.html blindly overwritten

2014-05-01 Thread Robie Basak
I've just noticed this bug. IMHO, /usr/share/nginx/www/ should never be used to actually serve files. To serve static files, the document root should be changed. Somewhere under /srv is suitable under the FHS. It would be nice if this were documented better somehow (I don't know how), but this

[Bug 1194074] Re: Default index.html blindly overwritten

2014-05-01 Thread Robie Basak
IMHO, /usr/share/nginx/www/ should never be used to actually serve files. Apart from the default ones provided by packaging, of course. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1194074 Title:

[Bug 1194074] Re: Default index.html blindly overwritten

2014-01-26 Thread Nat Brown
Thomas - both points well taken, thanks for triaging. (fyi, 1.5.8 and now 1.5.9 are pulled in on 12.04.3 in AWS at least, so some folks who bump into this may be not purely stock, but again your point is well taken that 1.5.x aren't the minimal/initial test-case) -- You received this bug

[Bug 1194074] Re: Default index.html blindly overwritten

2014-01-22 Thread Thomas Ward
Nat: 1.5.8 is not in Ubuntu, and you should not comment on a bug about 1.1.19 when you are using 1.5.8. I have not yet tested to replicate this, or figure out a solution, but I have an idea of what needs to be done to fix this. Having said this, I am a little busy fighting with my system, so

[Bug 1194074] Re: Default index.html blindly overwritten

2014-01-22 Thread Thomas Ward
As a suggestion to all affected: I suggest that you do not use the default document root (/usr/share/nginx/www/) for your files, and instead use a different document root for your sites. By using the default document root, you are inviting issues such as these to occur. I also suggest that you

[Bug 1194074] Re: Default index.html blindly overwritten

2014-01-21 Thread Nat Brown
happened to me twice, most recently Ubuntu 12.04.3 upgrading Nginx to 1.5.8. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1194074 Title: Default index.html blindly overwritten To manage

[Bug 1194074] Re: Default index.html blindly overwritten

2013-10-29 Thread Thomas Ward
Confirmed because of duplicate bug #1245827 ** Changed in: nginx (Ubuntu) Status: Expired = Confirmed -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1194074 Title: Default index.html blindly

[Bug 1194074] Re: Default index.html blindly overwritten

2013-10-28 Thread Assaf Hershko
This just happened to me as well.. Ubuntu 12.04, Nginx 1.1.19. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1194074 Title: Default index.html blindly overwritten To manage notifications about

[Bug 1194074] Re: Default index.html blindly overwritten

2013-10-28 Thread Assaf Hershko
To stress - it's a very serious issue, which took down a server and also meant code loss (as, unfortunately, the backup wasn't up to date). Can you please investigate? I'm concerned about it happening again. Should I open a new bug, or can you re-open an expired one? Thanks. -- You received

[Bug 1194074] Re: Default index.html blindly overwritten

2013-09-29 Thread Launchpad Bug Tracker
[Expired for nginx (Ubuntu) because there has been no activity for 60 days.] ** Changed in: nginx (Ubuntu) Status: Incomplete = Expired -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1194074

[Bug 1194074] Re: Default index.html blindly overwritten

2013-07-31 Thread Thomas Ward
Can you please add details of which Ubuntu version and which NGINX version you are using? ** Changed in: nginx (Ubuntu) Status: New = Incomplete -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu.