www.libssh2.org | Daily snapshots | Mailing list archive | Docs | Examples | github

Archive Index This month's Index

Subject: [libssh2] #260: libssh2 1.2.5 file permission issues

[libssh2] #260: libssh2 1.2.5 file permission issues

From: libssh2 Trac <trac_at_libssh2.stuge.se>
Date: Thu, 21 Feb 2013 00:31:15 -0000

#260: libssh2 1.2.5 file permission issues
 Reporter: Raji | Owner:
     Type: defect | Status: new
 Priority: normal | Milestone: 1.4.3
Component: API | Version: 1.4.2
 Keywords: | Blocked By:
   Blocks: |
 I’m using libssh2 1.2.5 and try to do a sftp write. For the newly created
 files, write permission is not set for group and others,eventhough I make
 use of the flags (LIBSSH2_SFTP_S_IWGRP and LIBSSH2_SFTP_S_IWOTH).Always
 the files are created with read,write permission for owner and read
 permission for group,others.


 Is this a known issue with libssh2 1.2.5?.This was working fine with
 libssh2 0.1.4.I used to pass 0 for mode value and the files would be
 created with read,write permission for user,group and others.

Ticket URL: <https://trac.libssh2.org/ticket/260>
libssh2 <https://trac.libssh2.org/>
C library for writing portable SSH2 clients
libssh2-devel http://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-devel
Received on 2013-02-21

the libssh2 team