[Bug 189168] New: You do not have write access to your home directory base path

classic Classic list List threaded Threaded
22 messages Options
12
Reply | Threaded
Open this post in threaded view
|

[Bug 189168] New: You do not have write access to your home directory base path

Bugzilla from tps@vr-web.de
https://bugs.kde.org/show_bug.cgi?id=189168

           Summary: You do not have write access to your home directory
                    base path
           Product: digikam
           Version: unspecified
          Platform: MS Windows
        OS/Version: MS Windows
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: general
        AssignedTo: [hidden email]
        ReportedBy: [hidden email]


Version:            (using KDE 4.2.2)
Compiler:          MSVC
OS:                MS Windows
Installed from:    MS Windows

After installing digikam exausts "You do not have write access to your home
directory base path". Only a button "OK" is shown. Hitting this button an other
dialog appears asking you to change the given path.

Changing the path does not help in any way. Same error message over and over
again. Looks like there is some serious problem with checking access rights on
Windows!

BTW: the error message is wrong. I *do* indeed have rights to write all parts
of my home path!

--
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[Bug 189168] You do not have write access to your home directory base path

Gilles Caulier-4
https://bugs.kde.org/show_bug.cgi?id=189168


Gilles Caulier <[hidden email]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
                 CC|                            |[hidden email]
          Component|general                     |setup
            Version|unspecified                 |0.10.0
     Ever Confirmed|0                           |1




--- Comment #1 from Gilles Caulier <caulier gilles gmail com>  2009-04-09 19:17:34 ---
I confirm. It's always reproducible under XP or Vista.

Patrick,

Code relevant is here :

http://lxr.kde.org/source/extragear/graphics/digikam/digikam/digikamfirstrun.cpp#327

Gilles

--
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[Bug 189168] You do not have write access to your home directory base path

Christian Ehrlicher
In reply to this post by Bugzilla from tps@vr-web.de
https://bugs.kde.org/show_bug.cgi?id=189168


Christian Ehrlicher <[hidden email]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |[hidden email]
         Resolution|                            |FIXED




--- Comment #2 from Christian Ehrlicher <Ch Ehrlicher gmx de>  2009-04-12 15:29:35 ---
Should be fixed some time ago with the KUrl::path() -> KUrl::toLocalFile() -
fixes.

--
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[Bug 189168] You do not have write access to your home directory base path

Bugzilla from tps@vr-web.de
In reply to this post by Bugzilla from tps@vr-web.de
https://bugs.kde.org/show_bug.cgi?id=189168





--- Comment #3 from  <tps vr-web de>  2009-04-12 22:14:54 ---
In this case: i there a new build available for Windows?

--
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[Bug 189168] You do not have write access to your home directory base path

Bugzilla from tps@vr-web.de
In reply to this post by Bugzilla from tps@vr-web.de
https://bugs.kde.org/show_bug.cgi?id=189168


[hidden email] changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |REOPENED
         Resolution|FIXED                       |




--- Comment #4 from  <tps vr-web de>  2009-04-19 19:40:00 ---
INstaled a new build: same result. --- seems not to be fixed!

--
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[Bug 189168] You do not have write access to your home directory base path

Gilles Caulier-4
In reply to this post by Bugzilla from tps@vr-web.de
https://bugs.kde.org/show_bug.cgi?id=189168





--- Comment #5 from Gilles Caulier <caulier gilles gmail com>  2009-04-19 19:54:02 ---
Chistian,

I confirm. Both XP and Vista has the problem.

I don't understand why M$ win32 user directory is too complicated to drive.

What's the problem exactly ?

PS : like i hate M$ OS...

Gilles Caulier

--
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[Bug 189168] You do not have write access to your home directory base path

Gilles Caulier-4
In reply to this post by Bugzilla from tps@vr-web.de
https://bugs.kde.org/show_bug.cgi?id=189168





--- Comment #6 from Gilles Caulier <caulier gilles gmail com>  2009-04-19 20:56:53 ---
Ok,

It's very nice ! My file system is FAT32.

Under win32, take file manager, go to your images location from your home
directory.

For me, it's "C:\Documents and Settings\Gilles\Mes documents\Mes images"...

Look file properties of this folder : it's read only.

The question is Why ???

