Re: [PLUG] When {[right question] >= (useful answer)} ?

2018-07-04 Thread Tomas Kuchta
As root: create a directory in your partition. Then set ownership, group
and permissions to that directory, allowing users to write into the
directory (ies).

Hope it helps,
Tomas

On Wed, Jul 4, 2018, 1:10 PM Richard Owlett  wrote:

> This Richard is confused ;/
>
> Using GParted I created an ext4 partition labeled "owlcommon".
> I added the following line to fstab:
>LABEL=owlcommon /home/richard/Documents/tst_common ext4 rw,user 0 0
>
> On reboot it does appear in the expected file system location.
>
> *BUT* it is locked {owned by root with users only able to read}
>
> I would like all users to have unrestricted access.
> If not possible, since "richard" has the same UID on all systems, I
> would like "richard" to have full access AUTOMATICALLY.
>
> IOW when I do a fresh install to another partition I want to write a
> line to that system's fstab (or elsewhere) such that "richard"
> automagically has full access.
>
>
> On 07/03/2018 05:06 PM, Rich Shepard wrote:
> > On Tue, 3 Jul 2018, wes wrote:
> >
> >> I suspect the other Richard could be confused in a similar fashion, so
> >> your reply was still valuable.
> >
> > wes,
> >
> >I must have been undercafinated when I responded. Partitions are
> always
> > /dev/sd* (or similar) while file systems have names. It's been a hectic
> day
> > but I won't claim that as an excuse.
> >
> > Best regards,
> >
> > Rich
>
>
>
>
>
> ___
> PLUG mailing list
> PLUG@pdxlinux.org
> http://lists.pdxlinux.org/mailman/listinfo/plug
>
___
PLUG mailing list
PLUG@pdxlinux.org
http://lists.pdxlinux.org/mailman/listinfo/plug


Re: [PLUG] When {[right question] >= (useful answer)} ?

2018-07-04 Thread wes
Haha, excellent. If you're not cheating, you're not trying!

-wes

On Wed, Jul 4, 2018 at 1:13 PM, Richard Owlett  wrote:

> But gave hint to cheating "fairly: ;/
> Used GParted to reformat to FAT32.
> But GParted won't label a FAT partition.
> Used "fatlabel" to label it.
> Edited fstab:
>   LABEL=owlcommon /home/richard/Documents/tst_common vfat
> user,rw,umask=000  0  0
>
> Tested by editing the fstab of another Debian instance.
> Both can read/write that directory.
>
> When I have time I'll test on another machine which can multi boot WinXP.
> "fatlabel" gave a warning that Windows might not be happy with a lower case
> label. But my immediate problem is solved.
> Thank you.
>
>
>
>
>
>
> On 07/04/2018 01:54 PM, wes wrote:
>
>> Whoops, apparently umask is not the answer for ext partitions. There are
>> further comments there which do claim to work.
>>
>> -wes
>>
>> On Wed, Jul 4, 2018 at 11:50 AM, wes  wrote:
>>
>> Through a quick google of "fstab world writable" (without quotes) I found
>>> this:
>>>
>>> https://superuser.com/questions/174776/modify-fstab-
>>> entry-so-all-users-can-read-and-write-to-an-ext4-volume
>>>
>>> One of the answers suggests using the "umask" option in the fstab entry.
>>> I
>>> believe this is what you're looking for.
>>>
>>> -wes
>>>
>>> On Wed, Jul 4, 2018 at 5:10 AM, Richard Owlett 
>>> wrote:
>>>
>>> This Richard is confused ;/

 Using GParted I created an ext4 partition labeled "owlcommon".
 I added the following line to fstab:
LABEL=owlcommon /home/richard/Documents/tst_common ext4 rw,user 0 0

 On reboot it does appear in the expected file system location.

 *BUT* it is locked {owned by root with users only able to read}

 I would like all users to have unrestricted access.
 If not possible, since "richard" has the same UID on all systems, I
 would
 like "richard" to have full access AUTOMATICALLY.

 IOW when I do a fresh install to another partition I want to write a
 line
 to that system's fstab (or elsewhere) such that "richard" automagically
 has
 full access.



 On 07/03/2018 05:06 PM, Rich Shepard wrote:

 On Tue, 3 Jul 2018, wes wrote:
>
> I suspect the other Richard could be confused in a similar fashion, so
>
>> your reply was still valuable.
>>
>>
> wes,
>
> I must have been undercafinated when I responded. Partitions are
> always
> /dev/sd* (or similar) while file systems have names. It's been a hectic
> day
> but I won't claim that as an excuse.
>
> Best regards,
>
> Rich
>
>




 ___
 PLUG mailing list
 PLUG@pdxlinux.org
 http://lists.pdxlinux.org/mailman/listinfo/plug


