PowerShell / PowerShell/Win32-OpenSSH

No file permissions for group and others via SFTP

Open
#1,856 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
No language data
Stars
8.3k
Forks
819
PR merge metrics
No merged PRs in 30d

Description

OpenSSH for Windows v8.6.0.0 (8.6p1)
Windows Server 2012 R2
Linux client, reproducible via WinSCP v5.19.3

Unix style rights for remote files are always rwx for user, nothing for group and others (0700/0600) and have found no method to change this for now. Client would like to see the files with read rights set (0655/0644).

NTFS file permissions are set with proper rights, even no success with everyone/full control, inheritance disabled on the whole sftp root directory. User to access is administrator. Changing rights via WinSCP makes nothing.

Would appreciate any advice whether the default rights can be set somehow in configuration. Thanks for the support!

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Reproduce the SFTP behavior with OpenSSH for Windows 8.6.0.0 on Windows Server 2012 R2 using WinSCP, then compare the reported Unix-style modes with the configured NTFS permissions. Done means determining whether group and other read permissions can be configured or changed, and documenting the supported behavior if they cannot.

Written by the indexing model from the issue text.

Assessment

Domain
networking, operating-systems, security
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.