Permisions, Ownership and group (General questions)
Hi:
Is it possible for the uploaded files to set the following:
chmod 777 file
chown user file
chgrp grp file
I know that the chmod is possible via the SetPermisions method, what about the rest?
Thanks in advance
Leonardo
Re: Permisions, Ownership and group
Leonardo,
use SetAttributes method to set all of that with one call.
Kreso
Re: Permisions, Ownership and group
Hi:
I have the following scenario...
I am uploading files as user a1.... and i want to change ownership of those files to user b1. Is this something possible using SetAttributes method?
Or is there a way that before uploading we can establish that information, allowing that when the files gets uploaded it already has the appropriate ownership/group.
Thanks
Leonardo
Re: Permisions, Ownership and group
Forgot to mention that neither of the users have root privileges
Re: Permisions, Ownership and group
Leonardo,
I don't think you can do that, this isn't wodSFTP limitation but UNIX security issue. Without root privileges you cannot change ownership like that.