Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.
This is the device name.

I mean the path where the disk is mounted when the computer boots.
If you have a dedicated home partition, it usually mounts at /home.

In the case of pendrives or external drives, they are probably installed in /var/media

This can also be the case with additional SATA drives in the case of automatic mounting.

Perhaps you need to change the access permissions for the mount point. Since in the case of /var/media these can be created dynamically (I don't know that, please help), I would change my mount point to something else, eg /mnt/data and still created "data" directory with the appropriate permissions.

I feel a bit in the dark because:
- has been copying its developed solutions for years,
- I'm not up to date anymore, and even then I did it based on tutorials :)
- I don't have access to the computer now.

Paste the output of the "cat /etc/fstab" command.

----------------------------
Edit:

My output:

Code:
cat /etc/fstab
UUID=0d7a05ed-c7ea-4989-894f-fd6f4a69f2c0  swap           swap  defaults        0  0
UUID=00befd62-1436-4488-8c32-27578c2e0bbc  /              ext4  acl,user_xattr  1  1
/dev/mapper/_dev_sda4                      /home          auto  user,noauto,data=ordered,nosuid,nodev,nofail,x-gvfs-show,x-gvfs-name=home,x-udisks-auth  0  0
UUID=282a294a-dc60-4a41-a955-b6409cf54bc4 /mnt/data ext4 user,acl 1 2

You can see the familiar /dev/sda entry - this is how the encrypted /home partition is seen (in my computer)

The other partitions report after the UUID. We are interested in "data" that is:
UUID = 282a294a-dc60-4a41-a955-b6409cf54bc4 = /dev/sdaX
/mnt/data - the mount point

The "data" partition is mounted automatically but in the place I choose - that's what the entry in /etc/fstab is for

Now let's see who and what can do on this partition:
Code:
ls -l /mnt

drwxrwsrwx 15 filu_ users 4096 09-26 19:48 data

which means, that:
r = read
w = write
x = execute

and the record in turn applies to: owner - group - others
or rwx rwx rwx means that the owner, group (and anyone belonging to it) and others can access the disk, add and delete files.

Don't worry about the letters "d" and "s", this is a specific application and we are talking about a general rule.

If the rights looked like rwx-r - r- would mean the owner can do anything and the group -r- only reads, as do the others -r-
You can use a numeric notation, for example rwx = 7 and rwxrwxrwx is 777. You will surely find plenty of tutorials.
In my opinion, your drive must be mounted in a place where you have full rights.


Second, the folder where the drive is mounted can be owned by root and then you have to change it with chown -R user: group (recursive).
Of course, all this can be done by clicking on the appropriate tool, e.g. gnome-disk-utility.
A screenshot in my native language will probably not help you much.
 
Last edited:
  • Like
Reactions: serpico007
This is what I got back.

Code:
$ cat /etc/fstab
# /etc/fstab: static file system information.
#
# Use 'blkid' to print the universally unique identifier for a
# device; this may be used with UUID= as a more robust way to name devices
# that works even if disks are added and removed. See fstab(5).
#
# <file system>  <mount point>  <type>  <options>  <dump>  <pass>
PARTUUID=af0fb410-f944-4733-98a0-e525e5c1edc9  /boot/efi  vfat  umask=0077  0  0
PARTUUID=5c0306de-b397-4e5c-a58d-fd5c587cb7b7  /recovery  vfat  umask=0077  0  0
/dev/mapper/cryptswap  none  swap  defaults  0  0
UUID=da2ec157-aa44-4a10-9d6a-50bca7a35369  /  ext4  noatime,errors=remount-ro  0  0
 
Okay, it looks like you only have two Linux partitions - the root "/" filesystem and the swap. Was this drive installed in the computer at the time of Linux installation?

My guess is that /dev/sdb2 is dynamically mounted on /var/run/media (or the equivalent on your distribution).

Is it visible in the graphical file manager as mounted or is it mounted when clicked?

Mount the disks, enter the result of the command

and

Unfortunately, I haven't rummaged in the system for a long time and we will both learn, unless someone wise saves us :)
 
Code:
df
Filesystem             1K-blocks      Used  Available Use% Mounted on
udev                     6086300         0    6086300   0% /dev
tmpfs                    1226324      2008    1224316   1% /run
/dev/mapper/data-root  230535384  13560560  205194524   7% /
tmpfs                    6131604     28192    6103412   1% /dev/shm
tmpfs                       5120         0       5120   0% /run/lock
tmpfs                    6131604         0    6131604   0% /sys/fs/cgroup
/dev/sda2                4186100   2203676    1982424  53% /recovery
/dev/sda1                 508932    190632     318300  38% /boot/efi
tmpfs                    1226320        20    1226300   1% /run/user/110
tmpfs                    1226320        44    1226276   1% /run/user/1000
/dev/sdb2             1953178672 436642448 1516536224  23% /media/shelby/Storage HD

Code:
fdisk -l
fdisk: cannot open /dev/sda: Permission denied
fdisk: cannot open /dev/sdb: Permission denied
fdisk: cannot open /dev/mapper/cryptdata: Permission denied
fdisk: cannot open /dev/mapper/data-root: Permission denied
fdisk: cannot open /dev/mapper/cryptswap: Permission denied
 
Try
Code:
 sudo fdisk -l

We already know where the disk is mounted, return the result
Code:
 ls -l /media/shelby/

We will know the owner and the rights to the mount point.
 
Code:
ls -l /media/shelby/
total 0
drwxr-xr-x 1 root dialout 13 Jan 15  2020  28f0653d-d079-3171-9bb5-fc512b6e8bfe
drwxr-xr-x 1 root dialout 17 Sep 19 18:30  33d38525-624d-3b5a-852b-07b20e0c461f
drwxrwxr-x 1 root      80 20 Aug 29 12:52 'Storage HD'

The drive is formatted in HFS+ but can linux write to this format? This drive came with the computer and was already formatted this way.
 
Ok, I think we already have everything. Now two things:
1) You can try to install some additional packages, because maybe there is a write option, google will tell me hfsprogs - if the missing package is the cause of write problems.
2) You can format to some linux filesystem, ext4 would be natural for me.

