Page 1 of 2
UFS (data) partition is auto mounting but becoming root owned after every reboot
Posted: Sun Apr 25, 2021 9:10 am
by security_lover
I have a separate spinning disk which I use to store data only. I used chown command to gain write permission as normal user (not root) but after every reboot the permissions are getting changed. The owner is back to root. I can't write anything.
How to I make the permissions to persist ?
Re: UFS (data) partition is auto mounting but becoming root owned after every reboot
Posted: Mon May 03, 2021 2:00 am
by security_lover
This is the only major remaining issue other the bluetooth that I am facing. If anyone knows how to fix this please reply.
Re: UFS (data) partition is auto mounting but becoming root owned after every reboot
Posted: Tue May 04, 2021 10:14 am
by security_lover
I added the partition of /etc/fstab & now its a weird situation. Please see attachment.
Code: Select all
> cat /etc/fstab
# Device Mountpoint FStype Options Dump Pass
procfs /proc procfs rw 00
linprocfs /compat/linux/proc linprocfs rw 00
tmpfs /compat/linux/dev/shm tmpfs rw,mode=1777 0 0
linsysfs /compat/linux/sys linsysfs rw 0 0
fdesc /dev/fd fdescfs rw 0 0
/dev/ada0p1 /home/bsd/spinning ufs rw 0 2
Re: UFS (data) partition is auto mounting but becoming root owned after every reboot
Posted: Tue May 04, 2021 10:21 am
by ericbsd
having fstab to mount partition that automounts take are of not a good idea.
You should upgrade to 21.05.01.
Re: UFS (data) partition is auto mounting but becoming root owned after every reboot
Posted: Tue May 04, 2021 10:23 am
by security_lover
ericbsd wrote: ↑Tue May 04, 2021 10:21 am
having fstab to mount partition that automounts take are of not a good idea.
You should upgrade to 21.05.01.
Never done that before. How do I do that ? By downloading the new ISO and reinstalling ?
Re: UFS (data) partition is auto mounting but becoming root owned after every reboot
Posted: Tue May 04, 2021 10:31 am
by ericbsd
The safest way to do it is reinstalled since it is a complex upgrade, but some have done the upgrade with this
https://forums.ghostbsd.org/viewtopic.php?p=9295#p9295.
Next major upgrade (13 to 14), I will have it working with the update manager.
Re: UFS (data) partition is auto mounting but becoming root owned after every reboot
Posted: Tue May 04, 2021 10:31 am
by security_lover
Code: Select all
~> sudo pkg info os-generic-userland | grep Version
Version : 20.12.25
https://wiki.ghostbsd.org/index.php/How ... prerelease
How to upgrade from a prerelease
Eric Turgeon, [12.03.20 02:07] on Telegram
os pkg upgrade
Code: Select all
> sudo os pkg upgrade
sudo: os: command not found
Re: UFS (data) partition is auto mounting but becoming root owned after every reboot
Posted: Tue May 04, 2021 10:34 am
by security_lover
One last question. For how long is 20.12.25 supported (The year & month) ? Or am I running a already unsupported version ?
Re: UFS (data) partition is auto mounting but becoming root owned after every reboot
Posted: Tue May 04, 2021 10:42 am
by security_lover
https://forums.ghostbsd.org/viewtopic.php?p=9384
You said :
GhostBSD is base on FreeBSD, but we don't have the same release model. GhostBSD has CI/CD approach, so the project has a rolling release approach.
So if its rolling then why the need to upgrade ?
Re: UFS (data) partition is auto mounting but becoming root owned after every reboot
Posted: Wed May 05, 2021 6:22 am
by ericbsd
security_lover wrote: ↑Tue May 04, 2021 10:34 am
One last question. For how long is 20.12.25 supported (The year & month) ? Or am I running a already unsupported version ?
It is not supported anymore.