Page 1 of 1

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

Posted: 12 Jul 2015, 20:08
by Rico Heart
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:

Re: How to automount partition as guest?

Posted: 12 Jul 2015, 22:02
by donald
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.

Re: How to automount partition as guest?

Posted: 13 Jul 2015, 06:53
by Rico Heart
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.