Re: [OpenIndiana-discuss] How to mount usb devices?

2021-03-29 Thread Stephan Althaus

On 03/29/21 04:17 PM, Jean-Pierre André wrote:

Gary Mills wrote on 3/29/21 3:06 PM:

On Sun, Mar 28, 2021 at 04:24:58PM -0500, Gary Mills wrote:

On Sun, Mar 28, 2021 at 08:38:33PM -0700, irixuzer wrote:
I'm new to the list. Ive been trying to mount usb devices. After 
the first

time, which was successful, I've been getting the following:


If you are using the dbus service, the usual case with OI, USB devices
get mounted automatically.  You don't have to do anything. The FMRI
of that service is svc:/system/dbus:default .


I see I made a mistake in this message.  It's the hal service that
mounts USB devices automatically.  The FMRI is:

 svc:/system/hal:default

This service is present on all my OI systems, but then I installed
them initially with the GUI installer.  I don't know if the hal
service is installed by the text installer.



And why is it restricted to vfat ? External usb disks are factory
formatted as ntfs, which is more suitable for OS-agnostics
backups. Automatic mounting Exfat devices would also be useful.

This would alleviate the pain of having to determine the path
assigned to the device after plugging it in, even if I do not
mind having to issue a mount command.

I ported "blkid" from Linux for alleviating the pain (sorry
for the taboo), and keep away from the dangerous "format" way.

Jean-Pierre


___
openindiana-discuss mailing list
openindiana-discuss@openindiana.org
https://openindiana.org/mailman/listinfo/openindiana-discuss


Hi!

I use sudo DISKINFO to determine the devicename of the thumb drive:

$ sudo diskinfo
TYPE    DISK    VID  PID SIZE  RMV SSD
SCSI    c14t0d0 Intenso  Business Line  58.59 GiB   
no  no


One thing to think of would be to integrate exfat support via fusefs in 
OI...


Greetings,
Stephan


___
openindiana-discuss mailing list
openindiana-discuss@openindiana.org
https://openindiana.org/mailman/listinfo/openindiana-discuss


Re: [OpenIndiana-discuss] How to mount usb devices?

2021-03-29 Thread Gary Mills
On Mon, Mar 29, 2021 at 04:17:23PM +0200, Jean-Pierre André wrote:
> And why is it restricted to vfat ? External usb disks are factory
> formatted as ntfs, which is more suitable for OS-agnostics
> backups. Automatic mounting Exfat devices would also be useful.

Probably because of Microsoft patents and licence costs, I would
suspect.  You have to reformat those USB devices.  The FAT filesystem
is the only portable filesystem between OI and Windows.  You can
reformat them on Windows or OI.


-- 
-Gary Mills--refurb--Winnipeg, Manitoba, Canada-

___
openindiana-discuss mailing list
openindiana-discuss@openindiana.org
https://openindiana.org/mailman/listinfo/openindiana-discuss


Re: [OpenIndiana-discuss] How to mount usb devices?

2021-03-29 Thread Jean-Pierre André

Gary Mills wrote on 3/29/21 3:06 PM:

On Sun, Mar 28, 2021 at 04:24:58PM -0500, Gary Mills wrote:

On Sun, Mar 28, 2021 at 08:38:33PM -0700, irixuzer wrote:

I'm new to the list. Ive been trying to mount usb devices. After the first
time, which was successful, I've been getting the following:


If you are using the dbus service, the usual case with OI, USB devices
get mounted automatically.  You don't have to do anything.  The FMRI
of that service is svc:/system/dbus:default .


I see I made a mistake in this message.  It's the hal service that
mounts USB devices automatically.  The FMRI is:

 svc:/system/hal:default

This service is present on all my OI systems, but then I installed
them initially with the GUI installer.  I don't know if the hal
service is installed by the text installer.



And why is it restricted to vfat ? External usb disks are factory
formatted as ntfs, which is more suitable for OS-agnostics
backups. Automatic mounting Exfat devices would also be useful.

This would alleviate the pain of having to determine the path
assigned to the device after plugging it in, even if I do not
mind having to issue a mount command.

I ported "blkid" from Linux for alleviating the pain (sorry
for the taboo), and keep away from the dangerous "format" way.

Jean-Pierre


___
openindiana-discuss mailing list
openindiana-discuss@openindiana.org
https://openindiana.org/mailman/listinfo/openindiana-discuss


Re: [OpenIndiana-discuss] How to mount usb devices?

2021-03-29 Thread Peter Tribble
On Mon, Mar 29, 2021 at 2:06 PM Gary Mills  wrote:

> On Sun, Mar 28, 2021 at 04:24:58PM -0500, Gary Mills wrote:
> > On Sun, Mar 28, 2021 at 08:38:33PM -0700, irixuzer wrote:
> > > I'm new to the list. Ive been trying to mount usb devices. After the
> first
> > > time, which was successful, I've been getting the following:
> >
> > If you are using the dbus service, the usual case with OI, USB devices
> > get mounted automatically.  You don't have to do anything.  The FMRI
> > of that service is svc:/system/dbus:default .
>
> I see I made a mistake in this message.  It's the hal service that
> mounts USB devices automatically.  The FMRI is:
>
> svc:/system/hal:default
>
> This service is present on all my OI systems, but then I installed
> them initially with the GUI installer.  I don't know if the hal
> service is installed by the text installer.
>

Not quite, hal handles device insertion/removal and wires up the
device tree. It's rmvolmgr that handles the mounting piece.

-- 
-Peter Tribble
http://www.petertribble.co.uk/ - http://ptribble.blogspot.com/
___
openindiana-discuss mailing list
openindiana-discuss@openindiana.org
https://openindiana.org/mailman/listinfo/openindiana-discuss


Re: [OpenIndiana-discuss] How to mount usb devices?

2021-03-29 Thread Stephan Althaus

On 03/29/21 03:06 PM, Gary Mills wrote:

On Sun, Mar 28, 2021 at 04:24:58PM -0500, Gary Mills wrote:

On Sun, Mar 28, 2021 at 08:38:33PM -0700, irixuzer wrote:

I'm new to the list. Ive been trying to mount usb devices. After the first
time, which was successful, I've been getting the following:

If you are using the dbus service, the usual case with OI, USB devices
get mounted automatically.  You don't have to do anything.  The FMRI
of that service is svc:/system/dbus:default .

I see I made a mistake in this message.  It's the hal service that
mounts USB devices automatically.  The FMRI is:

 svc:/system/hal:default

