Description of problem: When I start gnomecatalog it creates the file /tmp/tmp_gnomecatalog_icon.png and it doesn't delete this file after exit. If other user starts gnomecatalog later it doesn't show catalog because unable to delete file. But if I delete this file manually, every user can start gnomecatalog and catalog is shown. Version-Release number of selected component (if applicable): gnomecatalog-0.3.4.2-1.fc11 Steps to Reproduce: 1. Start gnomecatalog 2. Add a new disk to the catalog 3. Save the catalog as file to the shared directory 4. Close gnomecatalog 5. Start gnomecatalog as another user 6. Try to open saved catalog. The catalog isn't shown 7. After exit you will see error in logs Additional info: Traceback (most recent call last): File "/usr/lib/python2.6/site-packages/gnomecatalog/data.py", line 69, in load_data data = self.db.read_data() File "/usr/lib/python2.6/site-packages/gnomecatalog/storage.py", line 371, in read_data data.append(fstypes.Disk(c["name"], c["root"], c["id"], self, c["idcatalog"], c["icon"], c['comment'], c['borrow'])) File "/usr/lib/python2.6/site-packages/gnomecatalog/fstypes.py", line 147, in __init__ open('/tmp/tmp_gnomecatalog_icon.png', 'wb').write(icon) IOError: [Errno 13] Permission denied: '/tmp/tmp_gnomecatalog_icon.png'
I would think this is a permission issue as the other user doesn't have permission to open someone else's file. Have you tried doing the following. chmod 777 yourgnomecatalog.catalog which should give permission for everyone to use that file and then try opening it by that other user.
(In reply to comment #1) > I would think this is a permission issue as the other user doesn't have > permission to open someone else's file. No. As I wrote above "if I delete this file (/tmp/tmp_gnomecatalog_icon.png) manually, every user can start gnomecatalog and the catalog is shown" > Have you tried doing the following. > > chmod 777 yourgnomecatalog.catalog > > which should give permission for everyone to use that file and then try opening > it by that other user. My catalog file "gnomeCatalog.db" has following permissions -rw-rw-r-- and the file is located in shared directory. I tried "chmod 777 gnomeCatalog.db" but nothing changed.
Created attachment 364343 [details] Proposed patch Here is my patch for gnomecatalog. It works for me.
gnomecatalog-0.3.4.2-3.fc11 has been submitted as an update for Fedora 11. http://admin.fedoraproject.org/updates/gnomecatalog-0.3.4.2-3.fc11
gnomecatalog-0.3.4.2-3.fc10 has been submitted as an update for Fedora 10. http://admin.fedoraproject.org/updates/gnomecatalog-0.3.4.2-3.fc10
gnomecatalog-0.3.4.2-3.fc11 has been pushed to the Fedora 11 testing repository. If problems still persist, please make note of it in this bug report. If you want to test the update, you can install it with su -c 'yum --enablerepo=updates-testing update gnomecatalog'. You can provide feedback for this update here: http://admin.fedoraproject.org/updates/F11/FEDORA-2009-10766
gnomecatalog-0.3.4.2-3.fc10 has been pushed to the Fedora 10 testing repository. If problems still persist, please make note of it in this bug report. If you want to test the update, you can install it with su -c 'yum --enablerepo=updates-testing update gnomecatalog'. You can provide feedback for this update here: http://admin.fedoraproject.org/updates/F10/FEDORA-2009-10839
gnomecatalog-0.3.4.2-3.fc10 has been pushed to the Fedora 10 stable repository. If problems still persist, please make note of it in this bug report.
gnomecatalog-0.3.4.2-3.fc11 has been pushed to the Fedora 11 stable repository. If problems still persist, please make note of it in this bug report.
gnomecatalog-0.3.4.2-3.fc12 has been submitted as an update for Fedora 12. http://admin.fedoraproject.org/updates/gnomecatalog-0.3.4.2-3.fc12
gnomecatalog-0.3.4.2-3.fc12 has been pushed to the Fedora 12 stable repository. If problems still persist, please make note of it in this bug report.