1

I am aware that this question is already asked multiple times before on many forums, I have tried to follow the instruction but still not getting it.

I have one Group Called : SYNC and it has two users **SAM** and **SAM2**

**SAM** is as well the FTP User and Internally users are uploading the files via **SAM** FTP user.

SAM2 is the user which is used to run the SYNCTHING which is used to sync the files between remote location.

but whenever i upload the new files to Directory.SAM2 user doesn't have write access to the new created file so it can not upload the file to the remote location.

thats how my folder structure and permission look like on the parent directory.

    ls -la For_Client/
total 232312
drwxrwsr-x 2 SAM2 sync      4096 May 23 15:16 .
drwxr-xr-x 6 SAM2 sync      4096 May 23 12:41 ..
-rw------- 1 SAM sync 237877344 May 23 15:16 test2.mxf

Permission on the newly created File inside the client directory

ls -la For_Client/test2.mxf 
-rw------- 1 SAM sync 237877344 May 23 15:02 For_Client/test2.mxf

Please advice, How can i achieve that new created files can inherit the permission from the parent directory and both user can have write access to all directory and files , including newly uploaded by FTP.

kunal
  • 442

0 Answers0