Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.
# /etc/fstab
UUID=D254B*****B5B*** /home/username/c ntfs defaults,fmask=113,dmask=002,    uid=username,gid=username 0 2

# uname -a
Linux 00544 3.2.0-37-generic-pae #58-Ubuntu SMP Thu Jan 24 15:51:02 UTC 2013 i686 i686 i386 GNU/Linux

if 'test.tmp' is a file in windows c partition and I mount C partition in Linux; The commond 'sudo chmod u+x test.tmp' is invalid ,why? and How ? many thanks! ^_^

share|improve this question

migrated from stackoverflow.com Mar 5 '13 at 0:27

This question came from our site for professional and enthusiast programmers.

    
If you mount an ntfs-partition, you cannot use chmod, it is determined by the partition's mount options. No way around that. –  Wrikken Mar 4 '13 at 22:59
    
@ruakh I mean the chmod commond don't work.it cannot +x to a file. –  Jinxiao Mar 4 '13 at 23:02
    
@Wrikken so... I know, thanks. –  Jinxiao Mar 4 '13 at 23:03

1 Answer 1

It's invalid because the underlying file-system has no notion of these POSIX things. The OS "pretends" (using the mount options) that they exist. But they don't.

share|improve this answer
    
thanks very much^_^ –  Jinxiao Mar 4 '13 at 23:04

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.