Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

Does chown command require login and logout to reflect changes?

share|improve this question
2  
In general, no it doesn't. Is there something that isn't working for you related to chown? –  Seth Jul 10 at 23:05
    
Yes.. I used chown to change access permissions to a file. But I still cannot modify the file –  Amruta Jul 10 at 23:13
1  
You really should have asked a question about that then. As it is, this is an X Y problem and to really get your problem solved you'll have to ask about the real issue. –  Seth Jul 10 at 23:18

2 Answers 2

up vote 1 down vote accepted

No, it does not. Effect of chown command is applied immediately.

share|improve this answer

If your in a desktop environment you should be able to right click on the file and then click on 'properties' option. If you go to the permissions tab you can verify that your the owner and have 'Read and write' Access.

If the file is suppose to do something you can check the 'Execute' box.

share|improve this answer
    
How does this answer the question about whether chmod requires a logout/login? –  Seth Jul 11 at 1:51
    
You have already commented on the wording of the question and it sounds like Amruta is more interested in changing the permissions of the file than the actual chown command. So I thought it would be better to provide some information that may help them resolve there issue. –  user238802 Jul 11 at 18:49

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.