Under Win32, FAT32 read only attribut is dummy. it's just a flag to prevent to
remove a folder to user if necessary. You can alawys wrap around this
restriction.

I have not tested with NTFS instead...

tps, What's your file system exactly ?

Gilles Caulier

--
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[Bug 189168] You do not have write access to your home directory base path

Bugzilla from tps@vr-web.de
In reply to this post by Bugzilla from tps@vr-web.de
https://bugs.kde.org/show_bug.cgi?id=189168





--- Comment #7 from  <tps vr-web de>  2009-04-19 21:09:12 ---
Filesystem NTFS 5.0 (Windows XP)
The user "tps" has all rights on "C:\HOME\tps\My Documents\My Pictures". He is
allowed everything. Had a look at files to be created (mybe they exist). Files
do not exist. Had debugging on, then looking what is going. Found: the files do
not exist, stat gives back an error (code file does not exist) digiKam takes
this error code and exausts the wrong error message!

If you could confirm this ...

I could try to create the files neccessary manualy, then try again --- maybe
this gives some more idea what is going wrong!

--
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[Bug 189168] You do not have write access to your home directory base path

Christian Ehrlicher
In reply to this post by Bugzilla from tps@vr-web.de
https://bugs.kde.org/show_bug.cgi?id=189168


Christian Ehrlicher <[hidden email]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|REOPENED                    |NEW




--- Comment #8 from Christian Ehrlicher <Ch Ehrlicher gmx de>  2009-04-19 21:32:01 ---
I can confirm it with ntfs and will do some more debugging in the next days. In
the meanwhile another location does work.

--
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[Bug 189168] You do not have write access to your home directory base path

Gilles Caulier-4
In reply to this post by Bugzilla from tps@vr-web.de
https://bugs.kde.org/show_bug.cgi?id=189168





--- Comment #9 from Gilles Caulier <caulier gilles gmail com>  2009-04-19 23:39:21 ---
Yes, it's work in another place, as C:/temp for ex.

But why home dir has read only flag ? I would to understand M$ logic (if there
is one...)

Gilles Caulier

--
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[Bug 189168] You do not have write access to your home directory base path

Gilles Caulier-4
In reply to this post by Bugzilla from tps@vr-web.de
https://bugs.kde.org/show_bug.cgi?id=189168





--- Comment #10 from Gilles Caulier <caulier gilles gmail com>  2009-04-21 21:26:08 ---
Ok, this is the solution :

Original post :

http://techrepublic.com.com/5208-6230-0.html?forumID=5&threadID=173729&messageID=1787054

The response :

http://techrepublic.com.com/5208-6230-0.html?forumID=5&threadID=173729&messageID=1767669

and the solution :

http://techrepublic.com.com/5208-6230-0.html?forumID=5&threadID=173729&start=0&tag=rbxccnbdisc1

Do not start an easy troll. M$ OS are really great and are used everywhere on
this planet. Please respect god (-:=)))...

Gilles Caulier

--
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[Bug 189168] You do not have write access to your home directory base path

Christian Ehrlicher
In reply to this post by Bugzilla from tps@vr-web.de
https://bugs.kde.org/show_bug.cgi?id=189168





--- Comment #11 from Christian Ehrlicher <Ch Ehrlicher gmx de>  2009-04-22 06:29:36 ---
I wolud suggest using 'My Pictures\Digikam' as directory.
Also do you think it's a godd idea to put the database into 'My Pictures' ?

--
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[Bug 189168] You do not have write access to your home directory base path

Gilles Caulier-4
In reply to this post by Bugzilla from tps@vr-web.de
https://bugs.kde.org/show_bug.cgi?id=189168





--- Comment #12 from Gilles Caulier <caulier gilles gmail com>  2009-05-07 12:39:54 ---
I love : how M$ wrap around std posix file attribut to invents new rules... I
hate M$ :

http://support.microsoft.com/kb/256614

This compagny is completely dummy...


To Christian : you can customize DB file place where you want on your HDD.

--
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[Bug 189168] You do not have write access to your home directory base path

Gilles Caulier-4
In reply to this post by Bugzilla from tps@vr-web.de
https://bugs.kde.org/show_bug.cgi?id=189168





--- Comment #13 from Gilles Caulier <caulier gilles gmail com>  2009-05-11 23:07:05 ---
Code relevant is now moved to new First Run assistant. Problem still the same :

