I've got two harddrives on my PC.  Both of them are mounted, but the one, which I plan to dump my MP3s and other such things on, won't let me write to it.  I can't figure out how to change the permissions on it.  I did a search here, and tried various things, but none of them worked. I wound up either creating a directory on my main drive, or when I did a cd to hdb1 (which is what the drive icon on the desktop says it is) I got an error message in Konsole saying that it wasn't a directory.  I'm not quite a total noob, but I'm still feeling my way around Ubuntu, so be gentle with me.
							
						
					Announcement
				
					Collapse
				
			
		
	
		
			
				No announcement yet.
				
			
				
	
Can't Get Permission
				
					Collapse
				
			
		
	This topic is closed.
				
				
				
				
				X
X
- 
	
	
	
		
	
	
		
		
		
		
		
		
		
	
	
		
	
	
	
	
Re: Can't Get Permission
Welcome to the forums.
First off, I'm assuming this secondary drive is blank. The user Root owns the root of the drive. Therefore, only the user Root can create a directory to the root of the drive. So what we're gonna do is open konsole, and navigate to that drive by typingfor example, my secondary drive is /dev/hdb1, however, it's mounted at /media/storage, so I would type "cd /media/storage".Code:cd /wherever_you_mounted_that_drive
Then typeFor example mine is called Music, so I typed "sudo mkdir music" Anytime you use "sudo" you're doing a task as Root, so therefore, you will need to supply your password.Code:sudo mkdir whatever_you_want
Then typeFor example I typed "sudo chown will Music" Now that directory belongs to you. You can then go further and typeCode:sudo chown your_user_name your_dir_name
This will grant you read/write/execute priviliges on that folder and recursively on every folder within that one.Code:sudo chmod +x your_dir_name
I hope this helps. It's easier to verbally say it sometimes vs. typing it out into a simple to use instruction set.
Will
- Top
 - Bottom
 
 - 
	
	
	
		
	
	
		
		
		
		
		
		
		
	
	
		
	
	
	
	
Re: Can't Get Permission
Okay, here it is, but it doesn't look to me like it's showing that drive.Originally posted by cLuEdArTGo to /etc/fstab and open it with kate or kwrite. Copy/paste it into here. Rebooting never hurts
Will# /etc/fstab: static file system information.
#
# <file system> <mount point> <type> <options> <dump> <pass>
proc /proc proc defaults 0 0
/dev/hda1 / ext3 defaults,errors=remount-ro 0 1
/dev/hda5 none swap sw 0 0
/dev/hdd /media/cdrom0 udf,iso9660 user,noauto 0 0
- Top
 - Bottom
 
Comment
 
Users Viewing This Topic
				
					Collapse
				
			
		
	There are 0 users viewing this topic.
							
						
Comment