[Desktop-packages] [Bug 2025447] Re: Incorrect Downloads directory for LDAP user in snapped firefox & chromium

2023-10-26 Thread Daniel van Vugt
** Package changed: chromium (Ubuntu) => chromium-browser (Ubuntu)

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to chromium-browser in Ubuntu.
https://bugs.launchpad.net/bugs/2025447

Title:
  Incorrect Downloads directory for LDAP user in snapped firefox &
  chromium

Status in Snapcraft:
  New
Status in snapd:
  New
Status in chromium-browser package in Ubuntu:
  Confirmed
Status in firefox package in Ubuntu:
  Confirmed
Status in snapd package in Ubuntu:
  Confirmed

Bug description:
  Test procedure:
  1. Log in to Gnome as a Active Directory user.
  2. Launch browser (firefox or chrome) - make sure there's no existing config 
(we are interested in the default Downloads location).
  3. Download a file via the browser.
  4. Check where it was downloaded.

  Expected result:
  The files are downloaded to ~/Downloads (or a translated equivalent).

  Actual result:
  The files are downloaded to:
  ~/snap/firefox/common/Downloads
  ~/snap/chromium/current/Downloads

  For local users the behavior is as expected (all files are downloaded
  to ~/Downloads).

  This is very inconvenient for enterprise environments where manual
  setting modification is needed on every host.

  This has been tested on 22.04 with the following versions:
  - firefox (116.0.3 Mozilla Firefox Snap for Ubuntu canonical-002 - 1.0)
  - chromium (Version 116.0.5845.110 (Official Build) snap (64-bit))
  - snapd 2.58+22.04.1

  [1] https://ubuntu.com/server/docs/service-sssd-ad

To manage notifications about this bug go to:
https://bugs.launchpad.net/snapcraft/+bug/2025447/+subscriptions


-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to : desktop-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp


[Desktop-packages] [Bug 2025447] Re: Incorrect Downloads directory for LDAP user in snapped firefox & chromium

2023-09-12 Thread Launchpad Bug Tracker
Status changed to 'Confirmed' because the bug affects multiple users.

** Changed in: snapd (Ubuntu)
   Status: New => Confirmed

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to firefox in Ubuntu.
https://bugs.launchpad.net/bugs/2025447

Title:
  Incorrect Downloads directory for LDAP user in snapped firefox &
  chromium

Status in Snapcraft:
  New
Status in snapd:
  New
Status in chromium package in Ubuntu:
  Confirmed
Status in firefox package in Ubuntu:
  Confirmed
Status in snapd package in Ubuntu:
  Confirmed

Bug description:
  Test procedure:
  1. Log in to Gnome as a Active Directory user.
  2. Launch browser (firefox or chrome) - make sure there's no existing config 
(we are interested in the default Downloads location).
  3. Download a file via the browser.
  4. Check where it was downloaded.

  Expected result:
  The files are downloaded to ~/Downloads (or a translated equivalent).

  Actual result:
  The files are downloaded to:
  ~/snap/firefox/common/Downloads
  ~/snap/chromium/current/Downloads

  For local users the behavior is as expected (all files are downloaded
  to ~/Downloads).

  This is very inconvenient for enterprise environments where manual
  setting modification is needed on every host.

  This has been tested on 22.04 with the following versions:
  - firefox (116.0.3 Mozilla Firefox Snap for Ubuntu canonical-002 - 1.0)
  - chromium (Version 116.0.5845.110 (Official Build) snap (64-bit))
  - snapd 2.58+22.04.1

  [1] https://ubuntu.com/server/docs/service-sssd-ad

To manage notifications about this bug go to:
https://bugs.launchpad.net/snapcraft/+bug/2025447/+subscriptions


-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to : desktop-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp


[Desktop-packages] [Bug 2025447] Re: Incorrect Downloads directory for LDAP user in snapped firefox & chromium

2023-09-12 Thread Launchpad Bug Tracker
Status changed to 'Confirmed' because the bug affects multiple users.

** Changed in: firefox (Ubuntu)
   Status: New => Confirmed

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to firefox in Ubuntu.
https://bugs.launchpad.net/bugs/2025447

Title:
  Incorrect Downloads directory for LDAP user in snapped firefox &
  chromium

Status in Snapcraft:
  New
Status in snapd:
  New
Status in chromium package in Ubuntu:
  Confirmed
Status in firefox package in Ubuntu:
  Confirmed
Status in snapd package in Ubuntu:
  Confirmed

Bug description:
  Test procedure:
  1. Log in to Gnome as a Active Directory user.
  2. Launch browser (firefox or chrome) - make sure there's no existing config 
