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 typingCode:cd /wherever_you_mounted_that_drive
Then typeCode:sudo mkdir whatever_you_want
Then typeCode:sudo chown your_user_name your_dir_name
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
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
Comment