kanotix.com

General Support - Changing ownership for a folder.

NuxIT - 15.02.2007, 09:25 Uhr
Titel: Changing ownership for a folder.
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.
op4latino - 15.02.2007, 16:54 Uhr
Titel: RE: Changing ownership for a folder.
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
NuxIT - 16.02.2007, 01:48 Uhr
Titel: Re: RE: Changing ownership for a folder.
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??
op4latino - 16.02.2007, 02:00 Uhr
Titel: Re: RE: Changing ownership for a folder.
NuxIT hat folgendes geschrieben::
I was wondering what exactly the "Group" ownership is??
You can set permisses to a user. And you can also give permisses to a collection of users (group)

Group identifier (Unix) - Wikipedia, the free encyclopedia is a nice read and also File security
w1av - 25.02.2007, 06:02 Uhr
Titel: help with changing ownership
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.
Alle Zeiten sind GMT + 1 Stunde
PNphpBB2 © 2003-2007