Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion salt/utils/parsers.py
Original file line number Diff line number Diff line change
Expand Up @@ -787,7 +787,8 @@ def __setup_logfile_logger_config(self, *args): # pylint: disable=unused-argume
)
)

if not is_writeable(logfile, check_parent=True):
if (not logfile.startswith("file:///dev/") and
not is_writeable(logfile, check_parent=True)):
# Since we're not be able to write to the log file or its parent
# directory (if the log file does not exit), are we the same user
# as the one defined in the configuration file?
Expand Down