LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Security
User Name
Password
Linux - Security This forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.

Notices


Reply
  Search this Thread
Old 01-19-2005, 03:21 PM   #1
sopiaz57
Member
 
Registered: Apr 2003
Distribution: RH 8
Posts: 246

Rep: Reputation: 30
Where is my file being saved, linux IO


Hello, I have a web application in PHP that is uploading a users file from the net to my server. I found a setting in php.ini which allows me to set a default upload directory to /tmp, however after rebooting the server I still dont see any files being saved to the /tmp.

Is there a linux command which will tell me what process is hitting what folder on disk?

Thank you
 
Old 01-19-2005, 05:26 PM   #2
mjrich
Senior Member
 
Registered: Dec 2001
Location: New Zealand
Distribution: Debian
Posts: 1,046

Rep: Reputation: 45
Re: Where is my file being saved, linux IO

Quote:
Originally posted by sopiaz57
...however after rebooting the server I still dont see any files being saved to the /tmp.
/tmp is probably being cleaned up as you restart. Are the files there before the reboot ? Anyhoo, perhaps you may wish to change to default write location to somewhere more permanent, at least till you know whether it's working.
 
Old 01-20-2005, 09:55 AM   #3
sopiaz57
Member
 
Registered: Apr 2003
Distribution: RH 8
Posts: 246

Original Poster
Rep: Reputation: 30
/tmp

/tmp is not being cleaned out, it just dosent seem like php is writing there at all. I am not rebooting the server I am only rebooting apache.
 
  


Reply



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
Linux saved my butt again. /bin/bash LinuxQuestions.org Member Success Stories 2 10-01-2005 12:20 AM
How to call a saved file using Gtk programming m.harshavardhan Linux - Software 2 08-20-2005 07:10 AM
how to write n saved a string to a file? geminigal Programming 3 06-08-2005 08:40 AM
Linux saved my download Boffy LinuxQuestions.org Member Success Stories 1 02-28-2005 07:16 PM
File permsissions for some backup files saved onto cd r3dhatter Linux - Newbie 5 08-06-2004 06:02 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Security

All times are GMT -5. The time now is 05:13 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