How to change permission of home folder 's directory ?

amritpal pathak amritpalpathak1 at gmail.com
Thu Jun 30 03:45:06 UTC 2011


On Wed, Jun 29, 2011 at 8:33 PM, Juan R. de Silva
<juan.r.d.silva at gmail.com>wrote:

> On Wed, 29 Jun 2011 13:24:39 -0400, amritpal pathak wrote:
>
> First, you can do it using GUI method. It's good enough if you want to
> change permissions on one directory. In Nautilus right click on desired
> directory and select Properties from a menu. Then click on Permissions
> tab and set the desired permissions.
>
> If you want to do it from the command line, and you need to change
> permissions on one directory only, open terminal and execute
>
> `chmod -v permission_type directory_name`
>
> In case the directory in question has sub directories and you want new
> permissions to be applied to all of them, execute in terminal
>
> `find /home/user_name/desired_directory -type d | while read var1; do
> chmod -v permission_type "$var1"; done`
>
> You can also set some desired permissions to all files inside of the
> directories in question by executing then
>
> `find /home/user_name/desired_directory -type f | while read var1; do
> chmod -v permission_type "$var1"; done`
>
> About permissions type read `man chmod`.

     Thank you very much

    amritpalpathakgne.wordpress.com

>
>
> --
> ubuntu-users mailing list
> ubuntu-users at lists.ubuntu.com
> Modify settings or unsubscribe at:
> https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/ubuntu-users/attachments/20110629/817184dd/attachment.html>


More information about the ubuntu-users mailing list