summaryrefslogtreecommitdiff
path: root/usr/src/lib
diff options
context:
space:
mode:
authordougm <none@none>2008-01-22 20:00:59 -0800
committerdougm <none@none>2008-01-22 20:00:59 -0800
commit573b0c00a1ee520c3f6938dda8d693236f37ae60 (patch)
treea08f1cbd80bb38751144589d89e382998f2a9efa /usr/src/lib
parent95c11c1f0a327937bf49e1fc3b7529ca70ffb34d (diff)
downloadillumos-joyent-573b0c00a1ee520c3f6938dda8d693236f37ae60.tar.gz
6430813 NFS share/mount commands core dump with "sec" option
6580062 sharemgr doesn't issue syntax error on bad "list" command 6611179 sharemgr doesn't get the path parameter if / specified at the end 6611200 sharemgr add-share with -r -d options adds the description to the sharepath instead of resource name 6650812 sharemgr sometimes reports success on enable/disable of a group when it shouldn't
Diffstat (limited to 'usr/src/lib')
-rw-r--r--usr/src/lib/libshare/common/libshare.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/usr/src/lib/libshare/common/libshare.c b/usr/src/lib/libshare/common/libshare.c
index 74bb0af7e9..6ca50ef6cc 100644
--- a/usr/src/lib/libshare/common/libshare.c
+++ b/usr/src/lib/libshare/common/libshare.c
@@ -2072,12 +2072,14 @@ sa_set_group_attr(sa_group_t group, char *tag, char *value)
ret = sa_set_property(impl_handle->scfhandle,
tag, value);
if (ret == SA_OK)
- (void) sa_end_transaction(
+ ret = sa_end_transaction(
impl_handle->scfhandle);
else
sa_abort_transaction(
impl_handle->scfhandle);
}
+ if (ret == SA_SYSTEM_ERR)
+ ret = SA_NO_PERMISSION;
}
if (groupname != NULL)
sa_free_attr_string(groupname);