Autor |
Nachricht |
|
Titel: Changing ownership for a folder.
Verfasst am: 15.02.2007, 09:25 Uhr
|
|
Anmeldung: 12. Okt 2006
Beiträge: 26
|
|
Hi,
When I did my Kanotix install I made an extra 4 gig partition using g-parted. I thought kanotix would have writting my /home directory here because I thought that's what I choosed during install. Well, I have that 4gigs as hda7 and nothings on it. If I'm in Konqueror I can't use that drive for storage as my default login user ID. I've went into the shell as root to /media/hda7 and created a direcotry called dnload. How can I give ownership to my default user to use/write to this directory? If I right click it shows root ownership and all options greyed out. I haven't used chown before so any ideas? Thanks!
Edit, well this seems to have worked.
chown user /dnload.
Any additional info and tricks apprecited. |
|
|
|
|
 |
|
Titel: RE: Changing ownership for a folder.
Verfasst am: 15.02.2007, 16:54 Uhr
|
|

Anmeldung: 18. Jul 2005
Beiträge: 293
Wohnort: EST US
|
|
chown -R username.username foldername
will change user and group owership for that folder, its files and any subdirs under it
in other words, you missed the " -R ". With username.username you're changing the user and group ownership |
|
|
|
|
 |
|
Titel: Re: RE: Changing ownership for a folder.
Verfasst am: 16.02.2007, 01:48 Uhr
|
|
Anmeldung: 12. Okt 2006
Beiträge: 26
|
|
op4latino hat folgendes geschrieben::
chown -R username.username foldername
will change user and group owership for that folder, its files and any subdirs under it
in other words, you missed the " -R ". With username.username you're changing the user and group ownership
Hey thanks. I'll definitely use the -R for folders with subfolders. Also, I was wondering what exactly the "Group" ownership is?? |
|
|
|
|
 |
|
Titel: Re: RE: Changing ownership for a folder.
Verfasst am: 16.02.2007, 02:00 Uhr
|
|

Anmeldung: 18. Jul 2005
Beiträge: 293
Wohnort: EST US
|
|
|
|
 |
|
Titel: help with changing ownership
Verfasst am: 25.02.2007, 06:02 Uhr
|
|

Anmeldung: 26. Okt 2005
Beiträge: 146
Wohnort: Out There
|
|
I am having same problem, only ROOT owns my /hda3 partition. I formatted it ext3 to use for an ISO. So I can use "FROMISO". But I get permission denied error if I try to write to the partition, like copy a file to it. I tried what you suggested here and it didnt work. So its not a folder I want to change, its a partition. |
_________________ "Kanotix....what, me worry?!"
|
|
|
|
 |
|