[Dovecot] Re : Permission denied
Hello Timo,
I'm using linux Fedora Core 2. The permissions are : drwxrwxrwt 2 root mail 32 2004-06-16 04:45 /var/spool/mail/
These permissions are made buy the command chmod a+rwxt /var/spool/mail.
So if someone wants to erase the /var/spool/mail directory, it's possible unfortunately.
If there are theses permissions the user can receive his mails but it's dangerous I think. And if I modify the dovecot.conf file : mail_extra_groups = mail and if the permissions are the initial permission, and if I enter chmod +t /var/spool/mail the user can't receive his mail.
Thanks
Frederic
On Fri, 2004-07-09 at 09:15, Frédéric Sapin wrote:
From chmod(1)
The letters `rwxXstugo' select the new permissions for the
affected users: read (r), write (w), execute (or access
for directories) (x), execute only if the file is a direc
tory or already has execute permission for some user (X),
set user or group ID on execution (s), sticky (t), the
permissions that the user who owns the file currently has
for it (u), the permissions that other users in the file's
group have for it (g), and the permissions that other
users not in the file's group have for it (o).
So, you may want to look for information about sticky bits.
Regards,
-Mauricio
On Fri, 2004-07-09 at 17:20, Frédéric Sapin wrote:
And deleting other people's mail isn't actually possible then. That's why there's the +t sticky bit. It's the same as in /tmp directory. Users can only create files and delete their own files, but can't delete files created by others.
participants (4)
-
Charlie Brady
-
Frédéric Sapin
-
Mauricio Araya V.
-
Timo Sirainen