You are not logged in.

#1 2005-07-01 17:57:01

jellywerker
Member
From: Sunny Seattle
Registered: 2005-04-04
Posts: 286

file permissions messed up

after doing some file stuff as su in my home, I can no longer work in it as a normal user, is there a way to fix this?

Offline

#2 2005-07-01 20:00:41

tomk
Forum Fellow
From: Ireland
Registered: 2004-07-21
Posts: 9,837

Re: file permissions messed up

Are you sure it's permissions? Not ownership? What does ls -l look like?

Online

#3 2005-07-01 21:54:43

jellywerker
Member
From: Sunny Seattle
Registered: 2005-04-04
Posts: 286

Re: file permissions messed up

drwxr-xr-x 42 root root

Offline

#4 2005-07-02 03:13:39

jellywerker
Member
From: Sunny Seattle
Registered: 2005-04-04
Posts: 286

Re: file permissions messed up

how would I change this to my user then?

Offline

#5 2005-07-02 03:22:11

Dusty
Schwag Merchant
From: Medicine Hat, Alberta, Canada
Registered: 2004-01-18
Posts: 5,986
Website

Re: file permissions messed up

chown myuser.mygroup file

If its a directory

chown myuser.mygroup directory -R

man chown will help

Dusty

Offline

#6 2005-07-02 03:23:36

jellywerker
Member
From: Sunny Seattle
Registered: 2005-04-04
Posts: 286

Re: file permissions messed up

thanks

Offline

#7 2005-07-02 03:27:13

jellywerker
Member
From: Sunny Seattle
Registered: 2005-04-04
Posts: 286

Re: file permissions messed up

as root? and how to I check what group? I am in several groups, video, etc...

Offline

#8 2005-07-02 03:28:53

jellywerker
Member
From: Sunny Seattle
Registered: 2005-04-04
Posts: 286

Re: file permissions messed up

oi, nvm, it works, thanks

Offline

Board footer

Powered by FluxBB