[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Sticky premissions.
That's ok - I solved the problem : the thing was to set the right default
mask for file creation. I don't mind if users will change the premissions to
whatever they like (if they own the file) I just want that by default anyone
in the group will have r/w access. the thing is that most users access said
directory using remote mounting, through either SMB or NFS and I simply
don't want them to be bothered with premissions when not required to.
Oded
--
Subject: Re: The ethics of detecting errors (was Re: Why isn't hardware ...)
[..]
But cheer up -- we could be selling tobacco. It's not like software kills
people if used as intended.
-- David Chase
----- Original Message -----
From: "Daniel Feiglin" <dilogsys@inter.net.il>
To: "Oded Arbel" <oded@geek.co.il>
Cc: "Linux-IL" <linux-il@linux.org.il>
Sent: Tuesday, October 23, 2001 11:25 PM
Subject: Re: Sticky premissions.
> There is a bit of a self contradiction here: Linux aint Windows. You can
create
> a "public" dirctory, say mydir and then say chmod g+rw mydir. But the
moment
> someone in the group writes something to it, he can set permissions any
way he
> likes, for his own files. The only way to "beat the system", is to have
the
> directory owner run a periodic task saying something like chmod -R ug+rw
mydir.
>
> (Subdirectories are always created by mkdir as rwx owner and rx for
everone
> else. The x grants "way through" access for stuff further down the tree.)
>
> Ref: Stevens, APUE, p 78.
>
> Oded Arbel wrote:
>
> > Reading this again, I think I didn't made myself clear, so lets try
again :
> > I want that any user of the "users" group will be able to create files
and
> > directories under the public directory, and said files and directories
will
> > automaticly have read/write access to all members of the "users" group,
and
> > recursively - that files and directories in sub-directories will also be
> > thus affected.
> >
> > Oded
> >
> > --
> > "I don't care who does the electing as long as I get to do the
nominating."
> > -- Boss Tweed
> >
> > ----- Original Message -----
> > From: "Oded Arbel" <oded@geek.co.il>
> > To: "Linux-IL" <linux-il@linux.org.il>
> > Sent: Monday, October 22, 2001 8:19 PM
> > Subject: Sticky premissions.
> >
> >
> >
> >>Hi list.
> >>
> >>I have here a public directory which I want all users to be able to read
> >>
> > and
> >
> >>write to - but not only to things that they created : I want a user to
> >>
> > have
> >
> >>full read/write access to any file under that directory that was created
> >>
> > by
> >
> >>another user of the "users" group.
> >>I'm wandering if that is possible to do using some sort of sticky bit
> >>somewhere ?
> >>
> >>Oded
> >>
> >>--
> >>"Idiocy is the essence of the male mind."
> >> -- Calvin and Hobbes
> >>
> >>
> >>
> >>=================================================================
> >>To unsubscribe, send mail to linux-il-request@linux.org.il with
> >>the word "unsubscribe" in the message body, e.g., run the command
> >>echo unsubscribe | mail linux-il-request@linux.org.il
> >>
> >>
> >>
> >
> >
> > =================================================================
> > To unsubscribe, send mail to linux-il-request@linux.org.il with
> > the word "unsubscribe" in the message body, e.g., run the command
> > echo unsubscribe | mail linux-il-request@linux.org.il
> >
> >
> >
>
>
>
> =================================================================
> To unsubscribe, send mail to linux-il-request@linux.org.il with
> the word "unsubscribe" in the message body, e.g., run the command
> echo unsubscribe | mail linux-il-request@linux.org.il
>
>
---
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.286 / Virus Database: 152 - Release Date: 09/10/01
=================================================================
To unsubscribe, send mail to linux-il-request@linux.org.il with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail linux-il-request@linux.org.il