Synchronize Permissions

Advertisement

Guest

Synchronize Permissions

Hi,

I'm using the synchronize command to keep a remote directory synced with a local one; so far so good.

However, I'm having a permissions problem; I want to keep the permissions similar to those on the local directory. However, WINSCP doesn't seem to be keeping them quite right. Instead, whenever it transfers I only see permissions for the logged user, 'everyone', and 'none'; I assume these are the windows equivalents of Group and Other of the unix UGO permissions. Instead, I would like to have the groups on the local server transfer to the remote server, such as 'Administrators', etc.

This leads me to a couple of questions. First off, what does 'default permissions' mean in the documentation regarding the -nopermissions switch of synchronize?
Second, is it possible to transfer only changed files with the 'put' command? Will this allow me to do what I need with the permissions?

Thanks,
Amit

Reply with quote

Advertisement

martin
Site Admin
martin avatar
Joined:
Posts:
40,476
Location:
Prague, Czechia

Re: Synchronize Permissions

However, I'm having a permissions problem; I want to keep the permissions similar to those on the local directory. However, WINSCP doesn't seem to be keeping them quite right. Instead, whenever it transfers I only see permissions for the logged user, 'everyone', and 'none'; I assume these are the windows equivalents of Group and Other of the unix UGO permissions. Instead, I would like to have the groups on the local server transfer to the remote server, such as 'Administrators', etc.
WinSCP does not try to map local permissions in any way to remote permissions. I have no idea how this would be done anyway.

This leads me to a couple of questions. First off, what does 'default permissions' mean in the documentation regarding the -nopermissions switch of synchronize?
Default permissions assigned by your server to new files.

Second, is it possible to transfer only changed files with the 'put' command?
Use 'synchronize' for that.

Will this allow me to do what I need with the permissions?
Probably not.

Reply with quote

Advertisement

You can post new topics in this forum