(we are interested in the default Downloads location).
  3. Download a file via the browser.
  4. Check where it was downloaded.

  Expected result:
  The files are downloaded to ~/Downloads (or a translated equivalent).

  Actual result:
  The files are downloaded to:
  ~/snap/firefox/common/Downloads
  ~/snap/chromium/current/Downloads

  For local users the behavior is as expected (all files are downloaded
  to ~/Downloads).

  This is very inconvenient for enterprise environments where manual
  setting modification is needed on every host.

  This has been tested on 22.04 with the following versions:
  - firefox (116.0.3 Mozilla Firefox Snap for Ubuntu canonical-002 - 1.0)
  - chromium (Version 116.0.5845.110 (Official Build) snap (64-bit))
  - snapd 2.58+22.04.1

  [1] https://ubuntu.com/server/docs/service-sssd-ad

To manage notifications about this bug go to:
https://bugs.launchpad.net/snapcraft/+bug/2025447/+subscriptions


-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to : desktop-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp


[Desktop-packages] [Bug 2025447] Re: Incorrect Downloads directory for LDAP user in snapped firefox & chromium

2023-09-12 Thread Launchpad Bug Tracker
Status changed to 'Confirmed' because the bug affects multiple users.

** Changed in: chromium (Ubuntu)
   Status: New => Confirmed

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to firefox in Ubuntu.
https://bugs.launchpad.net/bugs/2025447

Title:
  Incorrect Downloads directory for LDAP user in snapped firefox &
  chromium

Status in Snapcraft:
  New
Status in snapd:
  New
Status in chromium package in Ubuntu:
  Confirmed
Status in firefox package in Ubuntu:
  Confirmed
Status in snapd package in Ubuntu:
  Confirmed

Bug description:
  Test procedure:
  1. Log in to Gnome as a Active Directory user.
  2. Launch browser (firefox or chrome) - make sure there's no existing config 
(we are interested in the default Downloads location).
  3. Download a file via the browser.
  4. Check where it was downloaded.

  Expected result:
  The files are downloaded to ~/Downloads (or a translated equivalent).

  Actual result:
  The files are downloaded to:
  ~/snap/firefox/common/Downloads
  ~/snap/chromium/current/Downloads

  For local users the behavior is as expected (all files are downloaded
  to ~/Downloads).

  This is very inconvenient for enterprise environments where manual
  setting modification is needed on every host.

  This has been tested on 22.04 with the following versions:
  - firefox (116.0.3 Mozilla Firefox Snap for Ubuntu canonical-002 - 1.0)
  - chromium (Version 116.0.5845.110 (Official Build) snap (64-bit))
  - snapd 2.58+22.04.1

  [1] https://ubuntu.com/server/docs/service-sssd-ad

To manage notifications about this bug go to:
https://bugs.launchpad.net/snapcraft/+bug/2025447/+subscriptions


-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to : desktop-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp


[Desktop-packages] [Bug 2025447] Re: Incorrect Downloads directory for LDAP user in snapped firefox & chromium

2023-09-05 Thread Ken VanDine
The getent implementation pre-dates the existence of SNAP_REAL_HOME.  We
can probably leverage that.

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to firefox in Ubuntu.
https://bugs.launchpad.net/bugs/2025447

Title:
  Incorrect Downloads directory for LDAP user in snapped firefox &
  chromium

Status in Snapcraft:
  New
Status in snapd:
  New
Status in chromium package in Ubuntu:
  New
Status in firefox package in Ubuntu:
  New
Status in snapd package in Ubuntu:
  New

Bug description:
  Test procedure:
  1. Log in to Gnome as a Active Directory user.
  2. Launch browser (firefox or chrome) - make sure there's no existing config 
(we are interested in the default Downloads location).
  3. Download a file via the browser.
  4. Check where it was downloaded.

  Expected result:
  The files are downloaded to ~/Downloads (or a translated equivalent).

  Actual result:
  The files are downloaded to:
  ~/snap/firefox/common/Downloads
  ~/snap/chromium/current/Downloads

  For local users the behavior is as expected (all files are downloaded
  to ~/Downloads).

  This is very inconvenient for enterprise environments where manual
  setting modification is needed on every host.

  This has been tested on 22.04 with the following versions:
  - firefox (116.0.3 Mozilla Firefox Snap for Ubuntu canonical-002 - 1.0)
  - chromium (Version 116.0.5845.110 (Official Build) snap (64-bit))
  - snapd 2.58+22.04.1

  [1] https://ubuntu.com/server/docs/service-sssd-ad

