Bug 261213 - mountd: Please add support for directories with spaces in the path in /etc/exports
Summary: mountd: Please add support for directories with spaces in the path in /etc/ex...
Status: New
Alias: None
Product: Base System
Classification: Unclassified
Component: bin (show other bugs)
Version: Unspecified
Hardware: Any Any
: --- Affects Only Me
Assignee: freebsd-bugs (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-01-14 22:32 UTC by Patrick McMunn
Modified: 2022-01-16 10:43 UTC (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Patrick McMunn 2022-01-14 22:32:21 UTC
I've tried using double quotes, single quotes, even using the octal value \040 to represent a space, and nothing seems to allow mountd to export a directory via NFS if a space is in the path. And everything I've found online so far says that mountd simply doesn't support spaces in the path. Support for spaces in the path really needs to be added. If it is supported in some manner, this needs to be in the documentation.
Comment 1 Martin Birgmeier 2022-01-16 10:43:54 UTC
Does using a backslash to escape the space work?

Asking because I recently looked at the sources and vaguely remember that a backslash seems to escape nearly everything...

-- Martin