Home > Could Not > Could Not Save History To File Permission Denied

Could Not Save History To File Permission Denied

Browse other questions tagged postgresql debian or ask your own question. Unsold Atari videogames dumped in a desert? share|improve this answer edited Aug 8 '14 at 20:09 Mateo 6,80184264 answered Jun 28 '13 at 1:01 thefourtheye 3,85721129 add a comment| Your Answer draft saved draft discarded Sign up Edit: I'm trying to create the file conky-start.sh, not change or run it. http://strobelfilms.com/could-not/could-not-save-master-table-to-file-permission-denied.html

more hot questions question feed about us tour help blog chat data legal privacy policy work here advertising info mobile contact us feedback Technology Life / Arts Culture / Recreation Science Even after I did initdb and then created my test database in the /var/lib/postgres/data/ directory, a .psql_history file was not created. How do organic chemistry mechanisms become accepted? You are trying to connect as the 'prescribing' user but logged in as the linux 'postgres' user. check over here

Adv Reply November 30th, 2011 #10 sureshsaragadam View Profile View Forum Posts Private Message 5 Cups of Ubuntu Join Date Dec 2009 Location Visakhapatnam Beans 41 DistroUbuntu Re: Bash history more stack exchange communities company blog Stack Exchange Inbox Reputation and Badges sign up log in tour help Tour Start here for a quick overview of the site Help Center Detailed Was having this issue as well.

The last fresh install it worked fine from session to session, this time it did not, right from the start. Getting error message when integrating a simple piecewise function Who is this six-armed blonde female character? history is back!!! Related 15How to copy files into /usr/local/? (permission denied)2Evince won't save files, says “Permission denied”1Permission denied to copy or paste files in the system folders0When I try to save any file,

Is scroll within a card good or bad? (In desktop) When hiking, why is the right of way given to people going up? Since that directory doesn't exist, the PSQL program cannot access that folder to create its history file. (PSQL is the interactive command line for PGSQL). reply | permalink David F. https://bugs.launchpad.net/bugs/32696 Unfortunately, as I said in my original post, using the .psqlrc option to set the HISTFILE to the user directory didn't work either.

But, it happens to me too after straight postgress installation on an Ubuntu 14.04 Amazon EC2 instance. Tango Icons Tango Desktop Project. Here's how i'm solving it: create a new system account (supportdb) for doing direct db manipulation grant supportdb identical access to the databases as www-data. However, I think it's quite good that we don't store command history of the www-data user, since the commands people tend to run manually are related to database redaction (that is,

I'm guessing > it's a Tiger issue but I don't know what to do about it. why not try these out sureshsaragadam - there are no boundaries for Linux except Linux. Thanks everyone for helping –plaguedoctor Jun 28 '13 at 6:41 Thank you, Seth. –chili555 Jun 29 '13 at 19:38 add a comment| up vote 0 down vote You have Andrew Adv Reply August 21st, 2008 #6 thedrunkduck View Profile View Forum Posts Private Message First Cup of Ubuntu Join Date Feb 2008 Beans 2 Re: Bash history not working

Is there a non-medical name for the curve where index finger and thumb meet? Check This Out If you're doing a redaction, try to structure your query such that the query itself doesn't contain the material you're trying to expunge. Now you ll be able to save the save without any problem. Validate Random Die Tippers How to replace not found reference "??" in an another constant e.g "REF"?

Not the answer you're looking for? How would I do that? 13.04 permissions gedit conky share|improve this question edited Jun 29 '13 at 19:27 guntbert 6,352113259 asked Jun 28 '13 at 0:47 plaguedoctor 871211 add a comment| Thank you very much. –Richard Mar 12 '15 at 11:22 Check the manual for things like this: postgresql.org/docs/current/interactive/auth-pg-hba-conf.htm‌l If you change "peer" to "md5", you can connect the way Source more stack exchange communities company blog Stack Exchange Inbox Reputation and Badges sign up log in tour help Tour Start here for a quick overview of the site Help Center Detailed

You need todownload and install the real GNU Readline, having eliminated thereadline > whatever symlink. be killed in the war vs be killed by the war Does a byte contain 8 bits, or 9? drwxr-xr-x. 4 root daemon 45 Dez 29 22:32 ..

root has perms for the user history file 4) changed user and group for user history file Code: :~$ sudo chown rd:rd /home/rd/.bash_history 5) closing the terminal and restarting and running

Here are some reference solutions. Is the form "double Dutch" still used? Could large but sparsely populated country control its borders? Explain it to me like I'm a physics grad: Greenhouse Effect How does ssh run a command?

Too many advisors How do organic chemistry mechanisms become accepted? I'm presuming you installed your database in a different location. The important ones are HISTFILE, HISTFILESIZE and HISTSIZE. have a peek here The last fresh install it worked fine from session to session, this time it did not, right from the start.

Remember to restart postgresql service after that change. –krzysiek.ste Mar 12 '15 at 11:38 @krzysiek.ste: reload is good enough, you don't need a restart. Shortest auto-destructive loop Employer offering Roth 401k as well as traditional 401(k), established in career How to block Hot Network Questions in the sidebar of Stack Exchange network? I just did "gksudo gedit", and then I was able to save the file anywhere I wanted. securing the sql server ?

If you are planning on using that user interactively (not advised at all), then you'll have to set its HOME directory to some valid folder. Bug958650 - [fork][v2carts]Show "Permission denied" when quitting from postgresql-8.4 for scalable app Summary: [fork][v2carts]Show "Permission denied" when quitting from postgresql-8.4 fo... I'm not sure whether the error is to do with the lack of a history file, or whether it's some interaction between Unix user and database user that I don't fully In other words if I close the terminal and open a new one, it reads the history as blank.

Adding new group `supportdb' (1003) ... Read https://help.ubuntu.com/community/RootSudo for more information on sudo.