error in createShortcut ... NS_ERROR_FILE_ACCESS_DENIED
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
webfav |
Confirmed
|
Low
|
Unassigned |
Bug Description
Webfav is working with my user. I have just create a new account and when I try to add a new favourite with webfav, an popup with an error appears:
error in createShortcut: [Exception... "Component returned failure code: 0x80520015 (NS_ERROR_
This new user was created from zero with the adduser command and i haven't modified any configuration (the first app that I had lauched after the login was firefox).
I have disabled all extensions but the problem persist.
S.O.: Ubuntu Karmic beta (last system upated 25-10-2009)
Webfav: 1.16-0ubuntu1
Firefox: 3.5.3+build1+
Firefox extensions: Ubuntu Firefox Modifications 0.8
Firefox theme: Default 3.5.3
Firefox language: Firefox es-Es 3.5.2
Ok, I think that I have got the cause:
1.- Login as userA
2.- Open firefox. A directory named /tmp/webfav is created. It is owned by userA
3.- Open another session as userB
4.- Firefox can not write on /tmp/webfav so it launch the exception
If you delete /tmp/webfav (rm -rf /tmp/webfav), userB can add favourites without problem.
A possible solution can be to create directory in temp with the user name in the name (something like /tmp/webfav-userA)