>>>
>>> ___
>> PLUG mailing list
>> PLUG@pdxlinux.org
>> http://lists.pdxlinux.org/mailman/listinfo/plug
>>
>>
>>
>
> ___
> PLUG mailing list
> PLUG@pdxlinux.org
> http://lists.pdxlinux.org/mailman/listinfo/plug
>
___
PLUG mailing list
PLUG@pdxlinux.org
http://lists.pdxlinux.org/mailman/listinfo/plug


Re: [PLUG] When {[right question] >= (useful answer)} ?

2018-07-04 Thread Richard Owlett

But gave hint to cheating "fairly: ;/
Used GParted to reformat to FAT32.
But GParted won't label a FAT partition.
Used "fatlabel" to label it.
Edited fstab:
  LABEL=owlcommon /home/richard/Documents/tst_common vfat 
user,rw,umask=000  0  0


Tested by editing the fstab of another Debian instance.
Both can read/write that directory.

When I have time I'll test on another machine which can multi boot 
WinXP. "fatlabel" gave a warning that Windows might not be happy with a 
lower case label. But my immediate problem is solved.

Thank you.





On 07/04/2018 01:54 PM, wes wrote:

Whoops, apparently umask is not the answer for ext partitions. There are
further comments there which do claim to work.

-wes

On Wed, Jul 4, 2018 at 11:50 AM, wes  wrote:


Through a quick google of "fstab world writable" (without quotes) I found
this:

https://superuser.com/questions/174776/modify-fstab-
entry-so-all-users-can-read-and-write-to-an-ext4-volume

One of the answers suggests using the "umask" option in the fstab entry. I
believe this is what you're looking for.

-wes

On Wed, Jul 4, 2018 at 5:10 AM, Richard Owlett 
wrote:


This Richard is confused ;/

Using GParted I created an ext4 partition labeled "owlcommon".
I added the following line to fstab:
   LABEL=owlcommon /home/richard/Documents/tst_common ext4 rw,user 0 0

On reboot it does appear in the expected file system location.

*BUT* it is locked {owned by root with users only able to read}

I would like all users to have unrestricted access.
If not possible, since "richard" has the same UID on all systems, I would
like "richard" to have full access AUTOMATICALLY.

IOW when I do a fresh install to another partition I want to write a line
to that system's fstab (or elsewhere) such that "richard" automagically has
full access.



On 07/03/2018 05:06 PM, Rich Shepard wrote:


On Tue, 3 Jul 2018, wes wrote:

I suspect the other Richard could be confused in a similar fashion, so

your reply was still valuable.



wes,

I must have been undercafinated when I responded. Partitions are
always
/dev/sd* (or similar) while file systems have names. It's been a hectic
day
but I won't claim that as an excuse.

Best regards,

Rich







___
PLUG mailing list
PLUG@pdxlinux.org
http://lists.pdxlinux.org/mailman/listinfo/plug





___
PLUG mailing list
PLUG@pdxlinux.org
http://lists.pdxlinux.org/mailman/listinfo/plug





___
PLUG mailing list
PLUG@pdxlinux.org
http://lists.pdxlinux.org/mailman/listinfo/plug


Re: [PLUG] When {[right question] >= (useful answer)} ?

2018-07-04 Thread wes
Whoops, apparently umask is not the answer for ext partitions. There are
further comments there which do claim to work.

-wes

On Wed, Jul 4, 2018 at 11:50 AM, wes  wrote:

> Through a quick google of "fstab world writable" (without quotes) I found
> this:
>
> https://superuser.com/questions/174776/modify-fstab-
> entry-so-all-users-can-read-and-write-to-an-ext4-volume
>
> One of the answers suggests using the "umask" option in the fstab entry. I
> believe this is what you're looking for.
>
> -wes
>
> On Wed, Jul 4, 2018 at 5:10 AM, Richard Owlett 
> wrote:
>
>> This Richard is confused ;/
>>
>> Using GParted I created an ext4 partition labeled "owlcommon".
>> I added the following line to fstab:
>>   LABEL=owlcommon /home/richard/Documents/tst_common ext4 rw,user 0 0
>>
>> On reboot it does appear in the expected file system location.
>>
>> *BUT* it is locked {owned by root with users only able to read}
>>
>> I would like all users to have unrestricted access.
>> If not possible, since "richard" has the same UID on all systems, I would
>> like "richard" to have full access AUTOMATICALLY.
>>
>> IOW when I do a fresh install to another partition I want to write a line
>> to that system's fstab (or elsewhere) such that "richard" automagically has
>> full access.
>>
>>
>>
>> On 07/03/2018 05:06 PM, Rich Shepard wrote:
>>
>>> On Tue, 3 Jul 2018, wes wrote:
>>>
>>> I suspect the other Richard could be confused in a similar fashion, so
 your reply was still valuable.

