You are not logged in.
Pages: 1
Hi
I have a usb drive formatted with Gparted to Ext4. I'm unable to write files to it from libreoffice and the create folder option in Thunar is greyed out. It seems I don't have write permissions to external media - I'm not sure how to rectify this, however.
Thanks,
~S
Last edited by Steinberg2010 (2016-02-20 02:06:48)
Offline
How do you mount it? Paste the relevant line from the `mount` command.
Offline
1) https://wiki.archlinux.org/index.php/US … with_mount
Or
2) man chown (change the owner of the mountpoint to your user)
Or
2) Try mounting with pmount from Aur
Last edited by ugjka (2016-02-19 19:58:41)
Offline
I can't see it when I run "mount" - there's only one drive listed as Ext4 and that's my internal SSD...
Offline
We can't see it either! Post what you actually are doing, full commands, logs, error messages etc.
Offline
proc on /proc type proc (rw,nosuid,nodev,noexec,relatime)
sys on /sys type sysfs (rw,nosuid,nodev,noexec,relatime)
dev on /dev type devtmpfs (rw,nosuid,relatime,size=3934292k,nr_inodes=983573,mode=755)
run on /run type tmpfs (rw,nosuid,nodev,relatime,mode=755)
/dev/sda1 on / type ext4 (rw,relatime,data=ordered)
securityfs on /sys/kernel/security type securityfs (rw,nosuid,nodev,noexec,relatime)
tmpfs on /dev/shm type tmpfs (rw,nosuid,nodev)
devpts on /dev/pts type devpts (rw,nosuid,noexec,relatime,gid=5,mode=620,ptmxmode=000)
tmpfs on /sys/fs/cgroup type tmpfs (ro,nosuid,nodev,noexec,mode=755)
cgroup on /sys/fs/cgroup/systemd type cgroup (rw,nosuid,nodev,noexec,relatime,xattr,release_agent=/usr/lib/systemd/systemd-cgroups-agent,name=systemd)
pstore on /sys/fs/pstore type pstore (rw,nosuid,nodev,noexec,relatime)
cgroup on /sys/fs/cgroup/cpuset type cgroup (rw,nosuid,nodev,noexec,relatime,cpuset)
cgroup on /sys/fs/cgroup/freezer type cgroup (rw,nosuid,nodev,noexec,relatime,freezer)
cgroup on /sys/fs/cgroup/pids type cgroup (rw,nosuid,nodev,noexec,relatime,pids)
cgroup on /sys/fs/cgroup/devices type cgroup (rw,nosuid,nodev,noexec,relatime,devices)
cgroup on /sys/fs/cgroup/memory type cgroup (rw,nosuid,nodev,noexec,relatime,memory)
cgroup on /sys/fs/cgroup/cpu,cpuacct type cgroup (rw,nosuid,nodev,noexec,relatime,cpu,cpuacct)
cgroup on /sys/fs/cgroup/blkio type cgroup (rw,nosuid,nodev,noexec,relatime,blkio)
cgroup on /sys/fs/cgroup/net_cls type cgroup (rw,nosuid,nodev,noexec,relatime,net_cls)
systemd-1 on /proc/sys/fs/binfmt_misc type autofs (rw,relatime,fd=28,pgrp=1,timeout=0,minproto=5,maxproto=5,direct)
hugetlbfs on /dev/hugepages type hugetlbfs (rw,relatime)
tmpfs on /tmp type tmpfs (rw)
mqueue on /dev/mqueue type mqueue (rw,relatime)
debugfs on /sys/kernel/debug type debugfs (rw,relatime)
configfs on /sys/kernel/config type configfs (rw,relatime)
tmpfs on /run/user/1000 type tmpfs (rw,nosuid,nodev,relatime,size=787400k,mode=700,uid=1000,gid=1000)
gvfsd-fuse on /run/user/1000/gvfs type fuse.gvfsd-fuse (rw,nosuid,nodev,relatime,user_id=1000,group_id=1000)
fusectl on /sys/fs/fuse/connections type fusectl (rw,relatime)Here is the full output of the mount command. I'm running Openbox with Thunar and few extra packages installed on top (the installation is only a few weeks old).
~S
Offline
So you can't write to it because it is not mounted. How were you expecting to mount it?
Offline
Jesus Christ, learn how to use mount!
https://wiki.archlinux.org/index.php/Mount
man mountLast edited by ugjka (2016-02-19 20:08:00)
Offline
I'm confused... I plug it in and it appears in Thunar and I can browse the drive, fomat partitions, eject, etc. is that not mounted already?
Offline
If it isn't in the mount output, it isn't mounted. How are you automounting?
Offline
I guess I'm not automounting after all - I had assumed that happened when I plugged my flash drive in. I haven't installed any packages to assist with automounting and I don't have an entry in /etc/fstab for an external drive.
Offline
I have a usb drive formatted with Gparted to Ext4. ... It seems I don't have write permissions to external media - I'm not sure how to rectify this, however.
Consider the following example, making a new partition with GParted for backup data. Gparted does this all as root so everything belongs to root. This is all well and good but when it came to writing data to the mounted partition, permission was denied.
Click this link and read!
https://wiki.archlinux.org/index.php/Fi … _ownership
Last edited by ugjka (2016-02-19 20:27:17)
Offline
Also what's the output uname -a (because I don't understand how did you install your system without encountering mount)
Offline
uname -a
Linux archtp 4.4.1-2-ARCH #1 SMP PREEMPT Wed Feb 3 13:12:33 UTC 2016 x86_64 GNU/LinuxI encountered mount when I installed, I've just not plugged anything in physically since so I hadn't really thought about it...
Offline
So did you try changing ownership of the mountpoint as said in the wiki?
Last edited by ugjka (2016-02-19 21:01:23)
Offline
Yes - that doesn't seem to have helped. Am I meant to add line to my /etc/fstab?
BTW this is the current output I get from mount now:
/dev/sdb1 on /run/media/nicolas/5af26381-8b01-4ba0-8715-912bd73e4691 type ext4 (rw,nosuid,nodev,relatime,data=ordered,uhelper=udisks2)~S
Last edited by Steinberg2010 (2016-02-20 01:31:26)
Offline
Offline
I have udisks2 installed. I don't think the issue is mounting the drive, it seems to be a permissions problems. I can view and browse the drive in Thunar, it won't let me create folders or files unless I open as root.
~S
Offline
Okay - chown seemed to solve the problem!
Thanks for all your help guys!
~S
Offline
Pages: 1