LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu
User Name
Password
Ubuntu This forum is for the discussion of Ubuntu Linux.

Notices


Reply
  Search this Thread
Old 12-23-2015, 04:33 PM   #1
flen
LQ Newbie
 
Registered: Sep 2015
Posts: 2

Rep: Reputation: Disabled
Permission issue with gedit (only)


gedit will create, edit, script files just fine in any language. When I exit, I get the error

* (gedit:3371): WARNING **: Could not write gedit state file: Failed to create file '/home/me/.gnome2/gedit/gedit-2.KP6X9X': Permission denied

The file saves just fine. I have noticed that upon restart my gedit settings (syntax highlighting, etc) are not saved. I have tried editing permissions for the file specified above. I am able to change permissions but it does not resolve the problem. Is there a particular set of permissions I need? I have tried a few, including rwx for all group and user. thanks in advance

Also, the files save and compile, execute just fine. Seems to be a pesky error, may or may not be linked to my inability to save gedit prefs through a reboot
 
Old 12-23-2015, 05:45 PM   #2
ondoho
LQ Addict
 
Registered: Dec 2013
Posts: 19,872
Blog Entries: 12

Rep: Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053
it's just a warning.
could be a consequence of using gedit with sudo/gksu/su...
try
Code:
sudo rm -r /home/me/.gnome2/gedit/gedit-2.KP6X9X
 
  


Reply

Tags
gedit, permissions



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Changing shortcut keys for gedit using /.config/gedit/accels has no impact in program charlemagne-is-my-son Linux - Software 1 12-16-2014 08:16 AM
Permission issue? svenh Linux - Software 4 09-03-2014 05:43 PM
Permission Issue?? bradshaw79 Linux - Server 1 01-10-2014 10:31 AM
[SOLVED] Permission Issue xavinux Linux - Server 10 11-08-2011 06:17 AM
Gnome 3, Gedit 3.0.5, when I open file with gedit, it created one more unneeded tab Mr. Alex Linux - Software 1 06-18-2011 07:58 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu

All times are GMT -5. The time now is 03:08 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration