Couldn't fsetstat: Permission denied


(Stéphane de Labrusse) #1

Hi @giacomo and @davidep

I tried to push a rpm tonight to nethforge and I receive this in the shell

 [lsd@leo nethserver-sogo-1.6.15]$ ns-upload-rpms  stephdl@packages.nethserver.org:nscom/7.4.1708/nethforge *.rpm
sftp> put -p nethserver-sogo-1.6.15-1.ns7.sdl.noarch.rpm
Couldn't fsetstat: Permission denied
sftp> put -p nethserver-sogo-1.6.15-1.ns7.sdl.src.rpm
Couldn't fsetstat: Permission denied

something fun I received few time after this email

YUM publish success from commit-build-upload.iMGOCb to 7.4.1708/nethforge

nethserver-sogo-1.6.15-1.ns7.sdl.src.rpm
* Tue Dec 05 2017 Stephane de Labrusse <stephdl@de-labrusse.fr> - 1.6.15-1
- for isLdap, back to 'CNFieldName = cn' instead 'CNFieldName = displayName'
- when the field is modified all sieve filters are no more visible, but not lost
- The file sogo.sieve still exists

nethserver-sogo-1.6.15-1.ns7.sdl.noarch.rpm
* Tue Dec 05 2017 Stephane de Labrusse <stephdl@de-labrusse.fr> - 1.6.15-1
- for isLdap, back to 'CNFieldName = cn' instead 'CNFieldName = displayName'
- when the field is modified all sieve filters are no more visible, but not lost
- The file sogo.sieve still exists

The rpms are well in the repository of nethforge


(Davide Principi) #2

I removed the chmod and delete permissions from the upload directories. You can safely ignore that message. To get rid of it update nethserver-mock to the latest version:

http://packages.nethserver.org/nethserver/7.4.1708/updates/x86_64/Packages/nethserver-mock-1.4.0-1.ns7.noarch.rpm
http://packages.nethserver.org/nethserver/7.4.1708/updates/x86_64/Packages/nethserver-mock-1.4.1-1.ns7.noarch.rpm


(Stefano Fancello) #3

I’ve the same error, with updated nethserver-mock:

$ upload-rpms packages.nethserver.org:nscom/7.4.1708/testing/ *.ns7.*.rpm
sftp> put nethserver-freepbx-14.0.3-1.2.g0ba260a.ns7.noarch.rpm
Couldn't fsetstat: Permission denied
sftp> put nethserver-freepbx-14.0.3-1.2.g0ba260a.ns7.src.rpm
Couldn't fsetstat: Permission denied

$ rpm -q nethserver-mock
nethserver-mock-1.4.0-1.ns7.noarch

(Davide Principi) #4

It should have been fixed here

https://github.com/NethServer/nethserver-mock/commit/3e96e574245525b5e6e06ed1a47b2612a00a449b