Oracle Solaris System Administration (MOSC)

MOSC Banner

Force file permission in SFTP

edited Aug 23, 2020 5:06AM in Oracle Solaris System Administration (MOSC) 2 commentsAnswered

Hi I am trying to set permission "644" for all the files received from sftp.

In Linux there is a option to set in /etc/ssh/sshd_config as;

     ForceCommand internal-sftp -m 644

But in solaris this "-m" option is not available.

Is there a workaround for this?

Please not that use of umask (-u) is not helpful in this situation since I need to increase the permission.

Thanks,

Dinaj

Howdy, Stranger!

Log In

To view full details, sign in to My Oracle Support Community.

Register

Don't have a My Oracle Support Community account? Click here to get started.

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center