Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
08-27-2008, 02:38 PM
|
#1
|
LQ Newbie
Registered: Jun 2008
Posts: 10
Rep:
|
Programs cannot create temp files on nfs-mounted NTFS file system
Got a really strange thing happening on my Linux servers.
I have an NTFS file system nfs-automounted on our RedHat servers. Users can read and write to the file system no problem, and can create new files, edit them, and delete them to their heart's content.
The only issue is that utilities such as "dos2unix" cannot create temporary working files:
$ dos2unix events.0818.dat
dos2unix: converting file events.0818.dat to UNIX format ...
Failed to open output temp file: Operation not permitted
dos2unix: problems converting file events.0818.dat
This isn't limited to "dos2unix"; any other utility that creates a temporary working file gets the same problem.
If I copy the file to a local file system like /tmp, it works fine.
Here's the kicker: this works fine on Solaris systems. I can take the "dos2unix" utility over to a Solaris system that has that exact same NTFS file system automounted via NFS, and it works. No issues creating temporary working files at all.
This only happens on my RHEL5 Linux machines. Any idea what could be the cause of this? I'm quite frankly stumped.
|
|
|
08-28-2008, 10:57 PM
|
#2
|
Member
Registered: Mar 2008
Location: Virginia
Distribution: RHEL 4/5, Fedora 6-9, SuSE 10.1-11, Open Solaris 10.8, WinXP,2003,Vista
Posts: 59
Rep:
|
Try using the –n switch to create a new file.
Code:
dos2unix –n events.0818.dat events.0818.dat_unix
Next, you can investigate where the temp files are being written.
|
|
|
05-21-2013, 05:08 PM
|
#3
|
LQ Newbie
Registered: May 2013
Posts: 1
Rep: 
|
Quote:
Originally Posted by rl92694
Got a really strange thing happening on my Linux servers.
I have an NTFS file system nfs-automounted on our RedHat servers. Users can read and write to the file system no problem, and can create new files, edit them, and delete them to their heart's content.
The only issue is that utilities such as "dos2unix" cannot create temporary working files:
$ dos2unix events.0818.dat
dos2unix: converting file events.0818.dat to UNIX format ...
Failed to open output temp file: Operation not permitted
dos2unix: problems converting file events.0818.dat
This isn't limited to "dos2unix"; any other utility that creates a temporary working file gets the same problem.
If I copy the file to a local file system like /tmp, it works fine.
Here's the kicker: this works fine on Solaris systems. I can take the "dos2unix" utility over to a Solaris system that has that exact same NTFS file system automounted via NFS, and it works. No issues creating temporary working files at all.
This only happens on my RHEL5 Linux machines. Any idea what could be the cause of this? I'm quite frankly stumped.
|
Did u ever get a work-around or root cause for this issue ?
Thx
|
|
|
All times are GMT -5. The time now is 03:28 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|