Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
How to extend RW permissions for network user.
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
Kurmis
n00b
n00b


Joined: 04 Jun 2010
Posts: 17
Location: LV

PostPosted: Thu Mar 16, 2017 4:58 pm    Post subject: How to extend RW permissions for network user. Reply with quote

I am usually workin in internet as absolutely unpriviliged user chromeuser.
Code:
bash -c " (xhost +) && (sudo -i -u chromeuser /usr/bin/chromium-browser &) && (sleep 3) && (xhost -)"

Often i wanna download some files not to /home/chromeuser , but to mounted flash,
but mount is done by another user.
chromeuser has no write permissins to /media/FLASHDISK .

I have created rule to mount all hot-pluged devices under /media/ , and this works.
Code:
cat /etc/udev/rules.d/99-udisks2.rules
ENV{ID_FS_USAGE}=="filesystem", ENV{UDISKS_FILESYSTEM_SHARED}="1"

How i can allow chromeuser (or everybody) RW permissions to /media/FLASHDISK,
or any other mounted flash device ?
Must i create one more rule or edit this one?

Thanks @ all in advance
Back to top
View user's profile Send private message
Schnulli
Guru
Guru


Joined: 25 Jun 2010
Posts: 320
Location: Bremen DE

PostPosted: Fri Mar 17, 2017 11:56 pm    Post subject: Reply with quote

add the chromeuser to the same group permissions ... this should solve your Prblem
but be sure what you do.....permissions is often the door for unwanted things/user !
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum