I wanted to make my DOS disk unreadable by everyone but root. The
setup program mounted the drive and gave it default permissions and I
have tried to change them with chmod to no avail. Is there another
way to do this?
: I wanted to make my DOS disk unreadable by everyone but root. The
: setup program mounted the drive and gave it default permissions and I
: have tried to change them with chmod to no avail. Is there another
: way to do this?
D'you try mounting with the -o umask=077 uid=0 option?
Jo Yun To every thing there is a season, and a
Put line to your /etc/fstab:
/dev/hda1 /dos msdos uid=0,gid=0,umask=77
or mount it with:
mount -t msdos -o uid=0,gid=0,umask=77 /dev/hda1 /dos
## http://phoenix.oulu.fi/~tomilepp ##
Currently I dual-boot NT and RH6. I mount my two FAT partitions (C and D
drives under NT) as /dosc and /dosd.
I have been trying to play with WINE, and in setting this up I wanted to
give write access to the windows temp directory (/dosc/temp under Linux) but
I can't seem to do it.
I have tried both using su to switch to the root user and logging in again
as root + the following commands from the /dosc directory:
chmod a+w temp
chmod 777 temp // I was just trying to get any access there for the time
chmod o+w temp
none of them have any effect. It appears that even the root user can't
change any permitions on my FAT partitions. Any suggestions would be