Thursday, July 31, 2014

Run eclipse from windows mount patition in linux

Windows partition is using the NTFS filesystem and it was mounted with an fmask that does not permit setting execute permissions on files.

 To resolve this problem, follow the steps below.
  1. Determine the drive's corresponding device by opening a terminal and typing: df
  2. The column on the far left is the device, and the column on the far right is the path for the drive. Find the device for the Vista partition.
  3. Unmount the Windows partition. (Click the eject button alt text that's next to it in Nautilus)
  4. Open a terminal
  5. Type the following:
    sudo mkdir /media/vista
    sudo mount -t ntfs -o fmask=0022,dmask=0000,uid=1000,gid=1000 \
        <DRIVE> /media/vista
    
    Replace <DRIVE> with your drive's device.

No comments:

Post a Comment