19.03.2024, 03:42 UhrDeutsch | English
Hallo Gast [ Registrierung | Anmelden ]

Neues Thema eröffnen   Neue Antwort erstellen
Vorheriges Thema anzeigen Druckerfreundliche Version Einloggen, um private Nachrichten zu lesen Nächstes Thema anzeigen
Autor Nachricht
NuxIT
Titel: Changing ownership for a folder.  BeitragVerfasst 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.
 
 Benutzer-Profile anzeigen Private Nachricht senden  
Antworten mit Zitat Nach oben
op4latino
Titel: RE: Changing ownership for a folder.  BeitragVerfasst 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
 
 Benutzer-Profile anzeigen Private Nachricht senden  
Antworten mit Zitat Nach oben
NuxIT
Titel: Re: RE: Changing ownership for a folder.  BeitragVerfasst 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??
 
 Benutzer-Profile anzeigen Private Nachricht senden  
Antworten mit Zitat Nach oben
op4latino
Titel: Re: RE: Changing ownership for a folder.  BeitragVerfasst am: 16.02.2007, 02:00 Uhr



Anmeldung: 18. Jul 2005
Beiträge: 293
Wohnort: EST US
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
 
 Benutzer-Profile anzeigen Private Nachricht senden  
Antworten mit Zitat Nach oben
w1av
Titel: help with changing ownership  BeitragVerfasst 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?!"
 
 Benutzer-Profile anzeigen Private Nachricht senden  
Antworten mit Zitat Nach oben
Beiträge vom vorherigen Thema anzeigen:     
Gehe zu:  
Alle Zeiten sind GMT + 1 Stunde
Neues Thema eröffnen   Neue Antwort erstellen
Vorheriges Thema anzeigen Druckerfreundliche Version Einloggen, um private Nachrichten zu lesen Nächstes Thema anzeigen
PNphpBB2 © 2003-2007 
 
Deutsch | English
Logos and trademarks are the property of their respective owners, comments are property of their posters, the rest is © 2004 - 2006 by Jörg Schirottke (Kano).
Consult Impressum and Legal Terms for details. Kanotix is Free Software released under the GNU/GPL license.
This CMS is powered by PostNuke, all themes used at this site are released under the GNU/GPL license. designed and hosted by w3you. Our web server is running on Kanotix64-2006.