[solved w/ workaround] How to automount partition as guest?

Post here if you are a new Porteus member and you're looking for some help.
Rico Heart
White ninja
White ninja
Posts: 17
Joined: 24 Jun 2015, 13:14
Distribution: Porteus 3.1 XFCE
Location: Europe

[solved w/ workaround] How to automount partition as guest?

Post#1 by Rico Heart » 12 Jul 2015, 20:08

On my Porteus pendrive there are two EXT4 partitions. One for Porteus, and one for big files.

This second "DATA" partition is automounted as root, so as guest I cannot use it.

/etc/fstab says:
# Do not edit this file as fstab is recreated automatically during every boot.
# Please use /etc/rc.d/rc.local or sysvinit scripts if you want to mount/unmount
# drive, filesystem or network share.
Aaand this is where my knowledge stops. I need your help. :oops:
Last edited by Rico Heart on 13 Jul 2015, 06:54, edited 1 time in total.

donald
Full of knowledge
Full of knowledge
Posts: 2067
Joined: 17 Jun 2013, 13:17
Distribution: Porteus 3.2.2 XFCE 32bit
Location: Germany

Re: How to automount partition as guest?

Post#2 by donald » 12 Jul 2015, 22:02

But you can open / read the files.no?

This behavior is an important security feature
No one, except root, is able to manipulate / delete files or Folders.

If you want to use it as guest, create a Folder (as root) ,
right-click that folder > permissions > and give read / write access to guest.

Rico Heart
White ninja
White ninja
Posts: 17
Joined: 24 Jun 2015, 13:14
Distribution: Porteus 3.1 XFCE
Location: Europe

Re: How to automount partition as guest?

Post#3 by Rico Heart » 13 Jul 2015, 06:53

Alright, understood.

I made a folder inside the partition, then as root 'chown guest:guest <foldername>', and made a symlink as guest with File Manager shift-control-drag into /home/guest.

Thanks.

Post Reply