My USB device has been formatted to Fat32. gparted shows it as /dev/sdd1 with mount point /media/ray/1768-274C Device's 'Properties' shows Permissions as:
Owner : Me
Access: Create and delete files
Group: ray ( Note: so far as I'm concerned Me = ray!)
Access: None
Others:
Access: None
I have read, and tried my best to follow most of the questions listed as "of interest" but none seem to work; my latest attempt was:-
ray@ray-Aspire-5735:~$ sudo chown -R media/ray/1768-274C
chown: missing operand after ‘media/ray/1768-274C’
Try 'chown --help' for more information.
This command line was from an edit to another related question. There was no operand after the device name so I'm at a loss to know how to make the change/s
EDIT:
Tried all the suggestions with no results (ie permissions on the device remain the same)
Result from sudo blkid was:-
/dev/sdd1: UUID="1768-274C" TYPE="vfat"
When I tried to change fstab I got:-
root@ray-Aspire-5735:~# sudo cp /etc/fstab /etc/fstab.bak
root@ray-Aspire-5735:~# gksudo gedit /etc/fstab
(gedit:4099): Gtk-WARNING **: Calling Inhibit failed: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.gnome.SessionManager was not provided by any .service files
(gedit:4099): Gtk-WARNING **: Calling Inhibit failed: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.gnome.SessionManager was not provided by any .service files
What am I doing wrong?
sudo chown ray:users /media/ray/1768-274C– RPiAwesomeness Oct 20 '14 at 21:31sudo chown ray:ray /media/ray/1768-274Cwhere the firstrayis the user and the seconerayis the default group of the userray. However, this won't change anything, as this should be (and is, as per the first part of the question) the default. – user68186 Oct 20 '14 at 21:33usersgroup (which all users are in by default) to access it as well. However, your command would work just fine. – RPiAwesomeness Oct 20 '14 at 21:35at user279131
This message can be safely ignored.Instead of Gedit you may use nano or vim or any other non-GUI editor to edit the /etcc/fstab file as below and add the drive information in the file for permanent add.
sudo vi /etc/fstab
Note : Our target is to edit the file and add the drive information. You can use anyone of the non-GUI editor to do the trick
Hope this helps
– BDRSuite Oct 21 '14 at 13:38