by Bhumi //Dec 31,2012 // No comment
Here is one quick article about to explain changing the permissions of the share folder/files in ubuntu.
I am using Ubuntu in my machine and sometimes for some purpose i wanted to share my folders to others so others can work on my files and you can share your folder to the other user using Samba clients and i have explained same in my earlier article.
Now, what happens ,If some one make any kind of changes in my shared files that files get locked and even i can’t make any changes untill i dont chnage its permission.
So Today I am going to share one simple command which you need to execute in terminal to unlock your shared files
sudo chown -hR username:username path_to_the_files
if you have a root access,syntax like
sudo chown -hR root:root path_to_the_files
-h – Changes the owner of the each symbolic link instead of any referenced file
-R – Recursively change ownership of directories and their contents.
That’s it.Now you have changed ownership of files/folders and your files are ready to use again.
Posted on Mar 2,2012
Posted on Dec 1,2011
Posted on Nov 26,2011
Posted on Jan 18,2013
Posted on Dec 12,2011
Be a Contributor at CreativeDev.Write an article or tutorial to the community and share some of your knowledge!