This service is present on all my OI systems, but then I installed
them initially with the GUI installer.  I don't know if the hal
service is installed by the text installer.


Hi!

$ svcs -a|grep hal
online 12:03:45 svc:/system/hal:default

This is a relatively fresh install (i *think* it was text, i chose 
something minimal),

and the pcfs partition of my test-usb-thumbdrive is not mounted magically.
So it seems another "something" is missing..

Stephan


___
openindiana-discuss mailing list
openindiana-discuss@openindiana.org
https://openindiana.org/mailman/listinfo/openindiana-discuss


Re: [OpenIndiana-discuss] How to mount usb devices?

2021-03-29 Thread Gary Mills
On Sun, Mar 28, 2021 at 04:24:58PM -0500, Gary Mills wrote:
> On Sun, Mar 28, 2021 at 08:38:33PM -0700, irixuzer wrote:
> > I'm new to the list. Ive been trying to mount usb devices. After the first
> > time, which was successful, I've been getting the following:
> 
> If you are using the dbus service, the usual case with OI, USB devices
> get mounted automatically.  You don't have to do anything.  The FMRI
> of that service is svc:/system/dbus:default .

I see I made a mistake in this message.  It's the hal service that
mounts USB devices automatically.  The FMRI is:

svc:/system/hal:default

This service is present on all my OI systems, but then I installed
them initially with the GUI installer.  I don't know if the hal
service is installed by the text installer.

-- 
-Gary Mills--refurb--Winnipeg, Manitoba, Canada-

___
openindiana-discuss mailing list
openindiana-discuss@openindiana.org
https://openindiana.org/mailman/listinfo/openindiana-discuss


Re: [OpenIndiana-discuss] How to mount usb devices?

2021-03-29 Thread Peter Tribble
On Mon, Mar 29, 2021 at 12:42 PM Udo Grabowski (IMK) 
wrote:

>
> On 29.03.21 13:19, Stephan Althaus wrote:
> > On 03/29/21 12:53 PM, Udo Grabowski (IMK) wrote:
> >>>
> >>> Do you have the /etc/logindevperm file with the entries listed above ?
> >>> /dev/vt/7 is owned by you, and /dev/vt/console_user is linking to that,
> >>> so those entries should work. These are used by the login process, or
> >>> gdm. If you use lightdm, I'm not shure if that supports logindevperm
> >>> (somewhere the "light" has its origin ...).
> >>>
> >>
> >> It could also be that this depends on this gdm setting:
> >>
> >> # cat /etc/gdm/custom.conf
> >>
> >> [security]
> >> CheckDirOwner=false
> >>
> >> You have to logout and restart gdm (svcadm restart gdm)  to have this
> >> activated
> >
> > Yes, i am using lightdm as this is the default.
> > 
>
> There seemed to be an attempt to integrate something like that into
> lightdm:
>
> <
> https://openindiana.org/pipermail/openindiana-discuss/2014-October/016590.html
> >
>
> Unfortunately, the link therein is gone. Gabriele ?
>

I would assume that it's this patch that's already applied to the OI
lightdm:

https://github.com/OpenIndiana/oi-userland/blob/oi/hipster/components/desktop/lightdm/patches/11-login-device-permissions.patch

I have a similar patch in Tribblix, although I'm using SLiM. But generally
that fix to call
di_devperm_login and di_devperm_logout should be all that's needed for the
desktop
login to get the permissions correct.

-- 
-Peter Tribble
http://www.petertribble.co.uk/ - http://ptribble.blogspot.com/
___
openindiana-discuss mailing list
openindiana-discuss@openindiana.org
https://openindiana.org/mailman/listinfo/openindiana-discuss


Re: [OpenIndiana-discuss] How to mount usb devices?

2021-03-29 Thread Udo Grabowski (IMK)



On 29.03.21 13:19, Stephan Althaus wrote:

On 03/29/21 12:53 PM, Udo Grabowski (IMK) wrote:


Do you have the /etc/logindevperm file with the entries listed above ?
/dev/vt/7 is owned by you, and /dev/vt/console_user is linking to that,
so those entries should work. These are used by the login process, or
gdm. If you use lightdm, I'm not shure if that supports logindevperm
(somewhere the "light" has its origin ...).



It could also be that this depends on this gdm setting:

# cat /etc/gdm/custom.conf

[security]
CheckDirOwner=false

You have to logout and restart gdm (svcadm restart gdm)  to have this
activated


Yes, i am using lightdm as this is the default.



There seemed to be an attempt to integrate something like that into
lightdm:



Unfortunately, the link therein is gone. Gabriele ?

___
openindiana-discuss mailing list
openindiana-discuss@openindiana.org
https://openindiana.org/mailman/listinfo/openindiana-discuss


Re: [OpenIndiana-discuss] How to mount usb devices?

2021-03-29 Thread Stephan Althaus

On 03/29/21 12:53 PM, Udo Grabowski (IMK) wrote:


Do you have the /etc/logindevperm file with the entries listed above ?
/dev/vt/7 is owned by you, and /dev/vt/console_user is linking to that,
so those entries should work. These are used by the login process, or
gdm. If you use lightdm, I'm not shure if that supports logindevperm
(somewhere the "light" has its origin ...).



It could also be that this depends on this gdm setting:

# cat /etc/gdm/custom.conf

[security]
CheckDirOwner=false

You have to logout and restart gdm (svcadm restart gdm)  to have this
activated


Yes, i am using lightdm as this is the default.

The gdm package seems to be empty nowadays (?)


# pkg install pkg:/system/display-manager/gdm
Password:
No updates necessary for this image.

steven@fuji:~# pkg info pkg:/system/display-manager/gdm
Password:
pkg: info: no packages matching the following patterns you specified are
installed on the system.  Try querying remotely instead:

    pkg:/system/display-manager/gdm

steven@fuji:~# pkg contents -r pkg:/system/display-manager/gdm
pkg: This package delivers no filesystem content, but may contain 
metadata. Use
the -o option to specify fields other than 'path', or use the -m option 
to show

the raw package manifests.

steven@fuji:~# pkg contents -r -m pkg:/system/display-manager/gdm
set name=pkg.fmri 
value=pkg://openindiana.org/system/display-manager/gdm@2.30.7,5.11-2017.0.0.9:20210325T184240Z

set name=pkg.obsolete value=true
set name=org.opensolaris.consolidation value=userland

