table of contents
| SFSEXPORTS.CFG(5) | SFSEXPORTS.CFG(5) |
NAME¶
sfsexports.cfg - SaunaFS access control for sfsmounts
DESCRIPTION¶
The file sfsexports.cfg contains SaunaFS access list for sfsmount clients.
SYNTAX¶
Syntax is:
ADDRESS DIRECTORY [OPTIONS]
Lines starting with # character are ignored.
ADDRESS can be specified in several forms:
DIRECTORY could be / or path relative to SaunaFS root; special value . means SFSMETA companion filesystem.
OPTIONS¶
ro, readonly
rw, readwrite
ignoregid
caseinsensitive
dynamicip
maproot=USER[:GROUP]
mapall=USER[:GROUP]
minversion=VER
mingoal=N, maxgoal=N
mintrashtime=TDUR, maxtrashtime=TDUR
password=PASS, md5pass=MD5
alldirs
nonrootmeta
Default options are: ro,maproot=999:999.
NOTES¶
USER and GROUP names (if not specified by explicit uid/gid number) are resolved on sfsmaster host.
TDUR can be specified as number without time unit (number of seconds) or combination of numbers with time units. Time units are: W,D,H,M,S. Order is important - less significant time units can’t be defined before more significant time units.
Option mapall works in SaunaFS in different way than in NFS, because of using FUSE’s "default_permissions" option. When mapall option is used, users see all objects with uid equal to mapped uid as their own and all other as root’s objects. Similarly objects with gid equal to mapped gid are seen as objects with current user’s primary group and all other objects as objects with group 0 (usually wheel). With mapall option set attribute cache in kernel is always turned off.
EXAMPLES¶
REPORTING BUGS¶
Report bugs to the Github repository https://github.com/leil/saunafs as an issue.
COPYRIGHT¶
Copyright 2008-2009 Gemius SA
Copyright 2013-2019 Skytechnology sp. z o.o.
Copyright 2023-2024 Leil Storage OÜ
SaunaFS is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, version 3.
SaunaFS is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with SaunaFS. If not, see http://www.gnu.org/licenses/.
SEE ALSO¶
| 08/28/2025 |