| Autor | 
    Nachricht | 
  
  
    | 
      
     | 
    
      
        
					
            Titel: chown question 
             Verfasst am: 17.03.2007, 02:13 Uhr
           | 
				 
       
     | 
  
  
    
      
        
          
             
             
  
            Anmeldung: 12. Jul 2005 
            Beiträge: 28 
            Wohnort: SC, USA 
            
            
           | 
         
       
     | 
    
      
        
          I have a FAT partition (hda9) that I use to store and share files from Win98 and several linux distros.  I want to bitorrent ISO images there from Kanotix, but I get an error that I don't have permission.  I have tried
 
 
su
 
umount /mnt/hda9
 
chown -R gtp:users /mnt/hda9
 
mount /mnt/hda9
 
 
(my username is gtp).  No success.  When I remount, it is still owned by root and I cannot write to it from my user account.  What am I doing wrong? | 
         
        
          | 
          
            
          
            
            
           | 
         
         
	        |     | 
	       
       
     | 
  
  
    | 
      
      
     | 
  
  
      | 
  
  
    | 
      
     | 
    
      
        
					
            Titel: RE: chown question 
             Verfasst am: 17.03.2007, 04:17 Uhr
           | 
				 
       
     | 
  
  
    
      
        
          
             
             
  
            Anmeldung: 18. Jul 2005 
            Beiträge: 293 
            Wohnort: EST US 
            
            
           | 
         
       
     | 
    
      
        
          It's a lot eaiser if you mount it somewhere in your home directory.
 
 
1. Create a directory. Let's call it winux (Windows Linux).  $ mkdir /home/gtp/winux
 
2. In your /etc/fstab there should be a line saying
 
 
/dev/hda9  /home/gtp/winux  vfat  rw,noauto,users,exec  0  0
 
 
3. Mount it.       $ mount /home/gtp/winux
 
4. If the files are still owned by root do as root : #  chown -R gtp:gtp /home/gtp/winux
 
 
In /etc/fstab /dev/hda9 is the device,  /home/gtp/winux the mount point, vfat the filesystem type, rw read/write, noauto don't mount it in every boot ( change it to auto if you want it to be mounted everytime you boot), users users can mount it (nousers only root can mount), exec not quite sure, but I think it means that files can be executed (programs, scripts, etc). The 0   0 is something beyond to me. man mount explains it all. | 
         
        
          | 
          
            
          
            
            
           | 
         
         
	        |     | 
	       
       
     | 
  
  
    | 
      
      
     | 
  
  
      | 
  
  
    | 
      
     | 
    
      
        
					
            Titel: RE: chown question 
             Verfasst am: 18.03.2007, 01:35 Uhr
           | 
				 
       
     | 
  
  
    
      
        
          
             
             
  
            Anmeldung: 12. Jul 2005 
            Beiträge: 28 
            Wohnort: SC, USA 
            
            
           | 
         
       
     | 
    
      
        
          | I used the method above to change the mount point to /home/gtp/hda9, but I get the same result.  For some reason, chown does not seem to be effective.  The folder and files are still owned by root. | 
         
        
          | 
          
            
          
            
            
           | 
         
         
	        |     | 
	       
       
     | 
  
  
    | 
      
      
     | 
  
  
      | 
  
  
    | 
      
     | 
    
      
        
					
            Titel: RE: chown question 
             Verfasst am: 18.03.2007, 03:47 Uhr
           | 
				 
       
     | 
  
  
    
      
        
          
             
             
  
            Anmeldung: 18. Jul 2005 
            Beiträge: 293 
            Wohnort: EST US 
            
            
           | 
         
       
     | 
    
      
        
          if you did as root:
 
 
Code: 
chown -R gtp:gtp /home/gtp/hda9
 
mount /home/gtp/hda9
 
chown -R gtp:gtp /home/gtp/hda9
 
 
 
and the files under /home/gtp/hda9 are still owned by root, then you might want to ask in IRC http://irc.kanotix.net/cgi-bin/cgiirc/irc.cgi | 
         
        
          | 
          
            
          
            
            
           | 
         
         
	        |     | 
	       
       
     | 
  
  
    | 
      
      
     | 
  
  
      | 
  
  
    | 
      
     | 
    
      
        
					
            Titel: RE: chown question 
             Verfasst am: 18.03.2007, 15:47 Uhr
           | 
				 
       
     | 
  
  
    
      
        
          
             
             
  
            Anmeldung: 12. Jul 2005 
            Beiträge: 28 
            Wohnort: SC, USA 
            
            
           | 
         
       
     | 
    
      
        
          | Thanks for the help, but it does not work for me.  I will follow up on irc.  I tried the other day and no one answered... hopefully the irc will get more active when the next release comes out. | 
         
        
          | 
          
            
          
            
            
           | 
         
         
	        |     | 
	       
       
     | 
  
  
    | 
      
      
     | 
  
  
      | 
  
  
  
    | 
      
     |