Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
PerlMonks  

Re: mounting device from a script

by jo37 (Deacon)
on Jun 06, 2021 at 21:13 UTC ( [id://11133604]=note: print w/replies, xml ) Need Help??


in reply to mounting device from a script

Your question does not seem to be related to Perl in any way.

You may add an udev rule the assigns the device(s) in question to a specific group and then run the script setgid to this group.

EDIT:
and then add an appropriate entry in /etc/fstab to allow a user-mount.

Greetings,
-jo

$gryYup$d0ylprbpriprrYpkJl2xyl~rzg??P~5lp2hyl0p$

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://11133604]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others having an uproarious good time at the Monastery: (5)
As of 2024-04-25 10:31 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found