
Hi all, Thanks for all the help I have received from this group. I have tried to change group owneras root, but in all cases it says "operation not permitted" To be be more specific I have a DOS partition where I have installed dos OS and a Dos programm, automaticly this partition is mounted at start up of Linux in /home/dos, but as mentioned before I can not change the group or owner. Only when I login as root on a win95/98 machine it is allowed to execute this dos programm installed on the Linux server. Does anyone know what I'am doing wrong here. Thanks for any suggestions, solutions. rgd Wil

As far as I know.. the fat/DOS file system cannot be assigned permissons. the root.root permissions are for the linux file system.. to mount it as writable by whichever owner/group you want..you will need to change your /etc/fstab file I dont know the entry right off.. someone on the list will probably submit it to you..or you can check out the how-to for mounting Chrissy At 10:45 PM 4/6/2000 +0200, you wrote:
Hi all,
Thanks for all the help I have received from this group.
I have tried to change group owneras root, but in all cases it says "operation not permitted"
To be be more specific I have a DOS partition where I have installed dos OS and a Dos programm, automaticly this partition is mounted at start up of Linux in /home/dos, but as mentioned before I can not change the group or owner. Only when I login as root on a win95/98 machine it is allowed to execute this dos programm installed on the Linux server. Does anyone know what I'am doing wrong here.
Thanks for any suggestions, solutions.
rgd
Wil
--------------------------------------------------------------------- To unsubscribe, e-mail: suse-security-unsubscribe@suse.com For additional commands, e-mail: suse-security-help@suse.com

On Thu, 6 Apr 2000, wil van der wee wrote:
Hi all,
Thanks for all the help I have received from this group.
I have tried to change group owneras root, but in all cases it says "operation not permitted"
To be be more specific I have a DOS partition where
IIRC, I had this problem, and it was 'cause the vfat (or whatever format it is in) doesn't support the group/owner permissions. You've got to specify the valid perms for the whole drive (must be the same for the whole dos drive)when you mount it. Time to open the /etc/fstab. At the end of the entry for your DOS drive you'll need to add: uid=XXX,gid=YYY,mode=ZZZ (XXX is the user ID of the drive owner (chown), YYY is the ID of the group the drive belongs to (chgrp), and ZZZ is the ocatal value for the file permisions (chmod). IIRC, the mode is optional. I have trouble remembering the ocatal values off hand for chmod, but the man page should help, and there's a good file on chmod @ http://www.attrition.org/security/newbie/unix/ (or something like that)
I have installed dos OS and a Dos programm, automaticly this partition is mounted at start up of Linux in /home/dos, but as mentioned before I can not change the group or owner. Only when I login as root on a win95/98 machine it is allowed to execute this dos programm installed on the Linux server. Does anyone know what I'am doing wrong here.
You want to run programs from the drive? You'll have to mount it with the 'exec' option.
Thanks for any suggestions, solutions.
All these, and more are covered in 'man mount'. I'd strongly suggest reading it. /cog

On Don, Apr 06, 2000 at 10:45:44 +0200, wil van der wee wrote:
I have tried to change group owneras root, but in all cases it says "operation not permitted"
To be be more specific I have a DOS partition where I have installed dos OS and a Dos programm, automaticly this partition is mounted at start up of Linux in /home/dos, but as mentioned before I can not change the group or owner. Only when I login as root on a win95/98 machine it is allowed to execute this dos programm installed on the Linux server. Does anyone know what I'am doing wrong here.
Ouh - this *little bit* of information is very important :-( dos partitions don't support Linux owner and group strategy. There are some mount options to set the right mode and owner of all files. See man mount for detailed information. Jan
participants (4)
-
Chrissy
-
cogNiTioN
-
Jan.Trippler@t-online.de
-
wil van der wee