I'm trying to setup ssh-host in cygwin. Getting the below error:*** Warning: The permissions on the directory /var are not correct.*** Warning: They must match the regexp d..x..x..[xt]*** ERROR: Problem with /var directory. Exiting.As of now /var dirctory has the below permissions.$ ls -ld /vardrws--Srwx+ 1 Prashant Prashant 0 Mar 11 22:29 /varPlease advise as how to set d..x..x..[xt] permissions for /var.
permission issues while doing ssh setup in cygwin
shell;permissions;cygwin
In cygwin its not possible to change group permissions, until the group is Users or Root. Refer https://stackoverflow.com/questions/17091972/chmod-cannot-change-group-permission-on-cygwinSo you wont be able to change the group permission until you change var's group owner to Users So the best solution is:chown :Users /varchmod 757 /varchmod ug-s /varchmod +t /varThe last step of setting sticky bit is not really necessary though.