To manage notifications about this bug go to:
https://bugs.launchpad.net/snapcraft/+bug/2025447/+subscriptions


-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to : desktop-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp


[Desktop-packages] [Bug 2025447] Re: Incorrect Downloads directory for LDAP user in snapped firefox & chromium

2023-09-05 Thread Dariusz Gadomski
** Also affects: snapcraft
   Importance: Undecided
   Status: New

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to firefox in Ubuntu.
https://bugs.launchpad.net/bugs/2025447

Title:
  Incorrect Downloads directory for LDAP user in snapped firefox &
  chromium

Status in Snapcraft:
  New
Status in snapd:
  New
Status in chromium package in Ubuntu:
  New
Status in firefox package in Ubuntu:
  New
Status in snapd package in Ubuntu:
  New

Bug description:
  Test procedure:
  1. Log in to Gnome as a Active Directory user.
  2. Launch browser (firefox or chrome) - make sure there's no existing config 
(we are interested in the default Downloads location).
  3. Download a file via the browser.
  4. Check where it was downloaded.

  Expected result:
  The files are downloaded to ~/Downloads (or a translated equivalent).

  Actual result:
  The files are downloaded to:
  ~/snap/firefox/common/Downloads
  ~/snap/chromium/current/Downloads

  For local users the behavior is as expected (all files are downloaded
  to ~/Downloads).

  This is very inconvenient for enterprise environments where manual
  setting modification is needed on every host.

  This has been tested on 22.04 with the following versions:
  - firefox (116.0.3 Mozilla Firefox Snap for Ubuntu canonical-002 - 1.0)
  - chromium (Version 116.0.5845.110 (Official Build) snap (64-bit))
  - snapd 2.58+22.04.1

  [1] https://ubuntu.com/server/docs/service-sssd-ad

To manage notifications about this bug go to:
https://bugs.launchpad.net/snapcraft/+bug/2025447/+subscriptions


-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to : desktop-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp


[Desktop-packages] [Bug 2025447] Re: Incorrect Downloads directory for LDAP user in snapped firefox & chromium

2023-08-29 Thread Dariusz Gadomski
Simply replacing the line above with:
REALHOME=${SNAP_REAL_HOME}
makes the issue go away.

I'm not sure what was the purpose of the getent call, but clearly it has
problems with accessing the passwd database inside the snap sandbox.

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to firefox in Ubuntu.
https://bugs.launchpad.net/bugs/2025447

Title:
  Incorrect Downloads directory for LDAP user in snapped firefox &
  chromium

Status in snapd:
  New
Status in chromium package in Ubuntu:
  New
Status in firefox package in Ubuntu:
  New
Status in snapd package in Ubuntu:
  New

Bug description:
  Test procedure:
  1. Log in to Gnome as a Active Directory user.
  2. Launch browser (firefox or chrome) - make sure there's no existing config 
(we are interested in the default Downloads location).
  3. Download a file via the browser.
  4. Check where it was downloaded.

  Expected result:
  The files are downloaded to ~/Downloads (or a translated equivalent).

  Actual result:
  The files are downloaded to:
  ~/snap/firefox/common/Downloads
  ~/snap/chromium/current/Downloads

  For local users the behavior is as expected (all files are downloaded
  to ~/Downloads).

  This is very inconvenient for enterprise environments where manual
  setting modification is needed on every host.

  This has been tested on 22.04 with the following versions:
  - firefox (116.0.3 Mozilla Firefox Snap for Ubuntu canonical-002 - 1.0)
  - chromium (Version 116.0.5845.110 (Official Build) snap (64-bit))
  - snapd 2.58+22.04.1

  [1] https://ubuntu.com/server/docs/service-sssd-ad

To manage notifications about this bug go to:
https://bugs.launchpad.net/snapd/+bug/2025447/+subscriptions


-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to : desktop-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp


[Desktop-packages] [Bug 2025447] Re: Incorrect Downloads directory for LDAP user in snapped firefox & chromium

2023-08-29 Thread Dariusz Gadomski
I have been looking into this issue and I've noticed that in
snap/command-chain/desktop-launch line 39 cases the issue:

REALHOME=$(getent passwd $UID | cut -d ':' -f 6)

Inside the snap getent passwd $UID returns an empty string for the
AD/LDAP user.

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to firefox in Ubuntu.
https://bugs.launchpad.net/bugs/2025447

Title:
  Incorrect Downloads directory for LDAP user in snapped firefox &
  chromium

Status in snapd:
  New
Status in chromium package in Ubuntu:
  New
Status in firefox package in Ubuntu:
  New
Status in snapd package in Ubuntu:
  New

