File Systems smbfs(7FS)
NAME
smbfs - SMB file system
DESCRIPTION
The smbfs file system allows you to mount SMB shares that
are exported from Windows or compatible systems.The smbfs file system permits ordinary UNIX applications to
change directory into an smbfs mount and perform simple file
and directory operations. Supported operations include open, close, read, write, rename, delete, mkdir, rmdir and ls. Limitations Some local UNIX file systems (for example UFS) have featuresthat are not supported by smbfs. These include:
o No mapped-file access because mmap(2) returns
ENOSYS. o Locking is local only and is not sent to the server. The following are limitations in the SMB protocol: o unlink() or rename() of open files returns EBUSY.o rename() of extended attribute files returns EIN-
VAL. o Creation of files with any of the following illegal characters returns EINVAL: colon (:), backslash (\), slash (/), asterisk (*), question mark (?), double quote ("), less than (<), greater than (>), and vertical bar (|). o chmod can be used only to modify ACLs, and only when the SMB server and mounted share support ACLs.Changes to the file mode bits are silently dis-
carded. o chown enables you to become the file owner only if the SMB server grants you the take ownership privilege. o Links are not supported. o Symbolic links are not supported. o mknod is not supported. (Only file and directory objects are supported.)SunOS 5.11 Last change: 19 Mar 2010 1
File Systems smbfs(7FS)
The current smbfs implementation does not support multi-user
mounts. Instead, each Unix user needs to make their own private mount points.Currently, all access through an smbfs mount point uses the
Windows credentials established by the user that ran themount command. Normally, permissions on smbfs mount points
should be 0700 to prevent Unix users from using each others' Windows credentials. See the dirperms option tomount_smbfs(1M) for details regarding how to control smbfs
mount point permissions.An important implication of this limitation is that system-
wide mounts, such as those made using /etc/vfstab or auto-
mount maps are only useful in cases where access control isnot a concern, such as for public read-only resources.
ATTRIBUTES
See attributes(5) for descriptions of the following attri-
butes:____________________________________________________________
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
|_________________________|_________________________________|
| Availability | system/file-system/smb |
|_________________________|_________________________________|
| Interface Stability | Uncommitted ||_________________________|_________________________________|
SEE ALSO
smbutil(1), mount_smbfs(1M), nsmbrc(4), attributes(5)
SunOS 5.11 Last change: 19 Mar 2010 2