mintupdate / apt requires access to my home directory

Bug #1199370 reported by John Edwards
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Linux Mint
Invalid
Undecided
Unassigned
apt (Ubuntu)
Invalid
Undecided
Unassigned

Bug Description

__Problem__

When running mintupdate I encounter the following error:

Unable to change to /home/jedwards/ - chdir (13: Permission denied)

My home directory is NFS mounted and secured with kerberos. The root user has no access to my home directory and thus the chdir failes.

I encounter the same problem if I run:

cd /home/jedwards
sudo apt-get update

__Expected__

I don't think changing the behavoir of apt is something for the Linux Mint team but mintupdate should not require access to my home directory.

__Reproduction__

Run mintupdate as a user with an NFS mounted home directory to which root has no access (either root squashing or kerberos).

__Proposed solution__

Modify /usr/bin/mintupdate to chdir to "/":

See my modified version attached.

Tags: patch
Revision history for this message
John Edwards (john-edwards) wrote :
Revision history for this message
John Edwards (john-edwards) wrote :

Oh and I have this problem on Mint 13 (Maya) LTS

Revision history for this message
John Edwards (john-edwards) wrote :
Revision history for this message
Ubuntu Foundations Team Bug Bot (crichton) wrote :

The attachment "mintupdate chdir patch" seems to be a patch. If it isn't, please remove the "patch" flag from the attachment, remove the "patch" tag, and if you are a member of the ~ubuntu-reviewers, unsubscribe the team.

[This is an automated message performed by a Launchpad user owned by ~brian-murray, for any issues please contact him.]

tags: added: patch
Revision history for this message
David Henningsson (diwic) wrote :

Thanks for the patch. However given your patch it sounds like this bug is Mint specific, so I'm marking the ubuntu task invalid.

Changed in apt (Ubuntu):
status: New → Invalid
Changed in linuxmint:
status: New → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.