Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I am trying to delete a file created with a SELECT ... INTO OUTFILE statement into the /tmp directory

The file belongs to the mysql user (who doesn't have a login shell).

I have administrative privileges on the database (i.e. I can login into mysql as the root user), but I don't have the root password of the machine onto which the service runs.

Is there a way to delete the file myself, or do I need to relay the task to the administrator of that machine each time?

thanks,

Silvio

share|improve this question

1 Answer 1

up vote 1 down vote accepted

If your system user doesn't own the file in tmp or is at least member of the same group as the file belongs to, you can't delete, edit or move it.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.