If you are going to use "su" to officially switch to the root users just make sure you do "su -" with the dash.
On Wed, Feb 29, 2012 at 2:10 PM, Reindl Harald <h.rei...@thelounge.net> wrote: > > > Am 29.02.2012 19:20, schrieb Larry Martell: >> Is the sudo succeeding? If it is, then there's no reason you shouldn't >> be able to cd into that dir. If not, then you're going to have to be >> able to get root privileges on your own machine. >> >> Alternatively, you could explicitly set the location of the error log >> in your mysql config file (my.cnf) , to a location you can access, >> e.g. >> >> log-error=/tmp/mysqld.log >> >> put it under [mysqld] and [mysqld_safe] > > but you would have still NO PERMISSIONS to that logfile > because it is owned by mysqld and a normal user has > usually no permissions to daemon-logs especially > because /tmp has normally 1777 -> everybody can > write but after create a file only the owner is > allowed to access it > > why not using "su" to REALLY switch to root? > -- ---------------------------------------------- "May the Source be with you." -- MySQL General Mailing List For list archives: http://lists.mysql.com/mysql To unsubscribe: http://lists.mysql.com/mysql