Saturday, December 10, 2011

Linux Permissions on External Disks

When using Linux with external disks, sometimes you may find that you do not have permission to read the disk.

To gain permission to access a directory and its files, you can use the command

sudo chown -R username: file_path_of_directory

where username is your username, and file_path_of_directory is the file path of your directory at its mount point, usually something like /media/diskname (where diskname is the name or label of the disk).

No comments:

Post a Comment