Koozali.org: home of the SME Server

Upload folders in ibays through WinSCP - Permissions

Offline latmax

  • 1
  • +0/-0
Upload folders in ibays through WinSCP - Permissions
« on: May 08, 2011, 10:18:20 PM »
Hello,

I'm using SME Server 7.5.1. I got this issue trying to upload folders in ibays through winscp: you can set the way winscp set permission during upload, but it will not fit in any case the settings of the ibay; for example uploading a folder in a ibay where only the group can read and write will be different will be different from another ibay with write - group and read - everybody.

What is the right setting for winscp in order to have unmodified the rights of the uploaded folder, after it has been placed in the ibay, despite the permissions of a ibay?

I hope the issue is clear...

Thanks
Massimiliano

Offline Stefano

  • *
  • 10,894
  • +3/-0
Re: Upload folders in ibays through WinSCP - Permissions
« Reply #1 on: May 08, 2011, 10:29:29 PM »
Hi Massimiliano

In my experience the faster way to restore correct permissions to an ibay is to use
Code: [Select]
signal-event ibay-modify ibayname

I don't use winscp (I don't use windows at all) so I can't help you with that software

if you are from Italy, please come to italian language forum too, thank you

Offline MSmith

  • *
  • 675
  • +0/-0
Re: Upload folders in ibays through WinSCP - Permissions
« Reply #2 on: November 20, 2014, 03:06:09 PM »
Stefano, thanks for the reminder about "signal-event ibay-modify". I used that to fix this weird "You need permission to perform this action" error I suddenly got in an ibay. I'd gone into server manager and changed permissions, saved, and changed back, but that didn't fix the problem.

"signal-event ibay-modify" did fix the problem.
...

Offline Stefano

  • *
  • 10,894
  • +3/-0
Re: Upload folders in ibays through WinSCP - Permissions
« Reply #3 on: November 20, 2014, 03:08:50 PM »
I used that to fix this weird "You need permission to perform this action" error I suddenly got in an ibay. I'd gone into server manager and changed permissions, saved, and changed back, but that didn't fix the problem.

"signal-event ibay-modify" did fix the problem.

well.. web pages use events.. and editing permissions via server-manager AFAIR make a call to ibay-modify event..
sound strange to me that via server-manager didn't work..