Assign file ownership to a certain user does not work
![Creative The name of the picture](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgO9GURib1T8z7lCwjOGLQaGtrueEthgQ8LO42ZX8cOfTqDK4jvDDpKkLFwf2J49kYCMNW7d4ABih_XCb_2UXdq5fPJDkoyg7-8g_YfRUot-XnaXkNYycsNp7lA5_TW9td0FFpLQ2APzKcZ/s1600/1.jpg)
![Creative The name of the picture](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhYQ0N5W1qAOxLP7t7iOM6O6AzbZnkXUy16s7P_CWfOb5UbTQY_aDsc727chyphenhyphen5W4IppVNernMMQeaUFTB_rFzAd95_CDt-tnwN-nBx6JyUp2duGjPaL5-VgNO41AVsA_vu30EJcipdDG409/s400/Clash+Royale+CLAN+TAG%2523URR8PPP.png)
up vote
1
down vote
favorite
I am trying to assign ownership of a certain file (FILE) to a user (A). I log in as root and run chown A FILE
but nothing happens. If I add the group option (chown A:A FILE
), the group is changed but the user is not.
If I try with another user (B: chown B:A FILE
) it works. Could anyone tell me why a specific user cannot own a file? I have tried in different locations but the result is always the same.
chown ownership
add a comment |Â
up vote
1
down vote
favorite
I am trying to assign ownership of a certain file (FILE) to a user (A). I log in as root and run chown A FILE
but nothing happens. If I add the group option (chown A:A FILE
), the group is changed but the user is not.
If I try with another user (B: chown B:A FILE
) it works. Could anyone tell me why a specific user cannot own a file? I have tried in different locations but the result is always the same.
chown ownership
2
Who is A? Does A have some special characters in his name?
â muclux
Feb 15 at 7:08
1
try it with the id, instead of the name. to find out the id, useid <username>
â Robert Riedl
Feb 15 at 11:28
A is "bitnam"i and has no special characters. Besides I have tried with the id code obtained after running "id bitnami" and it does not work either. If I follow the same procedure with user B (which is testuser) it does work.
â Jordi Rocafull
Feb 16 at 4:24
I do not know if it might have something to do with the fact that I have run a few times a Magento linux installer which creates users and its main user is "bitnami" (the user I am encountering problems with)
â Jordi Rocafull
Feb 16 at 4:29
I have deleted A user and created again but the problem persist
â Jordi Rocafull
Feb 16 at 4:33
add a comment |Â
up vote
1
down vote
favorite
up vote
1
down vote
favorite
I am trying to assign ownership of a certain file (FILE) to a user (A). I log in as root and run chown A FILE
but nothing happens. If I add the group option (chown A:A FILE
), the group is changed but the user is not.
If I try with another user (B: chown B:A FILE
) it works. Could anyone tell me why a specific user cannot own a file? I have tried in different locations but the result is always the same.
chown ownership
I am trying to assign ownership of a certain file (FILE) to a user (A). I log in as root and run chown A FILE
but nothing happens. If I add the group option (chown A:A FILE
), the group is changed but the user is not.
If I try with another user (B: chown B:A FILE
) it works. Could anyone tell me why a specific user cannot own a file? I have tried in different locations but the result is always the same.
chown ownership
chown ownership
edited Feb 15 at 7:05
![](https://i.stack.imgur.com/eVuAv.png?s=32&g=1)
![](https://i.stack.imgur.com/eVuAv.png?s=32&g=1)
wjandrea
7,25842256
7,25842256
asked Feb 15 at 6:31
![](https://lh6.googleusercontent.com/-CjlY1_ydrAo/AAAAAAAAAAI/AAAAAAAAHWg/laPTySjUG70/photo.jpg?sz=32)
![](https://lh6.googleusercontent.com/-CjlY1_ydrAo/AAAAAAAAAAI/AAAAAAAAHWg/laPTySjUG70/photo.jpg?sz=32)
Jordi Rocafull
61
61
2
Who is A? Does A have some special characters in his name?
â muclux
Feb 15 at 7:08
1
try it with the id, instead of the name. to find out the id, useid <username>
â Robert Riedl
Feb 15 at 11:28
A is "bitnam"i and has no special characters. Besides I have tried with the id code obtained after running "id bitnami" and it does not work either. If I follow the same procedure with user B (which is testuser) it does work.
â Jordi Rocafull
Feb 16 at 4:24
I do not know if it might have something to do with the fact that I have run a few times a Magento linux installer which creates users and its main user is "bitnami" (the user I am encountering problems with)
â Jordi Rocafull
Feb 16 at 4:29
I have deleted A user and created again but the problem persist
â Jordi Rocafull
Feb 16 at 4:33
add a comment |Â
2
Who is A? Does A have some special characters in his name?
â muclux
Feb 15 at 7:08
1
try it with the id, instead of the name. to find out the id, useid <username>
â Robert Riedl
Feb 15 at 11:28
A is "bitnam"i and has no special characters. Besides I have tried with the id code obtained after running "id bitnami" and it does not work either. If I follow the same procedure with user B (which is testuser) it does work.
â Jordi Rocafull
Feb 16 at 4:24
I do not know if it might have something to do with the fact that I have run a few times a Magento linux installer which creates users and its main user is "bitnami" (the user I am encountering problems with)
â Jordi Rocafull
Feb 16 at 4:29
I have deleted A user and created again but the problem persist
â Jordi Rocafull
Feb 16 at 4:33
2
2
Who is A? Does A have some special characters in his name?
â muclux
Feb 15 at 7:08
Who is A? Does A have some special characters in his name?
â muclux
Feb 15 at 7:08
1
1
try it with the id, instead of the name. to find out the id, use
id <username>
â Robert Riedl
Feb 15 at 11:28
try it with the id, instead of the name. to find out the id, use
id <username>
â Robert Riedl
Feb 15 at 11:28
A is "bitnam"i and has no special characters. Besides I have tried with the id code obtained after running "id bitnami" and it does not work either. If I follow the same procedure with user B (which is testuser) it does work.
â Jordi Rocafull
Feb 16 at 4:24
A is "bitnam"i and has no special characters. Besides I have tried with the id code obtained after running "id bitnami" and it does not work either. If I follow the same procedure with user B (which is testuser) it does work.
â Jordi Rocafull
Feb 16 at 4:24
I do not know if it might have something to do with the fact that I have run a few times a Magento linux installer which creates users and its main user is "bitnami" (the user I am encountering problems with)
â Jordi Rocafull
Feb 16 at 4:29
I do not know if it might have something to do with the fact that I have run a few times a Magento linux installer which creates users and its main user is "bitnami" (the user I am encountering problems with)
â Jordi Rocafull
Feb 16 at 4:29
I have deleted A user and created again but the problem persist
â Jordi Rocafull
Feb 16 at 4:33
I have deleted A user and created again but the problem persist
â Jordi Rocafull
Feb 16 at 4:33
add a comment |Â
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%2f1006360%2fassign-file-ownership-to-a-certain-user-does-not-work%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
2
Who is A? Does A have some special characters in his name?
â muclux
Feb 15 at 7:08
1
try it with the id, instead of the name. to find out the id, use
id <username>
â Robert Riedl
Feb 15 at 11:28
A is "bitnam"i and has no special characters. Besides I have tried with the id code obtained after running "id bitnami" and it does not work either. If I follow the same procedure with user B (which is testuser) it does work.
â Jordi Rocafull
Feb 16 at 4:24
I do not know if it might have something to do with the fact that I have run a few times a Magento linux installer which creates users and its main user is "bitnami" (the user I am encountering problems with)
â Jordi Rocafull
Feb 16 at 4:29
I have deleted A user and created again but the problem persist
â Jordi Rocafull
Feb 16 at 4:33