Now two more things with mounting:
3) You did not write back whether the disk is mounted automatically after booting the computer or after clicking on the manager, but probably automatically, because it is the default. I suggest changing it, because it is not a flash drive but a permanent part of the system.
4) We will add the mount point to /etc/fstab (like a book "table of contents") with the appropriate parameters - the system will always mount the disk there. Imagine that it remained as it is now and you connect the USB flash drive, then the second - in /media/shelby will be a mess, because all these media will be registered there.

But we'll do an experiment first. We will be changing in small steps.
a) issue the command
Code:
 sudo umount /dev/sda2
The disk should unmount.
b)
Code:
 sudo mkdir /mnt/mydata
We have created the target directory for mounting /dev/sdb2
c)
Code:
sudo chown /mnt/mydata yourname:users
We have changed the owner to you, use yourname to use your login, let the "users" group remain
d) Now a spell should suffice:
Code:
sudo mount -t /dev/sdb2 /mnt/mydata
Perhaps the terminal will return an error (it's not the native file system, after all) - save it.
If I didn't screw up, you should be able to go to the /dev/sdb2 drive in the file manager. This is nothing new but we will rule out an access rights reason. If the drive mounts and you still can't write, you'll have to look for the package.

If point d) doesn't work, install the "hfsprogs" package
and then:
Code:
 sudo mount -t hfsplus -o force, rw /dev/sdb2 /mnt/mydata

Then we'll see what to do next. Enjoy

Don't let the fact that we're doing this in the terminal scare you. All this could be clicked, but I would have to prepare a tutorial with pictures ;)
 
  • Like
Reactions: serpico007
Revelation:

you can also easily check if it's write permission or if there is no HFS + package

Open the file manager with root privileges by simply typing in the terminal
Code:
 sudo "manager name"

If as root you can create a file, folder or paste anything - it's just a matter of rights.
 
  • Like
