For NTFS partitions, use the
permissions
option in fstab.
First unmount the ntfs partition.
Then edit
/etc/fstab
# Graphical
gksu gedit /etc/fstab
# Command line
sudo -e /etc/fstab
Identify your partition UUID with
blkid
sudo blkid
And add or edit a line for the ntfs partition
# change the "UUID" to your partition UUID
UUID=12102C02102CEB83 /media/windows ntfs-3g auto,users,permissions 0 0
if file-system is fat32 then use -> vfat instaed of ntfs
Make a mount point (if needed)
sudo mkdir /media/windows
Now mount the partition
mount /media/windows
The options I gave you,
auto
, will automatically mount the partition when you boot and users
allows users to mount and umount .
You can then use chown and chmod on the ntfs partition.
mount using command :
sudo mount -t vfat -o rw,auto,user,fmask=0022,dmask=0xxx,exec /dev/sdb1 /media/premal/mnt_pd1xxx mean 0000 or 555 or 777 or 111
No comments:
Post a Comment