Where did you install Firefox from? Help Mozilla uncover 3rd party websites that offer problematic Firefox installation by taking part in our campaign. There will be swag, and you'll be featured in our blog if you manage to report at least 10 valid reports!

Tìm kiếm hỗ trợ

Tránh các lừa đảo về hỗ trợ. Chúng tôi sẽ không bao giờ yêu cầu bạn gọi hoặc nhắn tin đến số điện thoại hoặc chia sẻ thông tin cá nhân. Vui lòng báo cáo hoạt động đáng ngờ bằng cách sử dụng tùy chọn "Báo cáo lạm dụng".

Learn More

How to open files from other user's home?

  • 4 trả lời
  • 1 gặp vấn đề này
  • 1 lượt xem
  • Trả lời mới nhất được viết bởi jonzn4SUSE

more options

I'm in Ubuntu 22.04, logged in as user-me. I would like to open /home/user-other/path/to/index.html with firefox.

user-me is in the group user-other, and everything under /home/user-other has permission 755. I can open /home/user-other/path/to/index.html in the terminal without problem.

If I simply type /home/user-other/path/to/index.html in the address bar of firefox, it gives "Access to the file was denied". If I open the file with the file picker, the page is loaded, but as "file:///run/user/1000/doc/some-hax-number/index.html", and the resources in the page are not properly loaded.

How can I properly open /home/user-other/path/to/index.html?

I'm in Ubuntu 22.04, logged in as user-me. I would like to open /home/user-other/path/to/index.html with firefox. user-me is in the group user-other, and everything under /home/user-other has permission 755. I can open /home/user-other/path/to/index.html in the terminal without problem. If I simply type /home/user-other/path/to/index.html in the address bar of firefox, it gives "Access to the file was denied". If I open the file with the file picker, the page is loaded, but as "file:///run/user/1000/doc/some-hax-number/index.html", and the resources in the page are not properly loaded. How can I properly open /home/user-other/path/to/index.html?

Tất cả các câu trả lời (4)

more options

You can try Firefox from the official Mozilla server if you currently use a version from the repositories of your Linux distribution to see if it behaves differently.

more options

UPDATE: I see that Firefox automatically translates /home/LjNj_RC51/index.html to file:///home/LjNj_RC51/index.html. see screenshot

Được chỉnh sửa bởi jonzn4SUSE vào

more options

The same happens in my distro version of Firefox. see screenshot

more options

Also created user-other just for S&Gs and had no issues accessing the file. see screenshot A screenshot of the file, path, and permission would be nice. What version of Firefox? What desktop? X11 or Wayland?

Được chỉnh sửa bởi jonzn4SUSE vào