>>>
>>> wes,
>>>
>>>I must have been undercafinated when I responded. Partitions are
>>> always
>>> /dev/sd* (or similar) while file systems have names. It's been a hectic
>>> day
>>> but I won't claim that as an excuse.
>>>
>>> Best regards,
>>>
>>> Rich
>>>
>>
>>
>>
>>
>>
>> ___
>> PLUG mailing list
>> PLUG@pdxlinux.org
>> http://lists.pdxlinux.org/mailman/listinfo/plug
>>
>
>
___
PLUG mailing list
PLUG@pdxlinux.org
http://lists.pdxlinux.org/mailman/listinfo/plug


Re: [PLUG] When {[right question] >= (useful answer)} ?

2018-07-04 Thread wes
Through a quick google of "fstab world writable" (without quotes) I found
this:

https://superuser.com/questions/174776/modify-fstab-entry-so-all-users-can-read-and-write-to-an-ext4-volume

One of the answers suggests using the "umask" option in the fstab entry. I
believe this is what you're looking for.

-wes

On Wed, Jul 4, 2018 at 5:10 AM, Richard Owlett  wrote:

> This Richard is confused ;/
>
> Using GParted I created an ext4 partition labeled "owlcommon".
> I added the following line to fstab:
>   LABEL=owlcommon /home/richard/Documents/tst_common ext4 rw,user 0 0
>
> On reboot it does appear in the expected file system location.
>
> *BUT* it is locked {owned by root with users only able to read}
>
> I would like all users to have unrestricted access.
> If not possible, since "richard" has the same UID on all systems, I would
> like "richard" to have full access AUTOMATICALLY.
>
> IOW when I do a fresh install to another partition I want to write a line
> to that system's fstab (or elsewhere) such that "richard" automagically has
> full access.
>
>
>
> On 07/03/2018 05:06 PM, Rich Shepard wrote:
>
>> On Tue, 3 Jul 2018, wes wrote:
>>
>> I suspect the other Richard could be confused in a similar fashion, so
>>> your reply was still valuable.
>>>
>>
>> wes,
>>
>>I must have been undercafinated when I responded. Partitions are always
>> /dev/sd* (or similar) while file systems have names. It's been a hectic
>> day
>> but I won't claim that as an excuse.
>>
>> Best regards,
>>
>> Rich
>>
>
>
>
>
>
> ___
> PLUG mailing list
> PLUG@pdxlinux.org
> http://lists.pdxlinux.org/mailman/listinfo/plug
>
___
PLUG mailing list
PLUG@pdxlinux.org
http://lists.pdxlinux.org/mailman/listinfo/plug


Re: [PLUG] When {[right question] >= (useful answer)} ?

2018-07-04 Thread Richard Owlett

This Richard is confused ;/

Using GParted I created an ext4 partition labeled "owlcommon".
I added the following line to fstab:
  LABEL=owlcommon /home/richard/Documents/tst_common ext4 rw,user 0 0

On reboot it does appear in the expected file system location.

*BUT* it is locked {owned by root with users only able to read}

I would like all users to have unrestricted access.
If not possible, since "richard" has the same UID on all systems, I 
would like "richard" to have full access AUTOMATICALLY.


IOW when I do a fresh install to another partition I want to write a 
line to that system's fstab (or elsewhere) such that "richard" 
automagically has full access.



On 07/03/2018 05:06 PM, Rich Shepard wrote:

On Tue, 3 Jul 2018, wes wrote:


I suspect the other Richard could be confused in a similar fashion, so
your reply was still valuable.


wes,

   I must have been undercafinated when I responded. Partitions are always
/dev/sd* (or similar) while file systems have names. It's been a hectic day
but I won't claim that as an excuse.

Best regards,

Rich






___
PLUG mailing list
PLUG@pdxlinux.org
http://lists.pdxlinux.org/mailman/listinfo/plug


Re: [PLUG] When {[right question] >= (useful answer)} ?

2018-07-03 Thread Rich Shepard

On Tue, 3 Jul 2018, wes wrote:


I suspect the other Richard could be confused in a similar fashion, so
your reply was still valuable.


wes,

  I must have been undercafinated when I responded. Partitions are always
/dev/sd* (or similar) while file systems have names. It's been a hectic day
but I won't claim that as an excuse.

Best regards,

Rich
___
PLUG mailing list
PLUG@pdxlinux.org
http://lists.pdxlinux.org/mailman/listinfo/plug


Re: [PLUG] When {[right question] >= (useful answer)} ?

