Ticket #914 (closed defect: fixed)

Opened 2 years ago

Last modified 2 years ago

Permissions on user's .qgis directory

Reported by: micha Owned by: live-demo@…
Priority: major Milestone:
Component: LiveDVD Keywords: qgis permissions, 6.0
Cc:

Description

The directory ~user/.qgis is owned by root. As a result 'user' cannot install QGIS plugins.

Change History

Changed 2 years ago by kalxas

perhaps we could fix this by simply adding to the installation script a:

#chown -R user:users /home/user/.qgis

Changed 2 years ago by kalxas

  • status changed from new to closed
  • resolution set to fixed

fixed in rev 8123

Changed 2 years ago by wildintellect

Looking at beta1 gdal_pam folder exists in /home/user/.qgis/ but .qgis shouldn't exist until the first time QGIS is run. So what in our creation scripts is doing it?

I checked and the qgis packages installed via synaptic do not appear to create the mystery folder. If we can identify this we can actually fix the issue and not just work around it.

Changed 2 years ago by micha

I also noticed in a fresh install of Ubuntu, after running apt-get install qgis that the .qgis was created with one file inside. Maybe a gdal package created this dir??

Changed 2 years ago by hamish

  • keywords permissions, 6.0 added; permissions removed

this sounds rather weird.

perhaps look in the qgis*.postinst scripts /var/lib/dpkg/info

Hamish

Note: See TracTickets for help on using tickets.