Mounting Permissions
I have an external hard drive for my laptop that I am able to mount with the sda1 device. However, after I mount it, I can't access it from my regular user account.
Do I have to adjust the permissions somehow or mount it differently? |
what are the permissions on the mount directory?
|
Well, you didn't say which filesystem you are using, but I'm going to guess it's FAT32, as with any linux filesystem, it would be just like any other drive.
You'll want to look into the umask= mount option. umask=000 will give all users full rw access (assuming it is mounted rw) to the drive. |
The file system is NTFS because I used this drive with my Win XP sometimes.
How do I check the permissions again? |
I believe umask would apply to NTFS as well.
|
Quote:
|
Can somebody write down the exact code I need to use to get this to work?
I've trying changing permissions, ownership, you name it... can't get it to work. |
barlow -
it would help if you posted exact steps you've taken, and what exactly you're trying to do. what is the output of ls -l <mountpoint> (mountpoint being the dir you mounted the external partition to) |
i think not all distos support ntfs file system currently .first check ur distibution support it.
check the proc/modules list |
Quote:
Code:
mount -t ntfs -o umask=000 /dev/sda1 /mnt/point |
Thanks Matir, that works great!!
|
No problem. I'm assuming this is a single user system, but if it does have multiple users, you need to be aware that ALL users will now have access. There are uid= and gid= options, IIRC, that would be able to deal with that. On a single user system, I wouldn't worry about it.
|
All times are GMT -5. The time now is 05:18 PM. |