Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.user > #186297 > unrolled thread
| Started by | Federico Beffa <beffa@ieee.org> |
|---|---|
| First post | 2017-09-02 14:50 +0200 |
| Last post | 2017-09-02 15:10 +0200 |
| Articles | 4 — 4 participants |
Back to article view | Back to linux.debian.user
external USB hard drive mount permissions Federico Beffa <beffa@ieee.org> - 2017-09-02 14:50 +0200
Re: external USB hard drive mount permissions Eduardo M KALINOWSKI <eduardo@kalinowski.com.br> - 2017-09-02 15:10 +0200
Re: external USB hard drive mount permissions "James H. H. Lampert" <jamesl@touchtonecorp.com> - 2017-09-04 17:50 +0200
Re: external USB hard drive mount permissions Federico Beffa <beffa@fbengineering.ch> - 2017-09-02 15:10 +0200
| From | Federico Beffa <beffa@ieee.org> |
|---|---|
| Date | 2017-09-02 14:50 +0200 |
| Subject | external USB hard drive mount permissions |
| Message-ID | <ulg26-317-13@gated-at.bofh.it> |
Hi, I'm using Debian Stretch with Gnome. When I plug-in an external USB hard drive (ext4) it gets automatically mounted at /media/beffa/label. However, the drive is read-only for the user owning the Gnome shell (beffa). I've tried adding default ACL entries to /media/beffa as follows # file: . # owner: root # group: root user::rwx user:beffa:rwx group::r-x mask::rwx other::r-x default:user::rwx default:user:beffa:rwx default:group::r-x default:mask::rwx default:other::r-x but the device is still only writable by root. How can I tell the system to make it writable for the user owning the Gnome session or even everybody? Thanks for your help! Fede
[toc] | [next] | [standalone]
| From | Eduardo M KALINOWSKI <eduardo@kalinowski.com.br> |
|---|---|
| Date | 2017-09-02 15:10 +0200 |
| Message-ID | <ulgls-3mm-5@gated-at.bofh.it> |
| In reply to | #186297 |
On 02-09-2017 09:29, Federico Beffa wrote: > I'm using Debian Stretch with Gnome. When I plug-in an external USB > hard drive (ext4) it gets automatically mounted at /media/beffa/label. > > > but the device is still only writable by root. > > How can I tell the system to make it writable for the user owning the > Gnome session I don't think you can. The permissions are the permissions of the root directory of the filesystem in the drive (which get mapped to /media/beffa/label), and have nothing to do with the mount point. > or even everybody? That's possible, just chmod 777 /media/beffa/label. Or use a permission-less filesystem such as vfat. -- Duct tape is like the force. It has a light side, and a dark side, and it holds the universe together ... -- Carl Zwanzig Eduardo M KALINOWSKI eduardo@kalinowski.com.br
[toc] | [prev] | [next] | [standalone]
| From | "James H. H. Lampert" <jamesl@touchtonecorp.com> |
|---|---|
| Date | 2017-09-04 17:50 +0200 |
| Message-ID | <um1No-7jl-21@gated-at.bofh.it> |
| In reply to | #186298 |
On 9/2/17, 6:01 AM, Eduardo M KALINOWSKI wrote: > On 02-09-2017 09:29, Federico Beffa wrote: >> I'm using Debian Stretch with Gnome. When I plug-in an external USB >> hard drive (ext4) it gets automatically mounted at /media/beffa/label. >> >> >> but the device is still only writable by root. >> >> How can I tell the system to make it writable for the user owning the >> Gnome session You might also consider adding an FSTAB entry, using a "LABEL=" drive-ID, to map it to a mount point of your own choosing. That's what I ended up doing. -- JHHL
[toc] | [prev] | [next] | [standalone]
| From | Federico Beffa <beffa@fbengineering.ch> |
|---|---|
| Date | 2017-09-02 15:10 +0200 |
| Message-ID | <ulgls-3mm-13@gated-at.bofh.it> |
| In reply to | #186297 |
Federico Beffa <beffa@ieee.org> writes: > Hi, > > I'm using Debian Stretch with Gnome. When I plug-in an external USB > hard drive (ext4) it gets automatically mounted at /media/beffa/label. > However, the drive is read-only for the user owning the Gnome shell > (beffa). I've tried adding default ACL entries to /media/beffa as > follows > > # file: . > # owner: root > # group: root > user::rwx > user:beffa:rwx > group::r-x > mask::rwx > other::r-x > default:user::rwx > default:user:beffa:rwx > default:group::r-x > default:mask::rwx > default:other::r-x > > but the device is still only writable by root. > > How can I tell the system to make it writable for the user owning the > Gnome session or even everybody? I'm just stupid! I just had to change permissions on the USB drive filesystem :-)
[toc] | [prev] | [standalone]
Back to top | Article view | linux.debian.user
csiph-web