Mailinglist Archive: opensuse-security (471 mails)
| < Previous | Next > |
/dev permissions get changed
- From: MaD dUCK <madduck@xxxxxxxxxxx>
- Date: Wed, 25 Oct 2000 00:45:30 -0400
- Message-id: <20001025004530.A3451@xxxxxxxxxxx>
hi,
on a couple of linux machines that are public workstations (i.e. a number of
people have accounts and should be able to use the machines), i changed the
permissions of /dev/cdrom to 0644 and /dev/fd0 to 0666 to enable the users
to access the cdrom and floppy freely. the same (0666) was done for /dev/ttyS? -
the users need access to the serial ports. a little while later, however, we
had to discover that the permissions had been arbitrarily reset.
/dev/fd0 went 0660 and got owned by the last user, group floppy.
/dev/cdrom went 0600 <user>.disk
/dev/ttyS0 went 0660 root.uucp
??? why does this happen? i noticed the /dev entries changing permissions and
ownership whenever they felt like it. that's not how it's supposed to be. when
i set fd0 to 0666 root.floppy, i intend it to stay like that until i change it.
what is responsible for this change and how can i prevent it?
thanks,
martin
madduck@xxxxxxxxxxx
(greetings from the heart of the sun)
on a couple of linux machines that are public workstations (i.e. a number of
people have accounts and should be able to use the machines), i changed the
permissions of /dev/cdrom to 0644 and /dev/fd0 to 0666 to enable the users
to access the cdrom and floppy freely. the same (0666) was done for /dev/ttyS? -
the users need access to the serial ports. a little while later, however, we
had to discover that the permissions had been arbitrarily reset.
/dev/fd0 went 0660 and got owned by the last user, group floppy.
/dev/cdrom went 0600 <user>.disk
/dev/ttyS0 went 0660 root.uucp
??? why does this happen? i noticed the /dev entries changing permissions and
ownership whenever they felt like it. that's not how it's supposed to be. when
i set fd0 to 0666 root.floppy, i intend it to stay like that until i change it.
what is responsible for this change and how can i prevent it?
thanks,
martin
madduck@xxxxxxxxxxx
(greetings from the heart of the sun)
| < Previous | Next > |