473,395 Members | 1,393 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,395 software developers and data experts.

Writing to a file on the unix box

Hi, I am trying to write to file which is on a unix box. But it gives
me an error that "

Asp.net is not authorized to access the requested resource. To grant
Asp.net write access toa file, right click the file in explorer,choose
properties and select the security tab. click "add" to add the
appropriate user or group. Highlight the asp.net account and check the
boxes for the desired access.

Now the problem is that there is no asp.net account on the unix box.
How could i overcome this problem?

Thanks

cs

Mar 2 '06 #1
2 1003
I don't asp.net will cross the operating system boundary. You probably
have to use a protocol like FTP or something.

Mar 2 '06 #2
ch*******@hotmail.com wrote:
Hi, I am trying to write to file which is on a unix box. But it gives
me an error that "

Asp.net is not authorized to access the requested resource. To grant
Asp.net write access toa file, right click the file in explorer,choose
properties and select the security tab. click "add" to add the
appropriate user or group. Highlight the asp.net account and check the
boxes for the desired access.

Now the problem is that there is no asp.net account on the unix box.
How could i overcome this problem?

Thanks

cs

How is the path being accessed? via a network share? If it is writing
via the standard SMB protocols, the unix box must have a user that is
being used when someone accesses those files. Give that user on the
unix box permissions to write to the folder and it should work.

--
Ray Booysen
rj********@rjb.za.net
Mar 3 '06 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

8
by: Lu | last post by:
Hi there, I got a program to write data to a randomly accessed file (the program moves file pointer to a certain position of the file according the current "keyword" and then writes data). It...
5
by: Kamil Grymuza | last post by:
Hi What is the best way to write to file pointer returned by popen(). I'm writing on Unix / c++ so I don't want to use fprintf() and then fflush(). I found on the net that write() can be used but...
385
by: Xah Lee | last post by:
Jargons of Info Tech industry (A Love of Jargons) Xah Lee, 2002 Feb People in the computing field like to spur the use of spurious jargons. The less educated they are, the more they like...
10
by: Jason Curl | last post by:
Dear C group, I'm very interested in writing portable C, but I only have GNU, Sparc and Cygwin to compile on. What I find is the biggest problem to writing portable C is what headers to...
102
by: Xah Lee | last post by:
i had the pleasure to read the PHP's manual today. http://www.php.net/manual/en/ although Pretty Home Page is another criminal hack of the unix lineage, but if we are here to judge the quality...
12
by: Chris Springer | last post by:
I'd like to get some feedback on the issue of storing data out to disk and where to store it. I've never been in a production environment in programming so you'll have to bear with me... My...
3
by: Rajorshi Biswas | last post by:
Hi all, I'm aware that this might not be a "C-specific" question, if so, please let me know which group is the most appropriate for this kind of question. This is a question on unix...
1
by: pvenu | last post by:
Hi, I know basic perl (regular expressions, pattern matching, string manipulation, reading writing into text files). Yet, my requirement is to read an input text file -> process this input file...
2
by: MAx | last post by:
Hi guys, I am a c++ newbee and i am trying to write a file to a default printer. Please have a look at the code below and let me know if it'll work. I know that similar code in C will work. I...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.