Which OS are you using?... You can try NFSv4 ACLs to prevent a user from listing or even seeing the existence of any file inside a directory, yet allowing him to put any file there.
Last edited by verdepollo; 05-18-2010 at 03:46 PM..
Reason: Weird LFs
Hello,
If I have an export like:
/usr/temp -rw=ram:alligator
means that /usr/temp has "rw" permissions to ram and alligator machines and has "ro" to everyone else? (1 Reply)
I want to export the file system which consist of several partition. For example I export / and there are /home, /usr
partitions. On client side I can see all files in /, but /home and /usr are empty.
So far I failed to find the way to make other partitions visible in one mount. :confused: Of... (2 Replies)
:confused:Hi all
When i see in the /var/adm/messages, i saw the following error
unix: NFS write error on host : Stale NFS file handle.
unix: (file handle: 45ca415 3e7 a0000 2c7f6 3ebfc25f a0000 2 3e49)
It is using sunOS 5.7. Is anybody know what is this error?
Is is related to any network... (2 Replies)
Hey Guys.
Could someone said if is possible take a NFS resource get it from a original Server a export it and mount it in a third server ?
Thank in Advace....
SUN ADMIN (3 Replies)
we have a Solaris 8 nfs server that exported two shares. entries are in /etc/dfs/dfstab.
clients have been accessing these shares for several years.
we just rebooted this nfs server and noticed that no share gets exported. I don't see relevant messages from dmsg nor messages file, is there... (6 Replies)
Hi
How to export a file system from my aix box named ABC in such a way that everyone on the network should be able to import it
When on the client side if they give showmount -e ABC it should show like this:
# showmount -e ABC
export list for ABC:
/sybase/software (everyone) (2 Replies)
Hi Guys,
need help here.
i have windows server that share a folder C:/ABCDE
i configure samba client in Linux server as /EDCBA and it working fine.
then i want to share this /EDCBA to another Linux server using NFS.
in the /etc/exportfs i have put
/EDCBA - *(rw,no_root_squash)
... (1 Reply)
Hi Guys,
need help here.
i have windows server that share a folder C:/ABCDE
i configure samba client in AIX server as /EDCBA and it working fine.
then i want to share this /EDCBA to another AIX server using NFS.
in the /etc/exportfs i have put
/EDCBA... (1 Reply)
Hi,
I have exported a few nfs mounts from one server to the nfs clients.
This is my nfs server dfstab :
# cat /etc/dfs/dfstab
# place share(1M) commands here for automatic execution
# on entering init state 3.
#
# share <pathname>
# .e.g,
# share -F... (3 Replies)
Discussion started by: anaigini45
3 Replies
LEARN ABOUT SUNOS
unshare_nfs
unshare_nfs(1M) System Administration Commands unshare_nfs(1M)NAME
unshare_nfs - make local NFS file systems unavailable for mounting by remote systems
SYNOPSIS
unshare [ -F nfs] pathname
DESCRIPTION
The unshare command makes local file systems unavailable for mounting by remote systems. The shared file system must correspond to a line
with NFS as the FSType in the file /etc/dfs/sharetab.
OPTIONS
The following options are supported:
-F This option may be omitted if NFS is the first file system type listed in the file /etc/dfs/fstypes.
FILES
/etc/dfs/fstypes
/etc/dfs/sharetab
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|Availability |SUNWnfssu |
+-----------------------------+-----------------------------+
SEE ALSO nfsd(1M), share(1M), attributes(5)NOTES
If the file system being unshared is a symbolic link to a valid pathname, the canonical path (the path which the symbolic link follows)
will be unshared.
For example, if /export/foo is a symbolic link to /export/bar (/export/foo -> /export/bar), the following unshare command will result in
/export/bar as the unshared pathname (and not /export/foo):
example# unshare -F nfs /export/foo
For file systems that are accessed by NFS Version 4 clients, once the unshare is complete, all NFS Version 4 state (open files and file
locks) are released and unrecoverable by the clients. If the intent is to share the file system after some administrative action, the NFS
daemon (nfsd) should first be stopped and then the file system unshared. After the administrative action is complete, the file system would
then be shared and the NFS daemon restarted. See nfsd(1M)SunOS 5.10 6 May 2003 unshare_nfs(1M)