Permissions

Russell Cook ruscook_oz at yahoo.com.au
Sat Apr 23 05:10:12 UTC 2005


You can try from a root terminal (or sudo) the following command sudo 
chown -R gunksta:gunksta ~/*
This will recurse your home directory structure and change ownership of 
every file  to your login account and  to your group account.  If you 
use a different group account for shared access you may not want to do this.

Caution, be sure you want ALL files in your hmoe directory owned by you.

Once you own them you can then use chmod (or nautilus) to change the 
permissions.

If you're not sure this is what you want to do, then post the output 
from the command "ls -la ~/" so we can see what the permissions and 
ownership currently is for those directories.

Kind Regards Russ
www.windsorcycles.com.au
(gedit/ubuntu/gFTP)



Andy wrote:

>Umm, I've never done this before.  I was messing around with some
>files, and changing their permissions.  For some reason I have some
>pictures marked as being executable.  Well, in the process of doing
>that, Nautilus crashed.  Now I have several directories that I can't
>access.  They are in my home directory, I made them, but when I try to
>change (cd @ commandline) to ~/Desktop I get permission denied.  So, I
>checked my permissions.  User  (me) has read and write
>permissions.  I checked running as root, my files are still there, I
>just can't get to them.  What gives and what can I do to get back my
>stuff?
>
>--andy
>  
>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ruscook_oz.vcf
Type: text/x-vcard
Size: 125 bytes
Desc: not available
URL: <https://lists.ubuntu.com/archives/ubuntu-users/attachments/20050423/0ece2108/attachment.vcf>


More information about the ubuntu-users mailing list