Permissions

Michael Schwendt ms-nospam-0306 at arcor.de
Sun Dec 7 08:01:11 UTC 2003


On Sun, 07 Dec 2003 07:10:21 +0200, Marek wrote:

> Hi
> 
> My home dir permissions have got a bit tangled up.
> 
> /home/marek has the correct permissions. But all the dir under that are 
> user 501 (-rw-r--r--) and i can not write to them.
> 
> I have tried setting the permissions with konqueror but it always gets 
> stuck with some file that cannot be changed.
> 
> Is there a command line to do this all in one shot. Instead of doing 
> chmod 777 on each dir which only seems to work. 755 does not and chmod 
> 777 /home/marek does not either. 777 seems to be incorrect anyway.

find /home/marek -type d -exec chmod 755 {} ';'

If user 501 is not "marek", you need help from "root", such as
"chown -R marek /home/marek".

-- 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists.fedoraproject.org/pipermail/users/attachments/20031207/5219b155/attachment-0002.bin 


More information about the users mailing list