Assign file ownership to a certain user does not work


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


wjandrea
7,25842256
7,25842256
asked Feb 15 at 6:31


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