Click to See Complete Forum and Search --> : permissions on linux does not work with windows
gsanand
09-19-2002, 07:44 PM
I set only execute permission on Linux, but on Windows side(98), I can right click and make it read and write as well and it gets changed on the linux too.
What I would love to see is, the users on Windows 98 could only see the file and execute it but they should not read and write to the file.
Please suggest possible solutions.
Thanks!!!
SubWing
09-19-2002, 10:52 PM
I might be wrong but I think you're a little confused on permission. When you chmod a mounted windows file from linux, you are changing that file's permission from linux and is only accessable to linux.
Bokkenka
09-20-2002, 12:17 AM
FAT-32, the filesystem for Win98, doesn't have the same permission structure as Linux's filesystems. You can set all the Linux permissions you want on a FAT filesystem, but they don't get stored, and therefore don't work.
It won't even work when setting them from the Windows side... FAT just isn't meant to be used in a multi-user operating system. If you have several users on your Win98 box, they can all do anything to any of the files on the drive, unless you use some third-party software.
wapcaplet
09-21-2002, 11:42 PM
Yeah, as far as I know there is no way to give a file no-write access in Windows (well, there is the "read-only" option but anyone is allowed to turn it off). Unless there is some kind of third-party application (or the Windows registry) telling Windows that a file is to be protected, nothing will stop any old schmuck from screwing with files they're not supposed to.
I've messed up many a Windows installation because of this :)
Aglavalin
09-24-2002, 04:21 AM
Some files will let you use a password to allow changes, but basically FAT is best with one user only!