The UNIX and Linux Forums  


Go Back   The UNIX and Linux Forums > Top Forums > Shell Programming and Scripting
.
google unix.com



Shell Programming and Scripting Post questions about KSH, CSH, SH, BASH, PERL, PHP, SED, AWK and OTHER shell scripts and shell scripting languages here.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Lesser-known Gnome Panel Applets can improve your desktop iBot UNIX and Linux RSS News 0 03-18-2008 04:10 AM
Webmatic applets 1.47 (Default branch) iBot Software Releases - RSS News 0 01-29-2008 11:00 PM
df -k and deleting files ajayr111 UNIX for Dummies Questions & Answers 4 03-14-2007 08:03 PM
Deleting Files bc4 UNIX for Dummies Questions & Answers 1 01-25-2007 11:27 PM
Deleting old files shiroh_1982 Shell Programming and Scripting 2 06-21-2006 05:42 AM

Closed Thread
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Bulgarian Greek Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 11-21-2001
Jayathirtha Jayathirtha is offline
Registered User
  
 

Join Date: Aug 2001
Location: Bangalore
Posts: 16
Lightbulb Deleting files from applets

I am using a perl script which deletes the files in a temp area, when run from the command prompt, but fails when called from the applet through URL.
The permissions for the files and directory is "777".
what may be the reason......??????

help me out.....

thanks,
Jay.
  #2 (permalink)  
Old 11-21-2001
doeboy's Avatar
doeboy doeboy is offline
Registered User
  
 

Join Date: Oct 2001
Location: Here
Posts: 137
I don't know if this applies in your specific case, but generally you cannot delete files through an applet (assuming you mean JAVA) as this is considered a potential security risk. (A rogue program could potentially have the ability to arbitrarily delete files of someone's system which could have disastrous results)
But you are having the applet call this script, which is doing the removing of files, I don't know if this applies in your case.

Anyone know some more about this?
Closed Thread

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -4. The time now is 10:54 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0