Set-FogServerSettingsFileSecurity¶
SYNOPSIS¶
Set the settings file or given file to full control for owner only, no access for anyone else
SYNTAX¶
Set-FogServerSettingsFileSecurity [[-settingsFile] <Object>] [<CommonParameters>]
DESCRIPTION¶
Uses chmod 700 for linux and mac, uses powershell acl commands for windows users to set
EXAMPLES¶
Example 1¶
PS C:\> {{ Add example code here }}
{{ Add example description here }}
PARAMETERS¶
-settingsFile¶
The settings file, defaults to the default path for the settings file tiy
Type: Object
Parameter Sets: (All)
Aliases:
Required: False
Position: 1
Default value: (Get-FogServerSettingsFile)
Accept pipeline input: False
Accept wildcard characters: False
CommonParameters¶
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.
INPUTS¶
OUTPUTS¶
NOTES¶
Has a try/catch on attempting to use set-acl in case permissions required aren't present on the current user in windows