View previous topic :: View next topic |
Author |
Message |
tcma Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
Joined: 28 Jun 2004 Posts: 208
|
Posted: Tue Jun 29, 2004 8:27 pm Post subject: cannot modify files on DOS partition |
|
|
I mount a DOS partition as rw.
Login as root still not able to modify files on it.
Why?
# mount -t msdos -rw -o dmask=0777,fmask=0777 /dev/hda8 /mnt/dosg
chmod a+w /mnt/dosg/linux/notebook.txt
chmod: changing permissions of `/mnt/dosg/linux/notebook.txt' (requested: 0777, actual: 0755): Operation not permitted |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
kiezpro Tux's lil' helper
![Tux's lil' helper Tux's lil' helper](/images/ranks/rank_rect_1.gif)
![](images/avatars/119194096340e12f8940e24.gif)
Joined: 13 May 2004 Posts: 126 Location: Yes
|
Posted: Tue Jun 29, 2004 9:14 pm Post subject: |
|
|
FAT file systems don't support user and group permissions, so you can't set permissions for anyone else than the owner, and I assume you don't even have an execute bit (but I'm not sure about that one). |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
vonhelmet l33t
![l33t l33t](/images/ranks/rank_rect_4.gif)
Joined: 06 Apr 2004 Posts: 770 Location: Somewhere in a school
|
Posted: Tue Jun 29, 2004 9:44 pm Post subject: Re: cannot modify files on DOS partition |
|
|
tcma wrote: | I mount a DOS partition as rw.
Login as root still not able to modify files on it.
Why?
# mount -t msdos -rw -o dmask=0777,fmask=0777 /dev/hda8 /mnt/dosg
chmod a+w /mnt/dosg/linux/notebook.txt
chmod: changing permissions of `/mnt/dosg/linux/notebook.txt' (requested: 0777, actual: 0755): Operation not permitted |
I'm not sure, but I think there is an option in the kernel to compile in FAT write support... maybe you only have read support compiled in?
Try setting a umask too. _________________ My blog
nvtuner software - enhance your AGP Geforce 6800 or 6200! |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
|