http://lxr.kde.org/source/extragear/graphics/digikam/utilities/firstrun/collectionpage.cpp#250

http://lxr.kde.org/source/extragear/graphics/digikam/utilities/firstrun/collectionpage.cpp#315

Gilles Caulier

--
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[Bug 189168] You do not have write access to your home directory base path

Bugzilla from meldavid@acc.umu.se
In reply to this post by Bugzilla from tps@vr-web.de
https://bugs.kde.org/show_bug.cgi?id=189168


David Eriksson <[hidden email]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[hidden email]




--- Comment #14 from David Eriksson <meldavid acc umu se>  2009-05-17 23:08:16 ---
Hi,

I have looked at this and as noted above and in this note
http://doc.trolltech.com/4.5/qfile.html#platform-specific-issues isWritable
can't be trusted on Windows. The attached patch instead creates a temporary
file to test if the directory is writable. It also fixes the same problem in
SetupCollections. Is there a reason way in SetupCollections this check only
renders a warning and one can go ahead and try to move the database or create a
new in read-only directory, which will fail?

David

--
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[Bug 189168] You do not have write access to your home directory base path

Bugzilla from meldavid@acc.umu.se
In reply to this post by Bugzilla from tps@vr-web.de
https://bugs.kde.org/show_bug.cgi?id=189168





--- Comment #15 from David Eriksson <meldavid acc umu se>  2009-05-17 23:09:22 ---
Created an attachment (id=33777)
 --> (http://bugs.kde.org/attachment.cgi?id=33777)
Patch with temporary file as check for read only

--
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[Bug 189168] You do not have write access to your home directory base path

Gilles Caulier-4
In reply to this post by Bugzilla from tps@vr-web.de
https://bugs.kde.org/show_bug.cgi?id=189168





--- Comment #16 from Gilles Caulier <caulier gilles gmail com>  2009-05-18 07:55:34 ---
SVN commit 969357 by cgilles:

apply patch #33777 from David Eriksson
CCBUGS: 189168


 M  +17 -0     firstrun/collectionpage.cpp  
 M  +15 -3     setup/setupcollections.cpp  


WebSVN link: http://websvn.kde.org/?view=rev&revision=969357

--
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[Bug 189168] You do not have write access to your home directory base path

Gilles Caulier-4
In reply to this post by Bugzilla from tps@vr-web.de
https://bugs.kde.org/show_bug.cgi?id=189168





--- Comment #17 from Gilles Caulier <caulier gilles gmail com>  2009-05-18 08:07:47 ---
>Is there a reason way in SetupCollections this check only
>renders a warning and one can go ahead and try to move the database or create a
>new in read-only directory, which will fail?

David,

I'm not sure to understand your question...

Gilles Caulier

--
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[Bug 189168] You do not have write access to your home directory base path

Bugzilla from meldavid@acc.umu.se
In reply to this post by Bugzilla from tps@vr-web.de
https://bugs.kde.org/show_bug.cgi?id=189168





--- Comment #18 from David Eriksson <meldavid acc umu se>  2009-05-18 12:06:13 ---
Gilles,

If I choose a read-only directory in the First Run assistant I can not go on
with the setup. If I in the SetupCollections chooses a read-only directory I
get a warning. Then after the warning I can still press Ok. What then happens
that I get the question to move the database or create a new. No matter which I
choose the result is the same, I end up with no database at all. So my question
is, is there a reason users can run without a database or should the read-only
check prevent trying to move the database in this case?

David

--
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[Bug 189168] You do not have write access to your home directory base path

Gilles Caulier-4
In reply to this post by Bugzilla from tps@vr-web.de
https://bugs.kde.org/show_bug.cgi?id=189168


Gilles Caulier <[hidden email]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[hidden email]




--- Comment #19 from Gilles Caulier <caulier gilles gmail com>  2009-05-18 12:20:26 ---
digiKam cannot run without a sqlite DB file... I think...

In First Run case, no digiKam DB version 4 file is present. It created to
migrate version 3 to 4.

With Collection Setup, it can be different, because a DB version 4 file already
exist. But i'm agree, in case of moving DB file to a read only dir, what's
happen ? I think digiKam still to use old DB file...

Marcel, can you confirm ?

Gilles Caulier

--
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
12