___
openindiana-discuss mailing list
openindiana-discuss@openindiana.org
https://openindiana.org/mailman/listinfo/openindiana-discuss


Re: [OpenIndiana-discuss] How to mount usb devices?

2021-03-29 Thread Udo Grabowski (IMK)



On 29.03.21 12:45, Udo Grabowski (IMK) wrote:



On 29.03.21 12:13, Stephan Althaus wrote:

On 03/29/21 12:06 PM, Udo Grabowski (IMK) wrote:

On 29.03.21 11:59, Stephan Althaus wrote:

On 03/29/21 11:34 AM, Udo Grabowski (IMK) wrote:



On 29.03.21 11:27, Apostolos Syropoulos via openindiana-discuss wrote:
On Monday, March 29, 2021, 12:10:20 PM GMT+3, Stephan Althaus 
 wrote:


I tested this on a relatively new OI system where the user 
*should* be

standard, and i get the same:

a) The USB device gets connected ('hotplug') and is accessible via
rmformat & friends
b) The vfat partition on the USB stick is not mounted automatically
c) only the root-role is allowed to mount the partition

So the automount feature needs some additional magic to work, it 
does

not work rightoutofthebox.


I updated my system on 2021:03:18 and I reported this problem to this
list. I can mount a USB thumb disk using mount -F pcfs but the 
automagic
thing is lost. However, when I insert a DVD into the DVD driver 
the automount

thing works.


The usual way this worked was via /etc/logindevperm :

#
# Copyright (c) 1993, 2010, Oracle and/or its affiliates. All 
rights reserved.

#
# /etc/logindevperm - login-based device permissions
#
# If the user is logging in on a device specified in the "console" 
field
# of any entry in this file, the owner/group of the devices listed 
in the
# "devices" field will be set to that of the user.  Similarly, the 
mode

# will be set to the mode specified in the "mode" field.
#
# If the "console" is "/dev/vt/console_user" which is a symlink to 
the current