Bug description:
  Test procedure:
  1. Log in to Gnome as a Active Directory user.
  2. Launch browser (firefox or chrome) - make sure there's no existing config 
(we are interested in the default Downloads location).
  3. Download a file via the browser.
  4. Check where it was downloaded.

  Expected result:
  The files are downloaded to ~/Downloads (or a translated equivalent).

  Actual result:
  The files are downloaded to:
  ~/snap/firefox/common/Downloads
  ~/snap/chromium/current/Downloads

  For local users the behavior is as expected (all files are downloaded
  to ~/Downloads).

  This is very inconvenient for enterprise environments where manual
  setting modification is needed on every host.

  This has been tested on 22.04 with the following versions:
  - firefox (116.0.3 Mozilla Firefox Snap for Ubuntu canonical-002 - 1.0)
  - chromium (Version 116.0.5845.110 (Official Build) snap (64-bit))
  - snapd 2.58+22.04.1

  [1] https://ubuntu.com/server/docs/service-sssd-ad

To manage notifications about this bug go to:
https://bugs.launchpad.net/snapd/+bug/2025447/+subscriptions


-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to : desktop-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp


[Desktop-packages] [Bug 2025447] Re: Incorrect Downloads directory for LDAP user in snapped firefox & chromium

2023-08-29 Thread Dariusz Gadomski
** Description changed:

- It was brought to my attention that when signed in as an LDAP-
- authenticated user the default Downloads directory for snapped Firefox
- and Chromium browser is not /home/user/Downloads but e.g.
- /home/user/snap/firefox/common/Downloads.
+ Test procedure:
+ 1. Log in to Gnome as a Active Directory user.
+ 2. Launch browser (firefox or chrome) - make sure there's no existing config 
(we are interested in the default Downloads location).
+ 3. Download a file via the browser.
+ 4. Check where it was downloaded.
  
- When user is set to a local one (outside of LDAP/AD) the default
- Download path is /home/user/Downloads.
+ Expected result:
+ The files are downloaded to ~/Downloads (or a translated equivalent).
  
- The issue is observed on 22.04 at least with snapd 2.58+22.04.1. I'll
- post an update after checking on other releases.
+ Actual result:
+ The files are downloaded to:
+ ~/snap/firefox/common/Downloads
+ ~/snap/chromium/current/Downloads
+ 
+ For local users the behavior is as expected (all files are downloaded to
+ ~/Downloads).
+ 
+ This is very inconvenient for enterprise environments where manual
+ setting modification is needed on every host.
+ 
+ This has been tested on 22.04 with the following versions:
+ - firefox (116.0.3 Mozilla Firefox Snap for Ubuntu canonical-002 - 1.0)
+ - chromium (Version 116.0.5845.110 (Official Build) snap (64-bit))
+ - snapd 2.58+22.04.1
+ 
+ [1] https://ubuntu.com/server/docs/service-sssd-ad

** Also affects: firefox (Ubuntu)
   Importance: Undecided
   Status: New

** Also affects: snapd (Ubuntu)
   Importance: Undecided
   Status: New

** Also affects: chromium (Ubuntu)
   Importance: Undecided
   Status: New

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to firefox in Ubuntu.
https://bugs.launchpad.net/bugs/2025447

Title:
  Incorrect Downloads directory for LDAP user in snapped firefox &
  chromium

Status in snapd:
  New
Status in chromium package in Ubuntu:
  New
Status in firefox package in Ubuntu:
  New
Status in snapd package in Ubuntu:
  New

Bug description:
  Test procedure:
  1. Log in to Gnome as a Active Directory user.
  2. Launch browser (firefox or chrome) - make sure there's no existing config 
(we are interested in the default Downloads location).
  3. Download a file via the browser.
  4. Check where it was downloaded.

  Expected result:
  The files are downloaded to ~/Downloads (or a translated equivalent).

  Actual result:
  The files are downloaded to:
  ~/snap/firefox/common/Downloads
  ~/snap/chromium/current/Downloads

  For local users the behavior is as expected (all files are downloaded
  to ~/Downloads).

  This is very inconvenient for enterprise environments where manual
  setting modification is needed on every host.

  This has been tested on 22.04 with the following versions:
  - firefox (116.0.3 Mozilla Firefox Snap for Ubuntu canonical-002 - 1.0)
  - chromium (Version 116.0.5845.110 (Official Build) snap (64-bit))
  - snapd 2.58+22.04.1

  [1] https://ubuntu.com/server/docs/service-sssd-ad

To manage notifications about this bug go to:
https://bugs.launchpad.net/snapd/+bug/2025447/+subscriptions


-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to : desktop-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp