I have some files in a server named "server1" which I have to upload to another server named "server2". I am uploading the files from server1 to server2. Remember these files in the server1 are created in a directory which will be named after the user who is logged on. So, if a person called "Apple" logs into the application the directory will be named "Apple" in server1. So, since there are many users in the application the directory cannot be finalized as "Apple" such that the files from server1 only comes from Apple directory into server2's directory.
On the other hand in the server2 the directory is always constant which is called "datadirectory" such that all the files whatever the directory may be on the server1 comes always to server2's datadirectory.
Now the problem is "Since the owner/user of the directory in the server2 is "owner2" and the files are being transfered by another user in the "group" say "groupuser". He couldn't upload the files into the server2's datadirectory. So, I changed the permissions of the datadirectory to 760 such that group users will have write permissions to the datadirectory. However, the files that are being uploaded into server2's datadirectory are created with permissions as only read permissions for the groupusers. So, when "groupuser" wants to upload the files that are already present in the "datadirectory". He is getting permissions not allowed to overwrite those files that when already present in the datadirectory.
I have been told that "There is a way where we can dictate the permissions of the files created on the server when they are being remotely uploaded from another server. In my case I want to upload those files as write access to the group users." How can I do that?
This is the Unix "AIX" box.
PS: If you don't understand anything in the above question. Please don't hesitate to ask.
Start Free Trial