-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Thu, Nov 10, 2016 at 04:53:47AM -0600, Richard Owlett wrote: > On 11/9/2016 5:16 PM, Lisi Reisz wrote: > >On Sunday 06 November 2016 16:47:00 Richard Owlett wrote: > >>[snip] > >>Based on responses to previous posts titled "Trivial script will > >>NOT execute" and "Permissions for an entire PARTITION" I have > >>multiple problems understanding Linux file systems generally. > > > >I imagine you have seen this lot - especially the top three?? > >https://www.google.co.uk/search?q=basic+debian+file+system&oq=basic+debian+file+system&aqs=chrome..69i57.7617j0j7&sourceid=chrome&ie=UTF-8 > > > >Lisi > > Yes, but not in the context of a sub-project from last few days. > I suspect what I aiming at might look like - the groups and > permission bits set at time partition created, thus avoiding games > with /etc/fstab . > > richard@jessie-defaults:~$ > richard@jessie-defaults:~$ ls -l /dev/sd* > brw-rw---- 1 root disk 8, 0 Nov 10 03:35 /dev/sda > brw-rw---- 1 root owl 8, 1 Nov 10 03:35 /dev/sda1 > brw-rw-r-- 1 root owl 8, 2 Nov 10 03:35 /dev/sda2 > brw-rw---- 1 root disk 8, 3 Nov 10 03:35 /dev/sda3 > brw-rw---- 1 root disk 8, 5 Nov 10 03:35 /dev/sda5 > brw-rw---- 1 root disk 8, 16 Nov 10 04:43 /dev/sdb > br--rw-r-- 1 root owl 8, 17 Nov 10 04:43 /dev/sdb1
Note that with this setting, "you" can thrash whatever is in /dev/sda through /dev/sdb (write access). Besides "everyone" can peek into /dev/sda2 and /dev/sdb1. And by "you" I'm talking about any program running on your behalf, i.e. an executable attachment to this mail which your mail reader might let through, or a LaTeX class c&p'ed off the Interwebs. This is not to scare you: just to help you tune your awareness towards such things. > >>If retirement isn't for learning, what use is it. :-) regards - -- tomás "I'm a signature virus. Go ahead and copy me into your signature" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.12 (GNU/Linux) iEUEARECAAYFAlgkV/4ACgkQBcgs9XrR2kZQSQCY+9nfiKPCIxbQ7Q2qedmSt1dS NgCfYroYPuSLFKLe7SlsLN+vMBe1GH8= =j2Ks -----END PGP SIGNATURE-----