[SLE] Newbie question: how do you change the group of a DOS partition.
I would like to try to telnet (or ssh, if I could set it up) so that I could access it at school, but I'm also allowing friends to check the place out (they have no write access except for the HOME directory). But I ran to a problem because I don't want my friends to see most (but not all) of my mounted DOS partition. Does anyone have any idea how to change the group of files mounted as a DOS partition? I don't want to add myself to the group root because this could be a source to breech my system. Calyth -- To unsubscribe send e-mail to suse-linux-e-unsubscribe@suse.com For additional commands send e-mail to suse-linux-e-help@suse.com Also check the FAQ at http://www.suse.com/Support/Doku/FAQ/
On Wed, 01 Mar 2000, Calyth wrote:
I would like to try to telnet (or ssh, if I could set it up) so that I could access it at school, but I'm also allowing friends to check the place out (they have no write access except for the HOME directory). But I ran to a problem because I don't want my friends to see most (but not all) of my mounted DOS partition. Does anyone have any idea how to change the group of files mounted as a DOS partition? I don't want to add myself to the group root because this could be a source to breech my system.
Unfortunately, AFAIK Linux security on a DOS partition is one-size-fits-all. ("All", in the apparel industry, is a technical term meaning "not you".) This is a side effect of the fact that DOS/Win9x simply does not have meaningful security. So it looks like all you can do is copy the files (or establish symlinks) to a Linux directory where you apply proper security. However, if you're going to use symlinks, do it on a file by file basis. I think if you establish a symlink to a DOS directory, your friends could switch to that directory and then just move up the directory tree to the root of the DOS partition. -- To unsubscribe send e-mail to suse-linux-e-unsubscribe@suse.com For additional commands send e-mail to suse-linux-e-help@suse.com Also check the FAQ at http://www.suse.com/Support/Doku/FAQ/
Calyth wrote:
I would like to try to telnet (or ssh, if I could set it up) so that I could access it at school, but I'm also allowing friends to check the place out (they have no write access except for the HOME directory). But I ran to a problem because I don't want my friends to see most (but not all) of my mounted DOS partition. Does anyone have any idea how to
I'm afraid that if it's a FAT16 partition, mounted as type msdos or vfat, then it's an all-or-nothing case. Either they can see it all, or they can't. You may be able to get some stuff sorted out by playing with symlinks, but I'm not sure whether that would work. I suppose one option would be to mount the DOS partition as type UMSDOS, for which, IIRC, you can assign different permissions to individual files. See 'man mount' for more detailed information.
change the group of files mounted as a DOS partition? I don't want to
If you wanted to change the permissions for an msdos or vfat partition as a whole, then you would do this with the umask option in the mount command. Again, this is covered in the mount man page.
add myself to the group root because this could be a source to breech my system.
That's a sensible move... Hope that helps, Chris -- __ _ -o)/ / (_)__ __ ____ __ Chris Reeves /\\ /__/ / _ \/ // /\ \/ / ICQ# 22219005 _\_v __/_/_//_/\_,_/ /_/\_\ -- To unsubscribe send e-mail to suse-linux-e-unsubscribe@suse.com For additional commands send e-mail to suse-linux-e-help@suse.com Also check the FAQ at http://www.suse.com/Support/Doku/FAQ/
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi, Fat and Vfat filesystems do not support file permissions, however you may change permisions for entire your fat and vfat partitions in the /etc/fstab. Take a look at man mount. On Wed, 01 Mar 2000 19:20:17 -0800, Calyth wrote:
all) of my mounted DOS partition. Does anyone have any idea how to change the group of files mounted as a DOS partition? I don't want to add myself to the group root because this could be a source to breech my
regards, Pep Serrano pep@serrano.net http://pep.serrano.net -----BEGIN PGP SIGNATURE----- Version: PGPsdk version 1.7.1 (C) 1997-1999 Network Associates, Inc. and its affiliated companies. iQA/AwUBOL5vOMXRH5QDajQrEQLQsgCg/tMF0r390myFQQXGXhxSUErlQDgAnRfV 2vf6DqUr5u9NHBj+EJylyF+I =9VSI -----END PGP SIGNATURE----- -- To unsubscribe send e-mail to suse-linux-e-unsubscribe@suse.com For additional commands send e-mail to suse-linux-e-help@suse.com Also check the FAQ at http://www.suse.com/Support/Doku/FAQ/
participants (4)
-
calyth@home.com
-
chris.reeves@iname.com
-
pep@serrano.net
-
warrl@blarg.net