[plug] Changing ownership of files
sol
sol at autonomon.net
Fri Apr 26 19:49:05 WST 2002
This is what I would do (others might differ):
cd to /home/ # user = whatever your username is.
chown -R user user
chgrp -R user user
then if you're not to fussed about having special permission setups for
certain files or directories
chmod -R 750 user
if you want different permissions for certain directories or files then you
can go through changing each on of those for yourself according to how you
want to set it up.
sol
On Fri, 26 Apr 2002 19:15, Richard wrote:
> I recently had a little trouble with the everyday account I use on my home
> system. I ended up copying all my personal files to /root (as root),
> deleting and re-creating the offending account and then copying the files
> back into the home dir of the now new account (I know I should of asked for
> help before it came to that, but you live and learn :) The only problem is
> that root now seems to own all the files I regularly work with and open
> office, especially, won't allow me to save changes, even with permissions
> set to 777. OO works with the files fine from the root account, so the
> problem seems to be entirely one of ownership. Is it possible, from root,
> to set the ownership of a file? Or can anyone think of another way around
> this?
More information about the plug
mailing list