Sponsored Content
Full Discussion: Works with FTP but not NFS
Top Forums UNIX for Dummies Questions & Answers Works with FTP but not NFS Post 302156583 by Smiling Dragon on Tuesday 8th of January 2008 04:31:35 PM
Old 01-08-2008
Quote:
Originally Posted by pbonilla
I am having problems ready files that have been NFS mounted. Here is what i have:
Original files are on VMS server, need them on Linux server.
I have NFS mounted from VMS to Linux and can see the directory and files. When i try to read (vi) the files on the NFS mount the file is full of special charates ( R^@L~M, R^@^B~M, etc).
When i ftp the same files from the VMS server to the Linux server, the files come over as ascii text, as I need them. I know FTP has the ability to convert to ascii text if needed.
How do I manually convert these files so i do not have to use ftp? Any help would be grealty appreciated.
As you note, FTP is doing the conversion for you. There's a tool under VMS called 'convert' that can do this at the commandline, don't know if there's something similr for linux but it seems likely.
 

10 More Discussions You Might Find Interesting

1. BSD

configuring ftp and nfs on free bsd

I have just installed freebsd on one of my computer in my apartment< Which IO intend to turn into a file and local mail server for my network. How does one install the ftp deamon in bsd. How does one configure nfs for shareing dfiles betwenn FreeBSD, Ubuntu (linux) and Mac OsX Leopard? Or... (1 Reply)
Discussion started by: FloridaBSD
1 Replies

2. UNIX for Advanced & Expert Users

FTP run by cron only works if user logged in?

I set up a cron job to FTP to another machine. If I have not logged in before the time the cron is set to run, then the ftp program won't connect. I have run this cron on other boxes (diff networks) and it works fine...it is just this one. If anyone has any suggestions as to what would be... (5 Replies)
Discussion started by: vincaStar
5 Replies

3. UNIX for Dummies Questions & Answers

about ftp and nfs

Hi everyone, How can we access the ftp and nfs using other ports (not using 21 and 2049) thanks in advance kunal patil (2 Replies)
Discussion started by: kunalpatil09
2 Replies

4. UNIX for Dummies Questions & Answers

samba vs nfs vs ftp

Hi I have to copy large number of files from one server to another. What is the fastest solution : nfs, samba or ftp ? thx. ---------- Post updated at 11:50 PM ---------- Previous update was at 10:59 PM ---------- Got it: Bechmarks: SSH vs FTP vs CIFS vs NFS vs Samba (1 Reply)
Discussion started by: presul
1 Replies

5. Ubuntu

[UBUNTU] mount.nfs fails in Ubuntu / Works on Red Hat!!!

Gurus, I want log in locally to my Lucid (10.04) workstation and have my code saved over the network on my samba account At work, all developers have samba user ids and when we were running Red Hat, we went thru the following procedure to get setup. * open a shell session to NFS server... (2 Replies)
Discussion started by: alan
2 Replies

6. Shell Programming and Scripting

Help wth Net::FTP in script sometimes fails but wsftp always works

Hi, I have a script that transfers files from a Solaris server to target unix servers. The script uses Net::FTP->put to write the files, which can be any number of files, not always the same. This script works flawlessly to many servers. For one particular instance of the script,... (3 Replies)
Discussion started by: csgonan
3 Replies

7. UNIX for Dummies Questions & Answers

FTP that works correctly in command prompt and shows issue in UNIX server

Hi All, FTP ports opens with the given user name and password and allows to download file through COMMAND PROMPT. Code as below: H:\>ftp ftpxxxxx Connected to entvc2ft07-pub.xxxxx.com. 220 Microsoft FTP Service User (entvc2ft07-pub.xxxxx.com:(none)): userxxxxx 331 User name okay, need... (1 Reply)
Discussion started by: vijayalakshmi.r
1 Replies

8. HP-UX

nfs and ftp

:b: can any one tell me how configure NFS and FTP... (6 Replies)
Discussion started by: hsejar123
6 Replies

9. Shell Programming and Scripting

Ftp script hangs for first time,but works every second time

Hi I have an ftp script which works fine when i execute through a test scheduler(UC4), but when i run it through the prod scheduler(UC4), it hungs indefinetely, when we cancel the job and re-run it it works perfectly fine. here is the code,, any idea why this is happening ???? ... (1 Reply)
Discussion started by: selvankj
1 Replies

10. AIX

PING to AIX works but TELNET FTP SSH doesn't work

root@PRD /> rsh DR KFAFH_DR: protocol failure due to unexpected closure from server end root@PRD /> telnet DR Trying... Connected to DR. Escape character is '^]'. Connection closed. root@PRD /> ftp DR Connected to KFAFH_DR. 421 Service not available, remote server has closed connection... (2 Replies)
Discussion started by: filosophizer
2 Replies
nfs_selinux(8)						 NFS SELinux Policy documentation					    nfs_selinux(8)

NAME
nfs_selinux - Security Enhanced Linux Policy for NFS DESCRIPTION
Security Enhanced Linux secures the NFS server via flexible mandatory access control. BOOLEANS
SELinux policy is customizable based on the least level of access required. SELinux can be configured to not allow NFS to share files. If you want to share NFS partitions, and only allow read-only access to those NFS partitions, turn the nfs_export_all_ro boolean on: setsebool -P nfs_export_all_ro 1 If you want to share files read/write you must set the nfs_export_all_rw boolean. setsebool -P nfs_export_all_rw 1 These booleans are not required when files to be shared are labeled with the public_content_t or public_content_rw_t types. NFS can share files labeled with the public_content_t or public_content_rw_t types even if the nfs_export_all_ro and nfs_export_all_rw booleans are off. If you want to use a remote NFS server for the home directories on this machine, you must set the use_nfs_home_dirs boolean: setsebool -P use_nfs_home_dirs 1 system-config-selinux is a GUI tool available to customize SELinux policy settings. AUTHOR
This manual page was written by Dan Walsh <dwalsh@redhat.com>. SEE ALSO
selinux(8), chcon(1), setsebool(8) dwalsh@redhat.com 9 Feb 2009 nfs_selinux(8)
All times are GMT -4. The time now is 10:17 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy