[CoLoCo] permission question
Jim Hutchinson
jim at ubuntu-rocks.org
Sat Mar 29 18:36:07 GMT 2008
On Sat, Mar 29, 2008 at 12:11 PM, Darrin Goodman <darrin.goodman at gmail.com>
wrote:
> > Okay, I'm getting it about right. However, all the directories are set
> to
> > drw-r--r-- (i.e. no x). Is there a way to change the dirs to 755 or 655
> or
> > whatever is right without doing it one by one? Using -R will affect
> files
> > too I suppose.
>
> I'm not sure that I know of a way to only apply the 755 permissions to
> directories only. I think that most files typically will have
> rw-r--r-- permissions, while directories will usually have rwxr-xr-x
> permissions. You might have to set all of this by hand. The files
> will be easier to do because you can use wildcards and change
> permissions for multiple files within a directory at one time.
>
>
Thanks for the help. Things are going from bad to worse. I'm contemplating
just reinstalling. I use
sudo chmod -R 755 /home/leina/.*
to set all the hidden dirs but maybe because of the -R it seems to have done
it for all users and everything went wacko (like my wallpaper disappeared).
Now I don't have a clue how to recover. There should be a nice little
program that will reset all default perms if you goof up like this. Well, at
least I learned more respect for the -R flag.
Thanks,
-jim
--
Please avoid sending me Word or PowerPoint attachments.
See http://www.gnu.org/philosophy/no-word-attachments.html
-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://lists.ubuntu.com/archives/ubuntu-us-co/attachments/20080329/57d2674c/attachment.htm
More information about the Ubuntu-us-co
mailing list