View Full Version : [ubuntu] installing new hdd
stuarttanner
October 5th, 2010, 11:32 AM
hi all, i have just installed a second hard drive in my computer for backing up information, the problem is i can access the hard-drive but cant change files or add file to the drive as it says i am not root.
how can i change the permissions on this drive.
stu
viralmeme
October 5th, 2010, 12:19 PM
the problem is i can access the hard-drive but cant change files or add file to the drive as it says i am not root
Make sure non-root-user is a member of the users group. Then you need to find out where the harddrive is mounted. At a console and without the $ sign, type:
$sudo -i
$mount
$chown -R root:users /path/to/harddrive
$chmod -R g+rwx /path/tp/harddrive
stuarttanner
October 6th, 2010, 02:05 PM
thank you all sorted now.
stu
Powered by vBulletin® Version 4.2.2 Copyright © 2024 vBulletin Solutions, Inc. All rights reserved.