LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 07-21-2007, 01:33 AM   #1
hemubtech@yahoo.com
LQ Newbie
 
Registered: Jul 2007
Posts: 2

Rep: Reputation: 0
Post Unable to create a file or directory using a JSP program


hi ,
this is hemu...
i am unable to crate either a folder or a file in linux using a JSP program.If I create the folder manually and search for it its giving the status as true.

I am using Fedora 6 Version of Linux. Is this with the problem of Linux Version or with the installation or with the file permissions
 
Old 07-21-2007, 03:43 AM   #2
lazlow
Senior Member
 
Registered: Jan 2006
Posts: 4,363

Rep: Reputation: 172Reputation: 172
Just a guess, but it may be a SELinux rule. Java is a pretty big target for malware.
 
Old 07-21-2007, 06:33 AM   #3
jay73
LQ Guru
 
Registered: Nov 2006
Location: Belgium
Distribution: Ubuntu 11.04, Debian testing
Posts: 5,019

Rep: Reputation: 133Reputation: 133
This could be one of those confusing features of java: "true" does not necessarily mean that a file / directory has physically been created, i.e. on disk. If you created the file in an accessible directory (such as home), you shouldn't experience any issue with permissions. If it still doesn't work , you should look into the exact meaning of the mkdir etc. Making the files and directories (empty) oneself before setting to work is something that should help.
 
  


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
Unable to create directory sunhui Linux - Software 1 04-02-2007 11:09 PM
Can we create a java file using jsp Anand Kiran Programming 3 01-22-2007 03:10 AM
Unable to create a tar file from spanning a directory tree? R00ts Linux - General 2 11-01-2006 10:15 AM
Unable to create directory as user technician Slackware 4 02-15-2004 01:28 AM
mogrify: Unable to create temporary file. steelgrave Linux - Software 5 05-31-2003 05:46 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

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