2018-07-03 Thread wes
On Tue, Jul 3, 2018 at 1:16 PM, Rich Shepard 
wrote:

> On Tue, 3 Jul 2018, wes wrote:
>
> Filesystems have permissions, partitions don't. Files and directories have
>> owners, partitions don't.
>>
>
> Wes,
>
>   Yep. I was thinking filesystems, not the partitions on the disk.
>
> Apologies to all,
>
>
> Rich
>

I suspect the other Richard could be confused in a similar fashion, so your
reply was still valuable.

-wes
___
PLUG mailing list
PLUG@pdxlinux.org
http://lists.pdxlinux.org/mailman/listinfo/plug


Re: [PLUG] When {[right question] >= (useful answer)} ?

2018-07-03 Thread wes
On Tue, Jul 3, 2018 at 12:39 PM, Rich Shepard 
wrote:

> On Tue, 3 Jul 2018, wes wrote:
>
> All partitions are automatically readable/writable by all by default. One
>> would have to take extraordinary measures to restrict access to a
>> partition.
>>
>
> Wes,
>
>   Not always, at least on Slackware. Partitions are owned by root.root and
> while /tmp always retains 777 perms, /opt doesn't for some reason. So, as
> root, I run 'chmod 777 /opt' and that fixes access for all.
>
>
Filesystems have permissions, partitions don't. Files and directories have
owners, partitions don't.

/tmp and /opt are filesystem locations. They may or may not have partitions
mounted to them. Regardless, the chmod command affects the directory
entries on the filesystem, not the partitions.

The currently-running OS may restrict its "unprivileged user" from
accessing the hardware directly. That's not the partition's fault.

-wes
___
PLUG mailing list
PLUG@pdxlinux.org
http://lists.pdxlinux.org/mailman/listinfo/plug


Re: [PLUG] When {[right question] >= (useful answer)} ?

2018-07-03 Thread Rich Shepard

On Tue, 3 Jul 2018, wes wrote:


All partitions are automatically readable/writable by all by default. One
would have to take extraordinary measures to restrict access to a
partition.


Wes,

  Not always, at least on Slackware. Partitions are owned by root.root and
while /tmp always retains 777 perms, /opt doesn't for some reason. So, as
root, I run 'chmod 777 /opt' and that fixes access for all.

Have a safe 4th,

Rich
___
PLUG mailing list
PLUG@pdxlinux.org
http://lists.pdxlinux.org/mailman/listinfo/plug


Re: [PLUG] When {[right question] >= (useful answer)} ?

2018-07-03 Thread wes
All partitions are automatically readable/writable by all by default. One
would have to take extraordinary measures to restrict access to a partition.

In this case, the right question would be something similar to: "I tried
mounting partition c while booted into my Debian install on partition b and
got an error. Here's a copy of what I did and what happened:"

Then we can analyze both what you're trying to do and why it isn't working
in a single stroke. If the error is strange enough, we may have to ask you
to try some different things before we reach the ultimate source of the
problem. More likely, it will be a simple thing which we can answer quickly
and hopefully point to an explanation.

-wes

On Tue, Jul 3, 2018 at 11:46 AM, Richard Owlett  wrote:

> My universe is a single laptop.
> It has multiple partitions with uniquely configured instances of Debian.
> "root" always has the same password.
> "Richard Owlett" aka "user richard" intrinsically has the same UUID *and*
> password.
>
> Before the purists have terminal apoplexy, as far as security goes - I'm
> the only one to have access to the machine.
>
> If disaster "MEA CULPA" ;/
>
> I wish to create a partition readable/writable by all, to hold text files
> of interest to all.
>
> I think I've done it before.
> Can't remember how ;<
>
> Help please.
> TIA
>
>
>
> ___
> PLUG mailing list
> PLUG@pdxlinux.org
> http://lists.pdxlinux.org/mailman/listinfo/plug
>
___
PLUG mailing list
PLUG@pdxlinux.org
http://lists.pdxlinux.org/mailman/listinfo/plug


[PLUG] When {[right question] >= (useful answer)} ?

2018-07-03 Thread Richard Owlett

My universe is a single laptop.
It has multiple partitions with uniquely configured instances of Debian.
"root" always has the same password.
"Richard Owlett" aka "user richard" intrinsically has the same UUID 
*and* password.


Before the purists have terminal apoplexy, as far as security goes - I'm 
the only one to have access to the machine.


If disaster "MEA CULPA" ;/

I wish to create a partition readable/writable by all, to hold text 
files of interest to all.


I think I've done it before.
Can't remember how ;<

Help please.
TIA



___
PLUG mailing list
PLUG@pdxlinux.org
http://lists.pdxlinux.org/mailman/listinfo/plug