If you access the disk using a filemanager then the partition is mounted in:
/run/media/<username>/<label or uuid>
Only the user which used the filemanager has permissions to this partition.
To make the partition visible to others, you'll need to add it to
/dev/sdb1 /media/mystuff ext4 defaults 1 2
In this example, the partition /dev/sdb1 is mounted on
/media/mystuff. Note:an alternative (and safer) method is to use the
uuid, or a
With this file edited for your particular setup the partition will be mounted every time the system boots.
If the filesystem on the partition understands users and groups you can add normal Linux users and groups to all files and directories. This means that you can add the group
vip to all files and directories with:
sudo chown -R .vip /media/mystuff
However, if the filesystem doesn't support users and groups, such as
fat32, you can tell the system which user and group that all files on the partition belong to. Replace
uid=<user-id>,gid=<group-id> in the example above.
To get the
<group-id> use theid` command:
$ id -u <user>
$ id -g vip
The numbers returned are the
<group-id> respectively - they'll be different on your system.
Also, change the
vfat, for a
fat32 partition and add the
auto option so that it mounts on boot:
/dev/sdb1 /media/mystuff vfat auto,uid=1005,gid=1002 1 2
Now, everyone in group
vip should be able to access your files.