drifter Posted December 9, 2006 Share Posted December 9, 2006 I have folder with a ton of thumnails.I resize with the whole code like $im = imagecreatefromjpeg($source); I did try out using the method exec("/usr/bin/convert $large -thumbnail '240x240>' $mediumlarge");now lately when using the first method (which is the one I want to stick with) I am getting some failed to write errors. My only guess is that maybe some of these images were created by the other method so they have a different owner? I am not really sure how to tell.is there a command that I can type into php or command line that I can see who owns a specific file? the dir has like over a million pics, so just listing them will not work much.ThanksScott Link to comment https://forums.phpfreaks.com/topic/30073-ownership-of-files/ Share on other sites More sharing options...
trq Posted December 10, 2006 Share Posted December 10, 2006 [quote]is there a command that I can type into php or command line that I can see who owns a specific file?[/quote]Assuming this is a Linux system, runing this through the terminal will show you the files owner:group.[code]ls -l filename[/code] Link to comment https://forums.phpfreaks.com/topic/30073-ownership-of-files/#findComment-138255 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.