Inherit Permission on New Uplaoded File via FTP
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.
14.04 permissions rsync chown chgrp
 |Â
show 3 more comments
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.
14.04 permissions rsync chown chgrp
Something is wrong with the output ofls -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 likedrwxr-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 ofls -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 filetest2.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
 |Â
show 3 more comments
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.
14.04 permissions rsync chown chgrp
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.
14.04 permissions rsync chown chgrp
edited May 23 at 15:02
asked May 23 at 13:06
kunal
1181212
1181212
Something is wrong with the output ofls -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 likedrwxr-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 ofls -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 filetest2.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
 |Â
show 3 more comments
Something is wrong with the output ofls -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 likedrwxr-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 ofls -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 filetest2.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
 |Â
show 3 more comments
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
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
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
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 likedrwxr-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