Reactions: serpico007
...

Now I need to ask if there is a backup process that exists. I normally just backup documents and files, never an entire system. Apple had a nice system but never actually needed the backups luckily. Today I copy/paste files to external drives or NAS drives.

I find Deja-Dup is a simple, flexible and capable backup system. It backs up your home folder by default, and you can set it to run daily or weekly. You can back up to Google Drive, a NAS or to an external drive. However, and this may not be a problem, it saves as a series of 26 Mbyte .gz compressed files.
If you just want to have a normal copy of your files elsewhere there are solutions like scripting rsync and running it via crontab. It's a bit of a mental exercise to set up but once running it is easy to monitor and to restore your files if needed.
 
  • Like
Reactions: serpico007
Great backup suggestion I need to look into.

In regards to my secondary internal hard disk, I moved the files over to my NAS and formatted the drive. Though the first round to do it FAT32 didn’t fix permissions. I had to select the default ext4 in order to have it work 100%.

Thanks for all the help.

Starting now the photography rabbit hole. I haven’t owned a digital camera in over a decade when I sold my Nikon D40. I went back to film but now that my local shop closed to process film, it’s getting harder to find another store. My wife was on my case about phone cameras and wanted a nice digital camera that wasn’t a DSLR. We picked up the Olympus OMD E-1 Mark III on a recommendation from our friend who has the previous Mark II. She also has a DSLR but because of size takes the Mark II out more often. I knew my wife would be happier with this micro four thirds solution.

It’s going to be interesting implementing a new computing environment and digital photography.
 
PopOS is great, and once you get used to the keyboard-driven GNOME desktop environment, it is incredibly functional. I've been using GNOME on various distros for a few years and it really is my favourite computing experience.

I have a MacPro 3,1 that I was considering selling, but I might get motivated to get it running on Linux for a backup option for my main PC. Fedora is currently my distribution of choice. Absolutely delightful experience.
 
  • Like
Reactions: serpico007
Fedora is ok but had (for me) one drawback - too frequent release cycles.

OpenSUSE is more predictable in this respect, which is important if you expect your computer to simply work after custom configurations.

But it was on Fedora that I developed my patent for encrypting partitions, mounting encrypted /home with the password provided in the login manager :)

The good old days when I was bored with Debian Stable ...
 
After much going back and forth, I decided to switch to the Note 9 as primary so I can connect it to my Mac Pro without limitations. Keeping the SE for communicating with family and friends on iMessage and using the Apple Watch. Small enough to put in a pocket and forget it.

It was so nice to backup files and photos, transfer files to an micro sd card without any issues. Later today I'll pick up my new digital camera and start my photography journey once again. Currently working on my original dog project with my wife.

I also installed Flameshot, Openshot and Darktable. So far Pop!_OS is working well with this hardware and no issues.
 
  • Like
Reactions: filu_
Quick update on this since it has been a few months. The SE stopped working with iOS14.2 I believe was the last update I had. Meaning the battery couldn't last a few hours of using it. I had to use my wife's old 8Plus for the mean time. Battery is 80% health and I still need to charge it twice a day.

Carrying two phones didn't work out as well as I thought and got very confusing completing any tasks between the two operating systems. The situation was easier to drop after my Mac Pro stopped working properly after updates to Pop OS. My drives and Note 9 continued to just give up the ghost when ever and several times a week. The disconnections and disappearance of a local storage drive and NAS and connecting the Note 9 finally caught up to me. After spending time researching and troubleshooting I made the decision to go back to my 3 year old Alienware laptop.

It is very unfortunate because I started this journey when my dog died. I wanted to create a memorial with photos and videos using Linux on this old Mac Pro 3,1. Learning open source software along the way too. Covid is also getting me down which added to the grief of losing my dog and buddy. I thought about buying a Macbook Air M1 but can't even get myself out of this funk. In these times I'm just thinking more of saving money and telling myself it's fine just use Windows for now.

Sorry for the sad post but really enjoy visiting this forum after all the many years and going along this journey with all of you here. It helps on the sick days to come here and read.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.