Closed
Bug 47009
Opened 25 years ago
Closed 2 years ago
file: no read permissions should error
Categories
(Core :: Networking: File, defect, P5)
Core
Networking: File
Tracking
()
RESOLVED
FIXED
Future
| Tracking | Status | |
|---|---|---|
| firefox111 | --- | ? |
People
(Reporter: h.b.furuseth, Unassigned)
References
Details
(Keywords: testcase, Whiteboard: [necko-would-take])
Attachments
(1 file)
|
37.67 KB,
image/png
|
Details |
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; SunOS 5.7 sun4u; en-US; m18) Gecko/20000730
BuildID: 2000073010
A file: URL which I have no read access to is displayed as empty.
Reproducible: Always
Steps to Reproduce:
1. touch /tmp/foo.html
2. chmod a-r /tmp/foo.html
3. visit URL file:///tmp/foo.html
Actual Results: An empty browser window.
Expected Results: A 'permission denied' error message, maybe the output from
strerror().
(don't know where exactly - it ought to be distinct from an accessible
file which happens to contain an error message. Maybe put the error
message in the title or status bar?)
Don't know the correct component for this bug. Maybe "Networking"?
See also bug #47007.
| Reporter | ||
Updated•25 years ago
|
Severity: normal → trivial
Comment 1•25 years ago
|
||
setting bug status to New. over to Networking.
Assignee: asa → gagan
Status: UNCONFIRMED → NEW
Component: Browser-General → Networking
Ever confirmed: true
QA Contact: doronr → tever
Hi dougt, welcome to necko :)
Assignee: ruslan → dougt
Status: ASSIGNED → NEW
Comment 5•25 years ago
|
||
Not really my area, but I'll investigate if you want...
Status: NEW → ASSIGNED
Comment 6•24 years ago
|
||
This is really a Necko bug, no connection to security.
Assignee: mstoltz → neeti
Status: ASSIGNED → NEW
Comment 7•24 years ago
|
||
Reproduced also under Linux(build 2001040805)
And under WinNT(build 2001040604)(If you remove read permissions via
"properties->security->permissions")
-->Networking:File
Assignee: neeti → dougt
Component: Networking → Networking: File
Comment 9•24 years ago
|
||
Based on comments from Alexei, marking OS and Platform to All.
OS: Solaris → All
Hardware: Sun → All
Comment 10•24 years ago
|
||
qa to me.
probably related to bug 19073
+ testcase. No analogous problem w/ MacOS, unless you include AppleShare volumes...
Keywords: testcase
QA Contact: tever → benc
Summary: Read-protected file:/// URL treated as empty → file: no read permissions should error
Comment 11•24 years ago
|
||
Alexei - is your NT case a shared volume or NTFS? I didn't see the same
permissions on my WinNT system.
Comment 12•24 years ago
|
||
Bug reproduced under NT4.0, SP4, NTFS filesystem (localdisk)
Steps to reproduce:
1)Logon as Administrator
2)Create simple HTML file(e.g D:\dummy.html)
3)Open it in Mozilla and note, that it is opened and shown.
4)Right click on this file, click on "Properties", cliek on "Security" and then
click on "Permissions".
Set permisiions to "Everyone -- No Access(None)" and press OK button.
5)Now restart browser and type "file:///D:/dummy.html" in location bar
Note that "Read D:\dummy.html" printed in status bar and nothing more happens.
Page isn't shown without any warnings.
Comment 13•23 years ago
|
||
*** Bug 120790 has been marked as a duplicate of this bug. ***
Comment 14•23 years ago
|
||
Reseting severity... no feedback is definately not trivial (in fact, the bug on
https links not giving decent feedback was major or critical).
I run in to this ALOT browsing files for testcases, etc... quite puzzling sometimes.
Severity: trivial → normal
Comment 15•23 years ago
|
||
There is an error now, just the wrong one. Loading a file without read
permissions pops a dialog saying the file does not exsist. Doug, if you eaither
want to resummarize this bug, or open a new one...
Comment 16•23 years ago
|
||
We need to cover this for all plats. Jeremy, what platforms are you using?
Comment 17•23 years ago
|
||
Linux 2002051009 (1.0 branch)
Comment 18•23 years ago
|
||
Happens in Mac OS X, in Composer. I filed a separate bug and made it a depends.
No longer blocks: 159144
Whiteboard: checkMac checkWin → checkWin
Comment 19•23 years ago
|
||
*** Bug 151121 has been marked as a duplicate of this bug. ***
Updated•9 years ago
|
Whiteboard: [necko-would-take]
Comment 22•8 years ago
|
||
Bulk change to priority: https://bugzilla.mozilla.org/show_bug.cgi?id=1399258
Priority: P3 → P5
Comment 23•4 years ago
|
||
Still actual for 21 years.
Related: bug #426177
Updated•3 years ago
|
Severity: normal → S3
Comment 24•2 years ago
|
||
This is the current behavior, the issue was fixed at some point but we forgot to close this bug
Updated•2 years ago
|
Status: NEW → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Updated•2 years ago
|
status-firefox111:
--- → ?
You need to log in
before you can comment on or make changes to this bug.
Description
•