Back to KDE full-time

Relax in this forum - no rules except obscenity & profanity, and guests can post!
User avatar
Philip
The FAF Bot
Posts: 6009
Joined: Wed May 25, 2005 7:19 pm

Post by Philip »

Huh?
What? :blink:
Image
User avatar
windhound
Fish Rocketh, cows sucketh
Posts: 1030
Joined: Wed Jun 02, 2004 4:36 pm
Location: Ze Ocean

Post by windhound »

*grin*
Hobbs FTW!
User avatar
Philip
The FAF Bot
Posts: 6009
Joined: Wed May 25, 2005 7:19 pm

Post by Philip »

*grin*
I've never heard a response quite like that before. :ph34r:
Image
User avatar
The Beatles
Fear me for I am root
Posts: 6285
Joined: Tue May 24, 2005 8:12 pm

Post by The Beatles »

Actually, the reason you can't change permissions is that NTFS /doesn't/ support permissions. XD
In other words, and I found this out the really hard way, you have to put a line in your /etc/fstab like:

code: Select all

/dev/hda1      /mnt/win_c          ntfs           defaults,user,uid=<YOUR-USER-ID>,umask=000         0 0
or

code: Select all

/dev/hda1      /mnt/win_c          ntfs           defaults,user,gid=<YOUR-GROUP-ID>,umask=000         0 0

For a good tutorial on umask, which sets the permissions at mount time, I found this a couple of days ago...
:wq
User avatar
The Beatles
Fear me for I am root
Posts: 6285
Joined: Tue May 24, 2005 8:12 pm

Post by The Beatles »

That umask, I believe, makes everything use your default umask, in other words, the permissions assigned to newly created files by you. However, if you want something different, then the man page for mount is appropriate:

(and sorry, I know it really sounds bad to say "if you want to do something read the man page", but I really don't know how to say more... if you don't want too fine-grained permissions, the umask=000 should be perfectly fine)

Oh, since it might be read-only, you might want to append ",ro" to the above line...
:wq
User avatar
windhound
Fish Rocketh, cows sucketh
Posts: 1030
Joined: Wed Jun 02, 2004 4:36 pm
Location: Ze Ocean

Post by windhound »

aah.. that was it, thanks!
Hobbs FTW!
User avatar
The Beatles
Fear me for I am root
Posts: 6285
Joined: Tue May 24, 2005 8:12 pm

Post by The Beatles »

It took me hours of hair-pulling to get that one. ;) I tried changing the permissions of the mount point and stuff, to no avail. In the end, a google search helped me. :D
:wq
Post Reply
  • Members connected in real time

    🔒 Close the panel of connected members