Commit d098564f authored by Steve French's avatar Steve French

[CIFS] Update readme to reflect forceuid mount parms

Signed-off-by: default avatarSteve French <sfrench@us.ibm.com>
parent 24e2fb61
...@@ -2,7 +2,8 @@ Version 1.60 ...@@ -2,7 +2,8 @@ Version 1.60
------------- -------------
Fix memory leak in reconnect. Fix oops in DFS mount error path. Fix memory leak in reconnect. Fix oops in DFS mount error path.
Set s_maxbytes to smaller (the max that vfs can handle) so that Set s_maxbytes to smaller (the max that vfs can handle) so that
sendfile will now work over cifs mounts again. sendfile will now work over cifs mounts again. Add noforcegid
and noforceuid mount parameters.
Version 1.59 Version 1.59
------------ ------------
......
...@@ -262,8 +262,8 @@ A partial list of the supported mount options follows: ...@@ -262,8 +262,8 @@ A partial list of the supported mount options follows:
mount. mount.
domain Set the SMB/CIFS workgroup name prepended to the domain Set the SMB/CIFS workgroup name prepended to the
username during CIFS session establishment username during CIFS session establishment
forceuid Set the default uid for inodes based on the uid forceuid Set the default uid for inodes to the uid
passed in. For mounts to servers passed in on mount. For mounts to servers
which do support the CIFS Unix extensions, such as a which do support the CIFS Unix extensions, such as a
properly configured Samba server, the server provides properly configured Samba server, the server provides
the uid, gid and mode so this parameter should not be the uid, gid and mode so this parameter should not be
...@@ -278,11 +278,7 @@ A partial list of the supported mount options follows: ...@@ -278,11 +278,7 @@ A partial list of the supported mount options follows:
of existing files will be the uid (gid) of the person of existing files will be the uid (gid) of the person
who executed the mount (root, except when mount.cifs who executed the mount (root, except when mount.cifs
is configured setuid for user mounts) unless the "uid=" is configured setuid for user mounts) unless the "uid="
(gid) mount option is specified. For the uid (gid) of newly (gid) mount option is specified. Also note that permission
created files and directories, ie files created since
the last mount of the server share, the expected uid
(gid) is cached as long as the inode remains in
memory on the client. Also note that permission
checks (authorization checks) on accesses to a file occur checks (authorization checks) on accesses to a file occur
at the server, but there are cases in which an administrator at the server, but there are cases in which an administrator
may want to restrict at the client as well. For those may want to restrict at the client as well. For those
...@@ -290,12 +286,15 @@ A partial list of the supported mount options follows: ...@@ -290,12 +286,15 @@ A partial list of the supported mount options follows:
(such as Windows), permissions can also be checked at the (such as Windows), permissions can also be checked at the
client, and a crude form of client side permission checking client, and a crude form of client side permission checking
can be enabled by specifying file_mode and dir_mode on can be enabled by specifying file_mode and dir_mode on
the client. Note that the mount.cifs helper must be the client. (default)
at version 1.10 or higher to support specifying the uid forcegid (similar to above but for the groupid instead of uid) (default)
(or gid) in non-numeric form. noforceuid Fill in file owner information (uid) by requesting it from
forcegid (similar to above but for the groupid instead of uid) the server if possible. With this option, the value given in
the uid= option (on mount) will only be used if the server
can not support returning uids on inodes.
noforcegid (similar to above but for the group owner, gid, instead of uid)
uid Set the default uid for inodes, and indicate to the uid Set the default uid for inodes, and indicate to the
cifs kernel driver which local user mounted . If the server cifs kernel driver which local user mounted. If the server
supports the unix extensions the default uid is supports the unix extensions the default uid is
not used to fill in the owner fields of inodes (files) not used to fill in the owner fields of inodes (files)
unless the "forceuid" parameter is specified. unless the "forceuid" parameter is specified.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment