Search...
FAQs
Subscribe
Pie
FAQs
Recent topics
Flagged topics
Hot topics
Best topics
Search...
Search within GNU/Linux
Search Coderanch
Advance search
Google search
Register / Login
Post Reply
Bookmark Topic
Watch Topic
New Topic
programming forums
Java
Mobile
Certification
Databases
Caching
Books
Engineering
Micro Controllers
OS
Languages
Paradigms
IDEs
Build Tools
Frameworks
Application Servers
Open Source
This Site
Careers
Other
Pie Elite
all forums
this forum made possible by our volunteer staff, including ...
Marshals:
Campbell Ritchie
Ron McLeod
Paul Clapham
Devaka Cooray
Tim Cooke
Sheriffs:
Rob Spoor
Liutauras Vilda
paul wheaton
Saloon Keepers:
Tim Holloway
Tim Moores
Mikalai Zaikin
Carey Brown
Piet Souris
Bartenders:
Stephan van Hulst
Forum:
GNU/Linux
Creating a text file from a web application
Abebe Belew
Greenhorn
Posts: 19
posted 16 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
Hi all.
I am trying to create a text file from a
struts
web app.
The owner of the file I create is root as my web app is owned by root.
How can I change the owner to myself? I tried running a shell script but doesnt seem to work. The OS = Linux red hat.
Thanks in advance for your help
Masoud Kalali
Author
Posts: 531
I like...
posted 16 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
Do you tried to execute
chown yourself file_name
as root user in your script?
if you could post more details like your script ... it will be easier to come with a solution.
Thanks.
Masoud Kalali
Software Engineer -
My Weblog
-
GlassFish Security
Opportunity is missed by most people because it is dressed in overalls and looks like work - Edison. Tiny ad:
Smokeless wood heat with a rocket mass heater
https://woodheat.net
reply
reply
Bookmark Topic
Watch Topic
New Topic
Boost this thread!
Similar Threads
FilesDownload from FTP
log4j and file permissions
Uploading a JSP into a WAR file
Creating a text file from a web application
Creating a text file from a web application
More...