Re: Multi-user and shared directories

2007-08-30 Thread Roberto Bechtlufft
> man newgrp Nice, I didn't even know this command existed... very interesting, thanks again. But I really liked this one: > chgrp dosemu directory_where_are_files_created > chmod g+rwxs directory_where_are_files_created Thanks Frantisek, that's exactly what I want. - To unsubscribe from this li

Re: Multi-user and shared directories

2007-08-30 Thread Frantisek Hanzlik
"umod 002" -> "umask 002" "you can only have one group to a file/directory" : it isn't very right, at least ext2, ext3 and xfs filesystems supports POSIX Access Control Lists (ACL - see "man acl", "man getfacl","man setfacl") and is possible set different access rights (read, write, search/execut

Re: Multi-user and shared directories

2007-08-30 Thread Alain M.
I looks like your explanation "chmod 002" was meant "umod 002" and thus would be "chmod 775" which is correct. But remember that you can only have one group to a file/directory, that is a Linux limitation. Maybe you need an extra group... Alain Roberto Bechtlufft escreveu: Ok, question number

Re: Multi-user and shared directories

2007-08-30 Thread Frantisek Hanzlik
chgrp dosemu directory_where_are_files_created chmod g+rwxs directory_where_are_files_created SGID bit set on directory will cause trick: all files created under will have group as directory, not primary user group (in this case roberto and fatima). Frantisek Hanzlik Roberto Bechtlufft wrote:

Re: Multi-user and shared directories

2007-08-30 Thread Frank Cox
On Thu, 30 Aug 2007 17:38:43 -0300 "Roberto Bechtlufft" <[EMAIL PROTECTED]> wrote: > Suppose I have users roberto and fatima. roberto is under the groups > roberto and dosemu, and fatima is under fatima and dosemu. When I do a > chmod 002 and as roberto create a new file all users under the group

Re: Multi-user and shared directories

2007-08-30 Thread Roberto Bechtlufft
Ok, question number 327 :-) Suppose I have users roberto and fatima. roberto is under the groups roberto and dosemu, and fatima is under fatima and dosemu. When I do a chmod 002 and as roberto create a new file all users under the group roberto can read and write to it. However, I want my files to

Fw: Re: Multi-user and shared directories (second try with part 3)

2007-08-30 Thread Frank Cox
Looks like it's something in the last two paragraphs that causes the mailing list server to reject my this message. I will reword it a bit to see if that solves the problem. Begin forwarded message: You can create your frontend directly with the batchfile using choice.exe, or you can write it u

Re: Multi-user and shared directories (reply part 1 of 3)

2007-08-30 Thread Frank Cox
Once again the over-eager spam filter on the mailing list server has apparently eaten my reply to Roberto. He got it himself as I sent him a copy directly, but it has not appeared on the mailing list here for the benefit of anyone else who might be interested in this topic. I will try resending i

Re: Multi-user and shared directories (reply part 2 of 3)

2007-08-30 Thread Frank Cox
Just make a symbolic link in ~/.dosemu/drive_c to point to a common directory. For example: mkdir /opt/dosstuff ln -s /opt/dosstuff ~/.dosemu/drive_c/dosstuff Set your permissions in /opt/dosstuff to whatever you want. Now you can use "cd dosstuff" from a dos prompt within your dosemu window to

Re: Multi-user and shared directories

2007-08-30 Thread Roberto Bechtlufft
> This gives you the flexibility of having one or many shared dos directories, > plus having private dos directories for each user. Hm... you're right. > If you choose to do it the way that I do it, your users will never see a dos > prompt. autoexec.bat cranks up a frontend menu that exits with

Re: Multi-user and shared directories

2007-08-30 Thread Frantisek Hanzlik
I use dosemu & Linux terminal server (k12ltsp) by several customers in production environment (mainly some economical DOS programs). There maybe better solve dosemu setting as "hardware oriented", because terminals physical location may determine e.g. local printers use in DOS. Therefore I have on