Inherit Permission on New Uplaoded File via FTP

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP








up vote
1
down vote

favorite












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.







share|improve this question






















  • Something is wrong with the output of ls -la For_Client/. The output shows the same directory with two sets of permissions, this is impossible, please check and correct. One of the lines should be something like drwxr-xr-x 6 SAM2 sync 4096 May 23 12:41 ..
    – mook765
    May 23 at 14:29










  • ls -la For_Client/ total 232312 drwxrwsr-x 2 user sync 4096 May 23 15:16 . drwxr-xr-x 6 user sync 4096 May 23 12:41 .. -rw------- 1 rtmos syn 237877344 May 23 15:16 test2.mxf
    – kunal
    May 23 at 14:47










  • @mook765, thats the output of ls -la For_CLIENT
    – kunal
    May 23 at 14:48






  • 1




    Please edit your question to correct the output of your commands. In your comment you show different owner/group for the file test2.xmf.
    – mook765
    May 23 at 14:58






  • 1




    Thanks for quick response, I can't help you more than that, no experience with ftp, could only help with this copy/paste typos, please wait for someone else who can give you an answer.
    – mook765
    May 23 at 15:16














up vote
1
down vote

favorite












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.







share|improve this question






















  • Something is wrong with the output of ls -la For_Client/. The output shows the same directory with two sets of permissions, this is impossible, please check and correct. One of the lines should be something like drwxr-xr-x 6 SAM2 sync 4096 May 23 12:41 ..
    – mook765
    May 23 at 14:29










  • ls -la For_Client/ total 232312 drwxrwsr-x 2 user sync 4096 May 23 15:16 . drwxr-xr-x 6 user sync 4096 May 23 12:41 .. -rw------- 1 rtmos syn 237877344 May 23 15:16 test2.mxf
    – kunal
    May 23 at 14:47










  • @mook765, thats the output of ls -la For_CLIENT
    – kunal
    May 23 at 14:48






  • 1




    Please edit your question to correct the output of your commands. In your comment you show different owner/group for the file test2.xmf.
    – mook765
    May 23 at 14:58






  • 1




    Thanks for quick response, I can't help you more than that, no experience with ftp, could only help with this copy/paste typos, please wait for someone else who can give you an answer.
    – mook765
    May 23 at 15:16












up vote
1
down vote

favorite









up vote
1
down vote

favorite











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.







share|improve this question














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.









share|improve this question













share|improve this question




share|improve this question








edited May 23 at 15:02

























asked May 23 at 13:06









kunal

1181212




1181212











  • Something is wrong with the output of ls -la For_Client/. The output shows the same directory with two sets of permissions, this is impossible, please check and correct. One of the lines should be something like drwxr-xr-x 6 SAM2 sync 4096 May 23 12:41 ..
    – mook765
    May 23 at 14:29










  • ls -la For_Client/ total 232312 drwxrwsr-x 2 user sync 4096 May 23 15:16 . drwxr-xr-x 6 user sync 4096 May 23 12:41 .. -rw------- 1 rtmos syn 237877344 May 23 15:16 test2.mxf
    – kunal
    May 23 at 14:47










  • @mook765, thats the output of ls -la For_CLIENT
    – kunal
    May 23 at 14:48






  • 1




    Please edit your question to correct the output of your commands. In your comment you show different owner/group for the file test2.xmf.
    – mook765
    May 23 at 14:58






  • 1




    Thanks for quick response, I can't help you more than that, no experience with ftp, could only help with this copy/paste typos, please wait for someone else who can give you an answer.
    – mook765
    May 23 at 15:16
















  • Something is wrong with the output of ls -la For_Client/. The output shows the same directory with two sets of permissions, this is impossible, please check and correct. One of the lines should be something like drwxr-xr-x 6 SAM2 sync 4096 May 23 12:41 ..
    – mook765
    May 23 at 14:29










  • ls -la For_Client/ total 232312 drwxrwsr-x 2 user sync 4096 May 23 15:16 . drwxr-xr-x 6 user sync 4096 May 23 12:41 .. -rw------- 1 rtmos syn 237877344 May 23 15:16 test2.mxf
    – kunal
    May 23 at 14:47










  • @mook765, thats the output of ls -la For_CLIENT
    – kunal
    May 23 at 14:48






  • 1




    Please edit your question to correct the output of your commands. In your comment you show different owner/group for the file test2.xmf.
    – mook765
    May 23 at 14:58






  • 1




    Thanks for quick response, I can't help you more than that, no experience with ftp, could only help with this copy/paste typos, please wait for someone else who can give you an answer.
    – mook765
    May 23 at 15:16















Something is wrong with the output of ls -la For_Client/. The output shows the same directory with two sets of permissions, this is impossible, please check and correct. One of the lines should be something like drwxr-xr-x 6 SAM2 sync 4096 May 23 12:41 ..
– mook765
May 23 at 14:29




Something is wrong with the output of ls -la For_Client/. The output shows the same directory with two sets of permissions, this is impossible, please check and correct. One of the lines should be something like drwxr-xr-x 6 SAM2 sync 4096 May 23 12:41 ..
– mook765
May 23 at 14:29












ls -la For_Client/ total 232312 drwxrwsr-x 2 user sync 4096 May 23 15:16 . drwxr-xr-x 6 user sync 4096 May 23 12:41 .. -rw------- 1 rtmos syn 237877344 May 23 15:16 test2.mxf
– kunal
May 23 at 14:47




ls -la For_Client/ total 232312 drwxrwsr-x 2 user sync 4096 May 23 15:16 . drwxr-xr-x 6 user sync 4096 May 23 12:41 .. -rw------- 1 rtmos syn 237877344 May 23 15:16 test2.mxf
– kunal
May 23 at 14:47












@mook765, thats the output of ls -la For_CLIENT
– kunal
May 23 at 14:48




@mook765, thats the output of ls -la For_CLIENT
– kunal
May 23 at 14:48




1




1




Please edit your question to correct the output of your commands. In your comment you show different owner/group for the file test2.xmf.
– mook765
May 23 at 14:58




Please edit your question to correct the output of your commands. In your comment you show different owner/group for the file test2.xmf.
– mook765
May 23 at 14:58




1




1




Thanks for quick response, I can't help you more than that, no experience with ftp, could only help with this copy/paste typos, please wait for someone else who can give you an answer.
– mook765
May 23 at 15:16




Thanks for quick response, I can't help you more than that, no experience with ftp, could only help with this copy/paste typos, please wait for someone else who can give you an answer.
– mook765
May 23 at 15:16















active

oldest

votes











Your Answer







StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "89"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);

else
createEditor();

);

function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
convertImagesToLinks: true,
noModals: false,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);



);








 

draft saved


draft discarded


















StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1039420%2finherit-permission-on-new-uplaoded-file-via-ftp%23new-answer', 'question_page');

);

Post as a guest



































active

oldest

votes













active

oldest

votes









active

oldest

votes






active

oldest

votes










 

draft saved


draft discarded


























 


draft saved


draft discarded














StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1039420%2finherit-permission-on-new-uplaoded-file-via-ftp%23new-answer', 'question_page');

);

Post as a guest













































































Popular posts from this blog

pylint3 and pip3 broken

Missing snmpget and snmpwalk

How to enroll fingerprints to Ubuntu 17.10 with VFS491