Access windows partition
This question has been asked before but I cant seem to find where.
On my other disk in this same pc I have some music files on a windows partition that I would like to play in Linux using Exaile. I can see the windowd directory and see all the files. I have windows mounted as /win with permissions shown like this drwx------ now I type in the command #chmod 755 /win that should give me unchanged root properties and add permissions for group and others to read and execute. It didnt work. so then I also tried #chmod o+r to add read permission to others but ls -l still gives listing as drwx------ 1 root root 12288 Jul 10 21:02 win Which means root has read write and execute and everyone else is excluded. How can I change that so that user (ie me) can access and use the files in the /win directory? |
You should mount your windows partition with "umask=022" option because linux can't manage permissions on ntfs :
Code:
# mount -o umask=022 /dev/<windows partition> /win |
why not just use the ntfs3g module instead of the default ntfs module?. ntfs3g allows you to read and write from a ntfs partition.
|
The "short" answer if you only want to listen to the musik..
Quote:
http://www.linux-faqs.com/faq/misc/ntfs.php#3.0 ..I don't remember if 12.2 had the ntfs-3g driver, but here you can read about it.. http://linux.die.net/man/8/mount.ntfs-3g /Håkan |
Thats great. Thanks for the responses.
Thom1b, Im not sure what mask and unmask is about. What is the difference between umask=0222 and umask=022 ? Its not really permissions on ntfs its really permissions for the /win directory. How does one create a ntfs3g module. hakan56, I will read the link above! vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv |
You have ntfs-3g already, I checked..
ftp://ftp.slackware.no/pub/linux/sla...2/slackware/a/ ..ntfs-3g-1.5130-i486-1.tgz Here is the "long" story of umask.. http://articles.slicehost.com/2010/7...ions-and-types The short one..;) 0222 = no one can write 022 = only the owner (root) can write /Håkan |
All times are GMT -5. The time now is 03:30 PM. |