Re: default file permissions

2004-05-14 Thread Ulrich Fürst
Silvan schrieb: On Thursday 13 May 2004 12:18 pm, Ulrich Fürst wrote: You're right, thanks. I'll change to user instead of staff (of course I trust my wife but I'm not sure about myself ;-) ). No o.k. I just feel better I guess using a group that is made for it. Or make your own and set it up

Re: default file permissions

2004-05-13 Thread Ulrich Fürst
Nathaniel W. Turner schrieb: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Monday 10 May 2004 11:48 am, Birgit und Ulrich Fürst wrote: By the way. Is it bad to use staff instead of user as group? I didn't find any system files using staff. FWIW, The staff group has write access to everything

Re: default file permissions

2004-05-13 Thread Silvan
On Thursday 13 May 2004 12:18 pm, Ulrich Fürst wrote: You're right, thanks. I'll change to user instead of staff (of course I trust my wife but I'm not sure about myself ;-) ). No o.k. I just feel better I guess using a group that is made for it. Or make your own and set it up how you want.

Re: default file permissions

2004-05-12 Thread Silvan
On Tuesday 11 May 2004 08:13 am, Bart Dorsey wrote: On Monday 10 May 2004 11:17 am, Antonio Rodriguez wrote: do with the sticky bit, about which I wouldn't mind reading. It seems that in most references that I have seen they don't talk about it much. Okay, here goes ;) you asked for it

Re: default file permissions

2004-05-12 Thread Silvan
On Monday 10 May 2004 12:06 pm, Antiphon wrote: If I get it right 0007 would lead to denie access to anyone not beeing user or in the group of the file, and giving full access to the file for user and group? That would be what I want! No. 0007 means that anyone can write to it who is not

Re: default file permissions

2004-05-11 Thread Bart Dorsey
On Monday 10 May 2004 11:17 am, Antonio Rodriguez wrote: Would some explain further the 4 number system? More exactly, the last three numbers are clear, they are explained everywhere, but the first one, refering to special, is not explained anywhere that I know. I will be happy to read about

Re: default file permissions

2004-05-11 Thread Antonio Rodriguez
On Tue, May 11, 2004 at 07:13:04AM -0500, Bart Dorsey wrote: Okay, here goes ;) you asked for it ;) Thank you first off, binary snip You should get the idea. Beautiful up to here. All is clear. BTW, the sticky bits are overlaid on top of these to create the extra digit... 4 2

Re: default file permissions

2004-05-11 Thread Bart Dorsey
On Tuesday 11 May 2004 9:11 am, Antonio Rodriguez wrote: BTW, the sticky bits are overlaid on top of these to create the extra digit... 4 2 1 rwx rwx rwx can you be more explicit? Sure, I'll try the first rwx is the 4's place, the second rwx is the 2's place, and the

Re: default file permissions

2004-05-11 Thread Ruth A. Kramer
Bart Dorsey wrote: Maybe it would be somewhat easier to understand if you separated the numeric / octal (e.g., 2777) representation of the sticky bits from the alphabetic representation (e.g., rwsrwsrwt)? Attempting to do so: * In numeric representation, the sticky bits are represented by a

Re: default file permissions

