change the file ownership Ubuntu

change the file ownership
Share: Share on Facebook1Share on LinkedIn4Tweet about this on Twitter0Share on Google+0Share on Reddit0Buffer this pageDigg thisEmail this to someoneFlattr the authorShare on StumbleUpon0Share on TumblrPin on Pinterest0Print this page

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

SYNTAX to change the file ownership

if you have a root access,syntax like

-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.

Thanks for reading and feel free to share your thoughts! Don’t Forget to Follow us on Twitter or Subscribe us to Get the Latest Updates.

Share: Share on Facebook1Share on LinkedIn4Tweet about this on Twitter0Share on Google+0Share on Reddit0Buffer this pageDigg thisEmail this to someoneFlattr the authorShare on StumbleUpon0Share on TumblrPin on Pinterest0Print this page

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code class="" title="" data-url=""> <del datetime=""> <em> <i> <q cite=""> <strike> <strong> <pre class="" title="" data-url=""> <span class="" title="" data-url="">

Most Popular Posts

Post via e-mail in WordPress

Posted on 3 years ago

Bhumi

Mysql String Function FIND_IN_SET( )

Posted on 3 years ago

Bhumi

GoTo statement in PHP

Posted on 3 years ago

Bhumi

Table layout using DIV tags

Posted on 2 years ago

Bhumi

New Features in MySQL 5.6

Posted on 3 years ago

Bhumi