Operating System - HP-UX
1837078 Members
2540 Online
110112 Solutions
New Discussion

Re: NFS Permissions Question

 
Preet Dhillon
Advisor

NFS Permissions Question

I have an HP-UX directory exported by NFS to all other machines on my network. The entry in /etc/exports looks like this :

islv/archive -anon=65534

This directory is mounted on a Windows NT client. When files are copied to this directory on the Windows client, they appear on the HP side with read-only permissions. I want to change this so that any files copied from the NFS client side appear on the Unix side with permissions
rwxrwxr--.
Anyone out there know how to do this ?
Many thanks in advance.
Nothing succeeds like excess
4 REPLIES 4
Dan Hetzel
Honored Contributor

Re: NFS Permissions Question

Hi Preet,

I'm not sure that having the execute bit set by default would be a good idea.
Default permission of 664 (-rw-rw-r--) would be more adequate.

Dan
Everybody knows at least one thing worth sharing -- mailto:dan.hetzel@wildcroft.com
Patrick Wallek
Honored Contributor

Re: NFS Permissions Question

I think permissions for files copied into the NFS directory from Windows my be determined by whatever NFS client you are using on Windows. I haven't played with NFS on Windows in 3 years or more, but I seem to recall that there was an option on the NFS client I was using to set the permissions for files.
Rainer_1
Honored Contributor

Re: NFS Permissions Question

when mounting NFS from a windows based system there has to be a third party software like reflection or eXceed.
You have to look on the windows system at the options of that software for file creation bit masks.
Dan Hetzel
Honored Contributor

Re: NFS Permissions Question

Hi again,


Patrick and Rainer are right. There is no kind of a 'default umask' for files created by a non-unix box. You'll have to set the file permissions at the client side.

Best regards,

Dan

Everybody knows at least one thing worth sharing -- mailto:dan.hetzel@wildcroft.com