2004-05-10 Thread Ulrich Fürst
Bart Dorsey schrieb: The real proper way to do this is to create your family-group (in fact the users group would suffice for this, just add both users to is (why is this not the default in debian?) them create /home/shared-stuff and set it 775 chmod 775 /home/shared-stuff then set the group

Re: default file permissions

2004-05-10 Thread Ulrich Fürst
Silvan schrieb: On Sunday 09 May 2004 02:53 pm, Ulrich Fürst wrote: Where is the file? I don't run Mozilla, so I'm not familiar with that. Is it under /usr somewhere, or what? It's under /home/.mozilla/ ... In this directory and in subdirectories mozilla stores it's settings and the mails and

Re: default file permissions

2004-05-10 Thread Birgit und Ulrich Fürst
I wrote: That's nearly what I did first. Just nearly because the directory's owner is ulrich:staff (we're both in staff). By the way. Is it bad to use staff instead of user as group? I didn't find any system files using staff. Ulrich

Re: default file permissions

2004-05-10 Thread Antiphon
On Mon, 10 May 2004 17:45:36 +0200, Ulrich Fürst [EMAIL PROTECTED] wrote: Silvan schrieb: This seems like what you want. It would probably be better to use a umask of 0007 instead, so you still have *some* control. (I should have used that in the above example, but I'm too lazy to go

Re: default file permissions

2004-05-10 Thread Antonio Rodriguez
On Mon, May 10, 2004 at 12:06:42PM -0400, Antiphon wrote: On Mon, 10 May 2004 17:45:36 +0200, Ulrich Fürst [EMAIL PROTECTED] wrote: Silvan schrieb: This seems like what you want. It would probably be better to use a umask of 0007 instead, so you still have *some* control. (I should

Re: default file permissions

2004-05-10 Thread Ulrich Fürst
Antonio Rodriguez schrieb: On Mon, May 10, 2004 at 12:06:42PM -0400, Antiphon wrote: On Mon, 10 May 2004 17:45:36 +0200, Ulrich Fürst [EMAIL PROTECTED] wrote: Silvan schrieb: This seems like what you want. It would probably be better to use a umask of 0007 instead, so you still have *some*

Re: default file permissions

2004-05-10 Thread Ulrich Fürst
Antiphon schrieb: On Mon, 10 May 2004 17:45:36 +0200, Ulrich Fürst [EMAIL PROTECTED] wrote: Silvan schrieb: If I get it right 0007 would lead to denie access to anyone not beeing user or in the group of the file, and giving full access to the file for user and group? That would be what I

Re: default file permissions

2004-05-10 Thread Antiphon
On Mon, 10 May 2004 18:45:55 +0200, Ulrich Fürst [EMAIL PROTECTED] wrote: Antiphon schrieb: On Mon, 10 May 2004 17:45:36 +0200, Ulrich Fürst [EMAIL PROTECTED] wrote: Silvan schrieb: If I get it right 0007 would lead to denie access to anyone not beeing user or in the group of the file,

Re: default file permissions

2004-05-10 Thread Ulrich Fürst
Antiphon schrieb: The executable bit can be applied to files and directories alike since, in reality, a directory is merely just a kind of file. rw-rw would be 660 So setting my umask to 006 would lead to let new files be 660, right? Ulrich

Re: default file permissions

2004-05-10 Thread Antiphon
On Monday 10 May 2004 02:01 pm, Ulrich Fürst wrote: Antiphon schrieb: The executable bit can be applied to files and directories alike since, in reality, a directory is merely just a kind of file. rw-rw would be 660 So setting my umask to 006 would lead to let new files be 660,

Re: default file permissions

2004-05-10 Thread Adeodato Simó
* Antiphon [Mon, 10 May 2004 20:23:02 -0400]: rw-rw would be 660 So setting my umask to 006 would lead to let new files be 660, right? That should do the trick sorry but nope. UMASK=006 would yield permissions rwxrwx--x (771). you need a little binary arithmetic to understand

Re: default file permissions

2004-05-10 Thread Dominique Devriese
Ulrich Fürst writes: Antiphon schrieb: The executable bit can be applied to files and directories alike since, in reality, a directory is merely just a kind of file. rw-rw would be 660 So setting my umask to 006 would lead to let new files be 660, right? UMASK(2)

Re: default file permissions

2004-05-10 Thread Adeodato Simó
* Adeodato Simó [Tue, 11 May 2004 02:38:43 +0200]: * Antiphon [Mon, 10 May 2004 20:23:02 -0400]: rw-rw would be 660 So setting my umask to 006 would lead to let new files be 660, right? That should do the trick sorry but nope. UMASK=006 would yield permissions rwxrwx--x (771).

default file permissions

2004-05-09 Thread Ulrich Fürst
Hallo and good evening! I want to use the same mozilla-profile for different users. But every knew file gets the permission - r w - r - - r - - . So no other user can get write access. I found out that I should set the sgid/suid-bit for the directories but that doesn't help. Whenever I

Re: default file permissions

2004-05-09 Thread Jan Torben Heuer
Am Sonntag, 9. Mai 2004 11:10 schrieb Ulrich Fürst: I want to use the same mozilla-profile for different users. But every knew file gets the permission - r w - r - - r - - . So no other user can get write access. I found out that I should set the sgid/suid-bit for the directories but

Re: default file permissions

2004-05-09 Thread Adeodato Simó
* Jan Torben Heuer [Sun, 09 May 2004 14:57:25 +0200]: look for umask. Maybe setting it to umask 002 in /etc/profile might help you. If that doesn't work, try: # echo umask 002 /etc/X11/Xsession.d/95local-umask -- Adeodato Simó EM: asp16 [ykwim] alu.ua.es | PK: DA6AE621 Man is

Re: default file permissions

2004-05-09 Thread Ulrich Fürst
Jan Torben Heuer wrote: Am Sonntag, 9. Mai 2004 11:10 schrieb Ulrich Fürst: I want to use the same mozilla-profile for different users. But every knew file gets the permission - r w - r - - r - - . So no other user can get write access. I found out that I should set the sgid/suid-bit for the

Re: default file permissions

2004-05-09 Thread Ulrich Fürst
Adeodato Simó wrote: * Jan Torben Heuer [Sun, 09 May 2004 14:57:25 +0200]: look for umask. Maybe setting it to umask 002 in /etc/profile might help you. If that doesn't work, try: # echo umask 002 /etc/X11/Xsession.d/95local-umask That only changes things for the kde-console, too. Ulrich

Re: default file permissions

2004-05-09 Thread Adeodato Simó
* Ulrich Fürst [Sun, 09 May 2004 17:16:06 +0200]: Adeodato Simó wrote: If that doesn't work, try: # echo umask 002 /etc/X11/Xsession.d/95local-umask That only changes things for the kde-console, too. mmm, i hadn't tested. now i have and: - works in mozilla when saving a image or

Re: default file permissions

2004-05-09 Thread Silvan
On Sunday 09 May 2004 05:10 am, Ulrich Fürst wrote: I want to use the same mozilla-profile for different users. But every knew file gets the permission - r w - r - - r - - . So no other user can get write access. I found out that I should set Where is the file? I don't run Mozilla, so

Re: default file permissions

2004-05-09 Thread Ulrich Fürst
Silvan wrote: On Sunday 09 May 2004 05:10 am, Ulrich Fürst wrote: I want to use the same mozilla-profile for different users. But every knew file gets the permission - r w - r - - r - - . So no other user can get write access. I found out that I should set Where is the file? I don't run

Re: default file permissions

2004-05-09 Thread Adeodato Simó
* Ulrich Fürst [Sun, 09 May 2004 20:53:16 +0200]: it. And the bookmarks-file should be for us both, too. So what I want is that mozilla uses the directory /home/.mozilla/ for storing its files for my wife as well as for me. Mozilla points korrekt to the directory but because my wife's account

Re: default file permissions

2004-05-09 Thread Ulrich Fürst
Adeodato Simó schrieb: * Ulrich Fürst [Sun, 09 May 2004 20:53:16 +0200]: it. And the bookmarks-file should be for us both, too. So what I want is that mozilla uses the directory /home/.mozilla/ for storing its files for my wife as well as for me. Mozilla points korrekt to the directory but because

Re: default file permissions

2004-05-09 Thread Silvan
On Sunday 09 May 2004 02:53 pm, Ulrich Fürst wrote: Where is the file? I don't run Mozilla, so I'm not familiar with that. Is it under /usr somewhere, or what? It's under /home/.mozilla/ ... In this directory and in subdirectories mozilla stores it's settings and the mails and so on.

Re: default file permissions

2004-05-09 Thread Bart Dorsey
The real proper way to do this is to create your family-group (in fact the users group would suffice for this, just add both users to is (why is this not the default in debian?) them create /home/shared-stuff and set it 775 chmod 775 /home/shared-stuff then set the group sticky bit on the