Not able to mount USB drive in Ubuntu Linux 14.04 after change of UID and GID

After changing the UID and GID (User ID and Group ID numbers), I was not able to mount and USB pen drives or hard drives. This issue can be resolved by entering following commands in a Linux terminal:
$ cd /media <enter>
$ sudo chown -R user.group user <enter>

where user is the user name and the group is the user name. Now insert a USB drive and you will find that it mounts correctly.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s