# active virtual console (/dev/console, or /dev/vt/#), then the first
# user to log into any virtual console will get ownership of all the
# devices until they log out.
#
# "devices" is a colon-separated list of device names.  A device name
# ending in "/*", such as "/dev/fbs/*", specifies all entries 
(except "."

# and "..") in a directory.  A '#' begins a comment and may appear
# anywhere in an entry.
# In addition, regular expressions may be used. Refer to 
logindevperm(4)

# man page.
# Note that any changes in this file should be made when logged in as
# root as devfs provides persistence on minor node attributes.
#
# console   mode    devices
#
/dev/vt/console_user    0600    /dev/mouse:/dev/kbd
/dev/vt/console_user    0600    /dev/sound/*    # audio 
devices
/dev/vt/console_user    0666    /dev/fbs/*  # frame 
buffers

/dev/vt/console_user    0600    /dev/dri/*  # dri devices
/dev/vt/console_user    0400 /dev/removable-media/dsk/*  # 
removable media
/dev/vt/console_user    0400 /dev/removable-media/rdsk/* # 
removable media
/dev/vt/console_user    0400 /dev/hotpluggable/dsk/* # 
hotpluggable storage
/dev/vt/console_user    0400 /dev/hotpluggable/rdsk/*    # 
hotpluggable storage
/dev/vt/console_user    0600    /dev/video[0-9]+    # video 
devices
/dev/vt/console_user    0600    /dev/usb/hid[0-9]+  # hid 
devices should have the same permission with conskbd and consms
/dev/vt/console_user    0600 
/dev/usb/[0-9a-f]+[.][0-9a-f]+/[0-9]+/* 
driver=scsa2usb,usb_mid,usbprn,ugen #libusb/ugen devices

/dev/vt/console_user    0666    /dev/nvidia[0-9a-f]+    # Nvidia
/dev/vt/console_user    0666    /dev/console    # 
workaround for defect.opensolaris.org 12133




___
openindiana-discuss mailing list
openindiana-discuss@openindiana.org
https://openindiana.org/mailman/listinfo/openindiana-discuss


Hm...
Whichever service should change the ownership of the devices, it 
doesn't seem to work here.


Or am i looking the 'wrong way' ?

steven@fuji:~$ ls -l /dev/vt
total 0
crw---   1 root root 245,  0 Mar 29 09:19 0
crw---   1 root root 245,  1 Mar 29 09:19 1
...
crw---   1 root root 245,  6 Mar 29 09:19 6
crw--w   1 steven   tty  245,  7 Mar 29 09:19 7
crw---   1 root root 245,  8 Mar 29 09:19 8
crw---   1 root root 245,  9 Mar 29 09:19 9
lrwxrwxrwx   1 root root   1 Mar 29 09:19 active -> 7
lrwxrwxrwx   1 root root   0 Mar 29 09:19 console_user -> 7

steven@fuji:~$ ls -l /dev/usb/mass-storage0

lrwxrwxrwx   1 root root  56 Mar 29 09:55 
/dev/usb/mass-storage0 -> 
../../devices/pci@0,0/pci1734,11f3@14/storage@2:scsa2usb


steven@fuji:~$ ls -l 
/devices/pci@0,0/pci1734,11f3@14/storage@2:scsa2usb
crw---   1 root sys  185, 512 Mar 29 09:55 
/devices/pci@0,0/pci1734,11f3@14/storage@2:scsa2usb


steven@fuji:~$ ls -l /dev/removable-media/dsk/c12t0d0
lrwxrwxrwx   1 root root  17 Mar  2 10:47 
/dev/removable-media/dsk/c12t0d0 -> ../../dsk/c12t0d0


steven@fuji:~$ ls -l /dev/hotpluggable/dsk/c12*
lrwxrwxrwx   1 root root  17 Mar  2 10:47 
/dev/hotpluggable/dsk/c12t0d0 -> ../../dsk/c12t0d0

...

Links don't change ownership, you have to look at the targets (-L)




Re: [OpenIndiana-discuss] How to mount usb devices?

2021-03-29 Thread Udo Grabowski (IMK)



On 29.03.21 12:13, Stephan Althaus wrote:

On 03/29/21 12:06 PM, Udo Grabowski (IMK) wrote:

On 29.03.21 11:59, Stephan Althaus wrote:

On 03/29/21 11:34 AM, Udo Grabowski (IMK) wrote:



On 29.03.21 11:27, Apostolos Syropoulos via openindiana-discuss wrote:
On Monday, March 29, 2021, 12:10:20 PM GMT+3, Stephan Althaus 
 wrote:


I tested this on a relatively new OI system where the user 
*should* be

standard, and i get the same:

a) The USB device gets connected ('hotplug') and is accessible via
rmformat & friends
b) The vfat partition on the USB stick is not mounted automatically
c) only the root-role is allowed to mount the partition

So the automount feature needs some additional magic to work, it does
not work rightoutofthebox.


I updated my system on 2021:03:18 and I reported this problem to this
list. I can mount a USB thumb disk using mount -F pcfs but the 
automagic
thing is lost. However, when I insert a DVD into the DVD driver the 
automount

thing works.


The usual way this worked was via /etc/logindevperm :

#
# Copyright (c) 1993, 2010, Oracle and/or its affiliates. All rights 
reserved.

#
# /etc/logindevperm - login-based device permissions
#
# If the user is logging in on a device specified in the "console" 
field
# of any entry in this file, the owner/group of the devices listed 
in the

# "devices" field will be set to that of the user.  Similarly, the mode
# will be set to the mode specified in the "mode" field.
#
# If the "console" is "/dev/vt/console_user" which is a symlink to 
the current

# active virtual console (/dev/console, or /dev/vt/#), then the first
# user to log into any virtual console will get ownership of all the
# devices until they log out.
#
# "devices" is a colon-separated list of device names.  A device name
# ending in "/*", such as "/dev/fbs/*", specifies all entries 
(except "."

# and "..") in a directory.  A '#' begins a comment and may appear
# anywhere in an entry.
# In addition, regular expressions may be used. Refer to 
logindevperm(4)

# man page.
# Note that any changes in this file should be made when logged in as
# root as devfs provides persistence on minor node attributes.
#
# console   mode    devices
#
/dev/vt/console_user    0600    /dev/mouse:/dev/kbd
/dev/vt/console_user    0600    /dev/sound/*    # audio devices
/dev/vt/console_user    0666    /dev/fbs/*  # frame buffers
/dev/vt/console_user    0600    /dev/dri/*  # dri devices
/dev/vt/console_user    0400 /dev/removable-media/dsk/*  # 
removable media
/dev/vt/console_user    0400 /dev/removable-media/rdsk/* # 
removable media
/dev/vt/console_user    0400 /dev/hotpluggable/dsk/* # 
hotpluggable storage
/dev/vt/console_user    0400 /dev/hotpluggable/rdsk/*    # 
hotpluggable storage

/dev/vt/console_user    0600    /dev/video[0-9]+    # video devices
/dev/vt/console_user    0600    /dev/usb/hid[0-9]+  # hid 
devices should have the same permission with conskbd and consms
/dev/vt/console_user    0600 /dev/usb/[0-9a-f]+[.][0-9a-f]+/[0-9]+/* 
driver=scsa2usb,usb_mid,usbprn,ugen #libusb/ugen devices

/dev/vt/console_user    0666    /dev/nvidia[0-9a-f]+    # Nvidia
/dev/vt/console_user    0666    /dev/console    # workaround 
for defect.opensolaris.org 12133




___
openindiana-discuss mailing list
openindiana-discuss@openindiana.org
https://openindiana.org/mailman/listinfo/openindiana-discuss


Hm...
Whichever service should change the ownership of the devices, it 
doesn't seem to work here.


Or am i looking the 'wrong way' ?

steven@fuji:~$ ls -l /dev/vt
total 0
crw---   1 root root 245,  0 Mar 29 09:19 0
crw---   1 root root 245,  1 Mar 29 09:19 1
...
crw---   1 root root 245,  6 Mar 29 09:19 6
crw--w   1 steven   tty  245,  7 Mar 29 09:19 7
crw---   1 root root 245,  8 Mar 29 09:19 8
crw---   1 root root 245,  9 Mar 29 09:19 9
lrwxrwxrwx   1 root root   1 Mar 29 09:19 active -> 7
lrwxrwxrwx   1 root root   0 Mar 29 09:19 console_user -> 7

steven@fuji:~$ ls -l /dev/usb/mass-storage0

lrwxrwxrwx   1 root root  56 Mar 29 09:55 
/dev/usb/mass-storage0 -> 
../../devices/pci@0,0/pci1734,11f3@14/storage@2:scsa2usb


steven@fuji:~$ ls -l /devices/pci@0,0/pci1734,11f3@14/storage@2:scsa2usb
crw---   1 root sys  185, 512 Mar 29 09:55 
/devices/pci@0,0/pci1734,11f3@14/storage@2:scsa2usb


steven@fuji:~$ ls -l /dev/removable-media/dsk/c12t0d0
lrwxrwxrwx   1 root root  17 Mar  2 10:47 
/dev/removable-media/dsk/c12t0d0 -> ../../dsk/c12t0d0


steven@fuji:~$ ls -l /dev/hotpluggable/dsk/c12*
lrwxrwxrwx   1 root root  17 Mar  2 10:47 
/dev/hotpluggable/dsk/c12t0d0 -> ../../dsk/c12t0d0

...

Links don't change ownership, you have to look at the targets (-L)



___
openindiana-discuss mailing list

Re: [OpenIndiana-discuss] How to mount usb devices?

2021-03-29 Thread Stephan Althaus

On 03/29/21 12:06 PM, Udo Grabowski (IMK) wrote:

On 29.03.21 11:59, Stephan Althaus wrote:

On 03/29/21 11:34 AM, Udo Grabowski (IMK) wrote:



On 29.03.21 11:27, Apostolos Syropoulos via openindiana-discuss wrote:
On Monday, March 29, 2021, 12:10:20 PM GMT+3, Stephan Althaus 
 wrote:


I tested this on a relatively new OI system where the user 
*should* be

standard, and i get the same:

a) The USB device gets connected ('hotplug') and is accessible via
rmformat & friends
b) The vfat partition on the USB stick is not mounted automatically
c) only the root-role is allowed to mount the partition

So the automount feature needs some additional magic to work, it does
not work rightoutofthebox.


I updated my system on 2021:03:18 and I reported this problem to this
list. I can mount a USB thumb disk using mount -F pcfs but the 
automagic
thing is lost. However, when I insert a DVD into the DVD driver the 
automount

thing works.


The usual way this worked was via /etc/logindevperm :

#
# Copyright (c) 1993, 2010, Oracle and/or its affiliates. All rights 
reserved.

#
# /etc/logindevperm - login-based device permissions
#
# If the user is logging in on a device specified in the "console" 
field
# of any entry in this file, the owner/group of the devices listed 
in the

# "devices" field will be set to that of the user.  Similarly, the mode
# will be set to the mode specified in the "mode" field.
#
# If the "console" is "/dev/vt/console_user" which is a symlink to 
the current

# active virtual console (/dev/console, or /dev/vt/#), then the first
# user to log into any virtual console will get ownership of all the
# devices until they log out.
#
# "devices" is a colon-separated list of device names.  A device name
# ending in "/*", such as "/dev/fbs/*", specifies all entries 
(except "."

# and "..") in a directory.  A '#' begins a comment and may appear
# anywhere in an entry.
# In addition, regular expressions may be used. Refer to 
logindevperm(4)

# man page.
# Note that any changes in this file should be made when logged in as
# root as devfs provides persistence on minor node attributes.
#
# console   mode    devices
#
/dev/vt/console_user    0600    /dev/mouse:/dev/kbd
/dev/vt/console_user    0600    /dev/sound/*    # audio devices
/dev/vt/console_user    0666    /dev/fbs/*  # frame buffers
/dev/vt/console_user    0600    /dev/dri/*  # dri devices
/dev/vt/console_user    0400 /dev/removable-media/dsk/*  # 
removable media
/dev/vt/console_user    0400 /dev/removable-media/rdsk/* # 
removable media
/dev/vt/console_user    0400 /dev/hotpluggable/dsk/* # 
hotpluggable storage
/dev/vt/console_user    0400 /dev/hotpluggable/rdsk/*    # 
hotpluggable storage

/dev/vt/console_user    0600    /dev/video[0-9]+    # video devices
/dev/vt/console_user    0600    /dev/usb/hid[0-9]+  # hid 
devices should have the same permission with conskbd and consms
/dev/vt/console_user    0600 /dev/usb/[0-9a-f]+[.][0-9a-f]+/[0-9]+/* 
driver=scsa2usb,usb_mid,usbprn,ugen #libusb/ugen devices

/dev/vt/console_user    0666    /dev/nvidia[0-9a-f]+    # Nvidia
/dev/vt/console_user    0666    /dev/console    # workaround 
for defect.opensolaris.org 12133




___
openindiana-discuss mailing list
openindiana-discuss@openindiana.org
https://openindiana.org/mailman/listinfo/openindiana-discuss


Hm...
Whichever service should change the ownership of the devices, it 
doesn't seem to work here.


Or am i looking the 'wrong way' ?

steven@fuji:~$ ls -l /dev/vt
total 0
crw---   1 root root 245,  0 Mar 29 09:19 0
crw---   1 root root 245,  1 Mar 29 09:19 1
...
crw---   1 root root 245,  6 Mar 29 09:19 6
crw--w   1 steven   tty  245,  7 Mar 29 09:19 7
crw---   1 root root 245,  8 Mar 29 09:19 8
crw---   1 root root 245,  9 Mar 29 09:19 9
lrwxrwxrwx   1 root root   1 Mar 29 09:19 active -> 7
lrwxrwxrwx   1 root root   0 Mar 29 09:19 console_user -> 7

steven@fuji:~$ ls -l /dev/usb/mass-storage0

lrwxrwxrwx   1 root root  56 Mar 29 09:55 
/dev/usb/mass-storage0 -> 
../../devices/pci@0,0/pci1734,11f3@14/storage@2:scsa2usb


steven@fuji:~$ ls -l /devices/pci@0,0/pci1734,11f3@14/storage@2:scsa2usb
crw---   1 root sys  185, 512 Mar 29 09:55 
/devices/pci@0,0/pci1734,11f3@14/storage@2:scsa2usb


steven@fuji:~$ ls -l /dev/removable-media/dsk/c12t0d0
lrwxrwxrwx   1 root root  17 Mar  2 10:47 
/dev/removable-media/dsk/c12t0d0 -> ../../dsk/c12t0d0


steven@fuji:~$ ls -l /dev/hotpluggable/dsk/c12*
lrwxrwxrwx   1 root root  17 Mar  2 10:47 
/dev/hotpluggable/dsk/c12t0d0 -> ../../dsk/c12t0d0

...

Links don't change ownership, you have to look at the targets (-L)



___
openindiana-discuss mailing list
openindiana-discuss@openindiana.org

Re: [OpenIndiana-discuss] How to mount usb devices?

2021-03-29 Thread Udo Grabowski (IMK)

On 29.03.21 11:59, Stephan Althaus wrote:

On 03/29/21 11:34 AM, Udo Grabowski (IMK) wrote:



On 29.03.21 11:27, Apostolos Syropoulos via openindiana-discuss wrote:
On Monday, March 29, 2021, 12:10:20 PM GMT+3, Stephan Althaus 
 wrote:



I tested this on a relatively new OI system where the user *should* be
standard, and i get the same:

a) The USB device gets connected ('hotplug') and is accessible via
rmformat & friends
b) The vfat partition on the USB stick is not mounted automatically
c) only the root-role is allowed to mount the partition

So the automount feature needs some additional magic to work, it does
not work rightoutofthebox.


I updated my system on 2021:03:18 and I reported this problem to this
list. I can mount a USB thumb disk using mount -F pcfs but the automagic
thing is lost. However, when I insert a DVD into the DVD driver the 
automount

thing works.


The usual way this worked was via /etc/logindevperm :

#
# Copyright (c) 1993, 2010, Oracle and/or its affiliates. All rights 
reserved.

#
# /etc/logindevperm - login-based device permissions
#
# If the user is logging in on a device specified in the "console" field
# of any entry in this file, the owner/group of the devices listed in the
# "devices" field will be set to that of the user.  Similarly, the mode
# will be set to the mode specified in the "mode" field.
#
# If the "console" is "/dev/vt/console_user" which is a symlink to the 
current

# active virtual console (/dev/console, or /dev/vt/#), then the first
# user to log into any virtual console will get ownership of all the
# devices until they log out.
#
# "devices" is a colon-separated list of device names.  A device name
# ending in "/*", such as "/dev/fbs/*", specifies all entries (except "."
# and "..") in a directory.  A '#' begins a comment and may appear
# anywhere in an entry.
# In addition, regular expressions may be used. Refer to logindevperm(4)
# man page.
# Note that any changes in this file should be made when logged in as
# root as devfs provides persistence on minor node attributes.
#
# console   mode    devices
#
/dev/vt/console_user    0600    /dev/mouse:/dev/kbd
/dev/vt/console_user    0600    /dev/sound/*    # audio devices
/dev/vt/console_user    0666    /dev/fbs/*  # frame buffers
/dev/vt/console_user    0600    /dev/dri/*  # dri devices
/dev/vt/console_user    0400    /dev/removable-media/dsk/*  # 
removable media
/dev/vt/console_user    0400    /dev/removable-media/rdsk/* # 
removable media
/dev/vt/console_user    0400    /dev/hotpluggable/dsk/* # 
hotpluggable storage
/dev/vt/console_user    0400    /dev/hotpluggable/rdsk/*    # 
hotpluggable storage

/dev/vt/console_user    0600    /dev/video[0-9]+    # video devices
/dev/vt/console_user    0600    /dev/usb/hid[0-9]+  # hid devices 
should have the same permission with conskbd and consms
/dev/vt/console_user    0600 /dev/usb/[0-9a-f]+[.][0-9a-f]+/[0-9]+/* 
driver=scsa2usb,usb_mid,usbprn,ugen #libusb/ugen devices

/dev/vt/console_user    0666    /dev/nvidia[0-9a-f]+    # Nvidia
/dev/vt/console_user    0666    /dev/console    # workaround 
for defect.opensolaris.org 12133




___
openindiana-discuss mailing list
openindiana-discuss@openindiana.org
https://openindiana.org/mailman/listinfo/openindiana-discuss


Hm...
Whichever service should change the ownership of the devices, it doesn't 
seem to work here.


Or am i looking the 'wrong way' ?

steven@fuji:~$ ls -l /dev/vt
total 0
crw---   1 root root 245,  0 Mar 29 09:19 0
crw---   1 root root 245,  1 Mar 29 09:19 1
...
crw---   1 root root 245,  6 Mar 29 09:19 6
crw--w   1 steven   tty  245,  7 Mar 29 09:19 7
crw---   1 root root 245,  8 Mar 29 09:19 8
crw---   1 root root 245,  9 Mar 29 09:19 9
lrwxrwxrwx   1 root root   1 Mar 29 09:19 active -> 7
lrwxrwxrwx   1 root root   0 Mar 29 09:19 console_user -> 7

steven@fuji:~$ ls -l /dev/usb/mass-storage0

lrwxrwxrwx   1 root root  56 Mar 29 09:55 
/dev/usb/mass-storage0 -> 
../../devices/pci@0,0/pci1734,11f3@14/storage@2:scsa2usb


steven@fuji:~$ ls -l /devices/pci@0,0/pci1734,11f3@14/storage@2:scsa2usb
crw---   1 root sys  185, 512 Mar 29 09:55 
/devices/pci@0,0/pci1734,11f3@14/storage@2:scsa2usb


steven@fuji:~$ ls -l /dev/removable-media/dsk/c12t0d0
lrwxrwxrwx   1 root root  17 Mar  2 10:47 
/dev/removable-media/dsk/c12t0d0 -> ../../dsk/c12t0d0


steven@fuji:~$ ls -l /dev/hotpluggable/dsk/c12*
lrwxrwxrwx   1 root root  17 Mar  2 10:47 
/dev/hotpluggable/dsk/c12t0d0 -> ../../dsk/c12t0d0

...

Links don't change ownership, you have to look at the targets (-L)

___
openindiana-discuss mailing list
openindiana-discuss@openindiana.org
https://openindiana.org/mailman/listinfo/openindiana-discuss


Re: [OpenIndiana-discuss] How to mount usb devices?

2021-03-29 Thread Stephan Althaus

On 03/29/21 11:34 AM, Udo Grabowski (IMK) wrote:



On 29.03.21 11:27, Apostolos Syropoulos via openindiana-discuss wrote:
On Monday, March 29, 2021, 12:10:20 PM GMT+3, Stephan Althaus 
 wrote:



I tested this on a relatively new OI system where the user *should* be
standard, and i get the same:

a) The USB device gets connected ('hotplug') and is accessible via
rmformat & friends
b) The vfat partition on the USB stick is not mounted automatically
c) only the root-role is allowed to mount the partition

So the automount feature needs some additional magic to work, it does
not work rightoutofthebox.


I updated my system on 2021:03:18 and I reported this problem to this
list. I can mount a USB thumb disk using mount -F pcfs but the automagic
thing is lost. However, when I insert a DVD into the DVD driver the 
automount

thing works.


The usual way this worked was via /etc/logindevperm :

#
# Copyright (c) 1993, 2010, Oracle and/or its affiliates. All rights 
reserved.

#
# /etc/logindevperm - login-based device permissions
#
# If the user is logging in on a device specified in the "console" field
# of any entry in this file, the owner/group of the devices listed in the
# "devices" field will be set to that of the user.  Similarly, the mode
# will be set to the mode specified in the "mode" field.
#
# If the "console" is "/dev/vt/console_user" which is a symlink to the 
current

# active virtual console (/dev/console, or /dev/vt/#), then the first
# user to log into any virtual console will get ownership of all the
# devices until they log out.
#
# "devices" is a colon-separated list of device names.  A device name
# ending in "/*", such as "/dev/fbs/*", specifies all entries (except "."
# and "..") in a directory.  A '#' begins a comment and may appear
# anywhere in an entry.
# In addition, regular expressions may be used. Refer to logindevperm(4)
# man page.
# Note that any changes in this file should be made when logged in as
# root as devfs provides persistence on minor node attributes.
#
# console   mode    devices
#
/dev/vt/console_user    0600    /dev/mouse:/dev/kbd
/dev/vt/console_user    0600    /dev/sound/*    # audio devices
/dev/vt/console_user    0666    /dev/fbs/*  # frame buffers
/dev/vt/console_user    0600    /dev/dri/*  # dri devices
/dev/vt/console_user    0400    /dev/removable-media/dsk/*  # 
removable media
/dev/vt/console_user    0400    /dev/removable-media/rdsk/* # 
removable media
/dev/vt/console_user    0400    /dev/hotpluggable/dsk/* # 
hotpluggable storage
/dev/vt/console_user    0400    /dev/hotpluggable/rdsk/*    # 
hotpluggable storage

/dev/vt/console_user    0600    /dev/video[0-9]+    # video devices
/dev/vt/console_user    0600    /dev/usb/hid[0-9]+  # hid devices 
should have the same permission with conskbd and consms
/dev/vt/console_user    0600 /dev/usb/[0-9a-f]+[.][0-9a-f]+/[0-9]+/* 
driver=scsa2usb,usb_mid,usbprn,ugen #libusb/ugen devices

/dev/vt/console_user    0666    /dev/nvidia[0-9a-f]+    # Nvidia
/dev/vt/console_user    0666    /dev/console    # workaround 
for defect.opensolaris.org 12133




___
openindiana-discuss mailing list
openindiana-discuss@openindiana.org
https://openindiana.org/mailman/listinfo/openindiana-discuss


Hm...
Whichever service should change the ownership of the devices, it doesn't 
seem to work here.


Or am i looking the 'wrong way' ?

steven@fuji:~$ ls -l /dev/vt
total 0
crw---   1 root root 245,  0 Mar 29 09:19 0
crw---   1 root root 245,  1 Mar 29 09:19 1
...
crw---   1 root root 245,  6 Mar 29 09:19 6
crw--w   1 steven   tty  245,  7 Mar 29 09:19 7
crw---   1 root root 245,  8 Mar 29 09:19 8
crw---   1 root root 245,  9 Mar 29 09:19 9
lrwxrwxrwx   1 root root   1 Mar 29 09:19 active -> 7
lrwxrwxrwx   1 root root   0 Mar 29 09:19 console_user -> 7

steven@fuji:~$ ls -l /dev/usb/mass-storage0

lrwxrwxrwx   1 root root  56 Mar 29 09:55 
/dev/usb/mass-storage0 -> 
../../devices/pci@0,0/pci1734,11f3@14/storage@2:scsa2usb


steven@fuji:~$ ls -l /devices/pci@0,0/pci1734,11f3@14/storage@2:scsa2usb
crw---   1 root sys  185, 512 Mar 29 09:55 
/devices/pci@0,0/pci1734,11f3@14/storage@2:scsa2usb


steven@fuji:~$ ls -l /dev/removable-media/dsk/c12t0d0
lrwxrwxrwx   1 root root  17 Mar  2 10:47 
/dev/removable-media/dsk/c12t0d0 -> ../../dsk/c12t0d0


steven@fuji:~$ ls -l /dev/hotpluggable/dsk/c12*
lrwxrwxrwx   1 root root  17 Mar  2 10:47 
/dev/hotpluggable/dsk/c12t0d0 -> ../../dsk/c12t0d0
lrwxrwxrwx   1 root root  19 Feb  4 20:07 
/dev/hotpluggable/dsk/c12t0d0p0 -> ../../dsk/c12t0d0p0
lrwxrwxrwx   1 root root  19 Feb  4 20:07 
/dev/hotpluggable/dsk/c12t0d0p1 -> ../../dsk/c12t0d0p1
lrwxrwxrwx   1 root root  19 Feb  4 20:07 

Re: [OpenIndiana-discuss] How to mount usb devices?

2021-03-29 Thread Udo Grabowski (IMK)



On 29.03.21 11:27, Apostolos Syropoulos via openindiana-discuss wrote:

On Monday, March 29, 2021, 12:10:20 PM GMT+3, Stephan Althaus 
 wrote:


I tested this on a relatively new OI system where the user *should* be
standard, and i get the same:

a) The USB device gets connected ('hotplug') and is accessible via
rmformat & friends
b) The vfat partition on the USB stick is not mounted automatically
c) only the root-role is allowed to mount the partition

So the automount feature needs some additional magic to work, it does
not work rightoutofthebox.


I updated my system on 2021:03:18 and I reported this problem to this
list. I can mount a USB thumb disk using mount -F pcfs but the automagic
thing is lost. However, when I insert a DVD into the DVD driver the automount
thing works.


The usual way this worked was via /etc/logindevperm :

#
# Copyright (c) 1993, 2010, Oracle and/or its affiliates. All rights 
reserved.

#
# /etc/logindevperm - login-based device permissions
#
# If the user is logging in on a device specified in the "console" field
# of any entry in this file, the owner/group of the devices listed in the
# "devices" field will be set to that of the user.  Similarly, the mode
# will be set to the mode specified in the "mode" field.
#
# If the "console" is "/dev/vt/console_user" which is a symlink to the 
current

# active virtual console (/dev/console, or /dev/vt/#), then the first
# user to log into any virtual console will get ownership of all the
# devices until they log out.
#
# "devices" is a colon-separated list of device names.  A device name
# ending in "/*", such as "/dev/fbs/*", specifies all entries (except "."
# and "..") in a directory.  A '#' begins a comment and may appear
# anywhere in an entry.
# In addition, regular expressions may be used. Refer to logindevperm(4)
# man page.
# Note that any changes in this file should be made when logged in as
# root as devfs provides persistence on minor node attributes.
#
# console   modedevices
#
/dev/vt/console_user0600/dev/mouse:/dev/kbd
/dev/vt/console_user0600/dev/sound/*# audio devices
/dev/vt/console_user0666/dev/fbs/*  # frame buffers
/dev/vt/console_user0600/dev/dri/*  # dri devices
/dev/vt/console_user0400/dev/removable-media/dsk/*  # 
removable media
/dev/vt/console_user0400/dev/removable-media/rdsk/* # 
removable media
/dev/vt/console_user0400/dev/hotpluggable/dsk/* # 
hotpluggable storage
/dev/vt/console_user0400/dev/hotpluggable/rdsk/*# 
hotpluggable storage

/dev/vt/console_user0600/dev/video[0-9]+# video devices
/dev/vt/console_user0600/dev/usb/hid[0-9]+  # hid devices 
should have the same permission with conskbd and consms
/dev/vt/console_user0600/dev/usb/[0-9a-f]+[.][0-9a-f]+/[0-9]+/* 
driver=scsa2usb,usb_mid,usbprn,ugen #libusb/ugen devices

/dev/vt/console_user0666/dev/nvidia[0-9a-f]+# Nvidia
/dev/vt/console_user0666/dev/console# workaround for 
defect.opensolaris.org 12133


___
openindiana-discuss mailing list
openindiana-discuss@openindiana.org
https://openindiana.org/mailman/listinfo/openindiana-discuss


Re: [OpenIndiana-discuss] How to mount usb devices?

2021-03-29 Thread Apostolos Syropoulos via openindiana-discuss
On Monday, March 29, 2021, 12:10:20 PM GMT+3, Stephan Althaus 
 wrote:

>I tested this on a relatively new OI system where the user *should* be
>standard, and i get the same:
>
>a) The USB device gets connected ('hotplug') and is accessible via
>rmformat & friends
>b) The vfat partition on the USB stick is not mounted automatically
>c) only the root-role is allowed to mount the partition
>
>So the automount feature needs some additional magic to work, it does
>not work rightoutofthebox.

I updated my system on 2021:03:18 and I reported this problem to this
list. I can mount a USB thumb disk using mount -F pcfs but the automagic
thing is lost. However, when I insert a DVD into the DVD driver the automount
thing works. 

A.S.
--
Apostolos Syropoulos
Xanthi, Greece

___
openindiana-discuss mailing list
openindiana-discuss@openindiana.org
https://openindiana.org/mailman/listinfo/openindiana-discuss


Re: [OpenIndiana-discuss] How to mount usb devices?

2021-03-29 Thread Stephan Althaus

On 03/29/21 10:12 AM, Stephan Althaus wrote:

On 03/29/21 04:33 AM, Gary Mills wrote:

USB devices are automatically mounted under /media .  You can access
them there.


Hello!

I just set up a new stick with one FAT32 partition, and a text file in 
it.


This does not mount magically, because my user ritghts are not set up 
accordingly, it seems...



$ svcs -a|grep db
disabled    9:17:31 svc:/pkgsrc/dbus:default
*online  9:17:32 svc:/system/dbus:default *
steven@dell6510:~$ rmformat
Looking for devices...
 1. Logical Node: /dev/rdsk/c14t0d0p0
    Physical Node: /pci@0,0/pci1028,7b1@14/storage@4/disk@0,0
    Connected Device: Intenso  Business Line    8.05
    Device Type: Removable
    Bus: USB
    Size: 60.0 GB
    Label: 
    Access permissions: Medium is not write protected.
steven@dell6510:~$ ls -l tmp
total 0
steven@dell6510:~$ mount -F pcfs /dev/dsk/c14t0d0p1 tmp
*mount: Not owner *
steven@dell6510:~$ ls -l  /dev/dsk/c14t0d0p1
lrwxrwxrwx   1 root root  57 Jan  7 12:35 
/dev/dsk/c14t0d0p1 -> 
../../devices/pci@0,0/pci1028,7b1@14/storage@4/disk@0,0:r
steven@dell6510:~$ ls -l 
/devices/pci@0,0/pci1028,7b1@14/storage@4/disk@0,0:r
br   1 steven   lp   220, 2513 Jan  7 12:35 
/devices/pci@0,0/pci1028,7b1@14/storage@4/disk@0,0:r
steven@dell6510:~$ mount -F pcfs 
/devices/pci@0,0/pci1028,7b1@14/storage@4/disk@0,0:r tmp

mount: Not owner
steven@dell6510:~$ pfexec mount -F pcfs 
/devices/pci@0,0/pci1028,7b1@14/storage@4/disk@0,0:r tmp

mount: Not owner
steven@dell6510:~$ sudo mount -F pcfs 
/devices/pci@0,0/pci1028,7b1@14/storage@4/disk@0,0:r tmp

Password:
steven@dell6510:~$ ls -l tmp
total 1
-rwxrwxrwx   1 steven   lp 5 Mar 29 10:05 test.txt


Stephan


___
openindiana-discuss mailing list
openindiana-discuss@openindiana.org
https://openindiana.org/mailman/listinfo/openindiana-discuss


I tested this on a relatively new OI system where the user *should* be 
standard,

and i get the same:

a) The USB device gets connected ('hotplug') and is accessible via 
rmformat & friends

b) The vfat partition on the USB stick is not mounted automatically
c) only the root-role is allowed to mount the partition

So the automount feature needs some additional magic to work, it does 
not work rightoutofthebox.


Greetings,
Stephan

___
openindiana-discuss mailing list
openindiana-discuss@openindiana.org
https://openindiana.org/mailman/listinfo/openindiana-discuss


Re: [OpenIndiana-discuss] How to mount usb devices?

2021-03-29 Thread Stephan Althaus

On 03/29/21 04:33 AM, Gary Mills wrote:

USB devices are automatically mounted under /media .  You can access
them there.


Hello!

I just set up a new stick with one FAT32 partition, and a text file in it.

This does not mount magically, because my user ritghts are not set up 
accordingly, it seems...



$ svcs -a|grep db
disabled    9:17:31 svc:/pkgsrc/dbus:default
online  9:17:32 svc:/system/dbus:default
steven@dell6510:~$ rmformat
Looking for devices...
 1. Logical Node: /dev/rdsk/c14t0d0p0
    Physical Node: /pci@0,0/pci1028,7b1@14/storage@4/disk@0,0
    Connected Device: Intenso  Business Line    8.05
    Device Type: Removable
    Bus: USB
    Size: 60.0 GB
    Label: 
    Access permissions: Medium is not write protected.
steven@dell6510:~$ ls -l tmp
total 0
steven@dell6510:~$ mount -F pcfs /dev/dsk/c14t0d0p1 tmp
mount: Not owner
steven@dell6510:~$ ls -l  /dev/dsk/c14t0d0p1
lrwxrwxrwx   1 root root  57 Jan  7 12:35 /dev/dsk/c14t0d0p1 
-> ../../devices/pci@0,0/pci1028,7b1@14/storage@4/disk@0,0:r
steven@dell6510:~$ ls -l 
/devices/pci@0,0/pci1028,7b1@14/storage@4/disk@0,0:r
br   1 steven   lp   220, 2513 Jan  7 12:35 
/devices/pci@0,0/pci1028,7b1@14/storage@4/disk@0,0:r
steven@dell6510:~$ mount -F pcfs 
/devices/pci@0,0/pci1028,7b1@14/storage@4/disk@0,0:r tmp

mount: Not owner
steven@dell6510:~$ pfexec mount -F pcfs 
/devices/pci@0,0/pci1028,7b1@14/storage@4/disk@0,0:r tmp

mount: Not owner
steven@dell6510:~$ sudo mount -F pcfs 
/devices/pci@0,0/pci1028,7b1@14/storage@4/disk@0,0:r tmp

Password:
steven@dell6510:~$ ls -l tmp
total 1
-rwxrwxrwx   1 steven   lp 5 Mar 29 10:05 test.txt


Stephan


___
openindiana-discuss mailing list
openindiana-discuss@openindiana.org
https://openindiana.org/mailman/listinfo/openindiana-discuss