mirror of
https://github.com/dbarzin/pandora-box.git
synced 2025-07-24 07:49:42 +02:00
mount for all users
This commit is contained in:
parent
db271085e0
commit
55682875a1
1 changed files with 3 additions and 1 deletions
|
@ -510,7 +510,9 @@ def mount_device():
|
|||
# Mount device
|
||||
try:
|
||||
subprocess.run(
|
||||
["sudo", "mount", device.device_node, "/media/box"],
|
||||
["sudo",
|
||||
"mount", "-o", "uid=1000,gid=1000,dmask=0000,fmask=0000",
|
||||
device.device_node, "/media/box"],
|
||||
stdout=subprocess.DEVNULL,
|
||||
stderr=subprocess.DEVNULL,
|
||||
check=True,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue