UFS (data) partition is auto mounting but becoming root owned after every reboot

Post your general questions or comments about GhostBSD here!
security_lover
Posts: 41
Joined: Thu Apr 22, 2021 9:54 am
Has thanked: 0
Been thanked: 0

UFS (data) partition is auto mounting but becoming root owned after every reboot

Post 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 ?

Image
I am paranoid about security ! :lol:

security_lover
Posts: 41
Joined: Thu Apr 22, 2021 9:54 am
Has thanked: 0
Been thanked: 0

Re: UFS (data) partition is auto mounting but becoming root owned after every reboot

Post 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.
I am paranoid about security ! :lol:

security_lover
Posts: 41
Joined: Thu Apr 22, 2021 9:54 am
Has thanked: 0
Been thanked: 0

Re: UFS (data) partition is auto mounting but becoming root owned after every reboot

Post 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
Attachments
partition error.png
partition error.png (6.31 KiB) Viewed 230 times
partition.png
partition.png (21.53 KiB) Viewed 230 times
I am paranoid about security ! :lol:

User avatar
ericbsd
Developer
Posts: 1747
Joined: Mon Nov 19, 2012 7:54 pm
Has thanked: 62 times
Been thanked: 122 times

Re: UFS (data) partition is auto mounting but becoming root owned after every reboot

Post by ericbsd »

having fstab to mount partition that automounts take are of not a good idea.
You should upgrade to 21.05.01.

security_lover
Posts: 41
Joined: Thu Apr 22, 2021 9:54 am
Has thanked: 0
Been thanked: 0

Re: UFS (data) partition is auto mounting but becoming root owned after every reboot

Post 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 ?
I am paranoid about security ! :lol:

User avatar
ericbsd
Developer
Posts: 1747
Joined: Mon Nov 19, 2012 7:54 pm
Has thanked: 62 times
Been thanked: 122 times

Re: UFS (data) partition is auto mounting but becoming root owned after every reboot

Post 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.
These users thanked the author ericbsd for the post:
grahamperrin (Sat May 08, 2021 5:54 am)
Rating: 33.33%

security_lover
Posts: 41
Joined: Thu Apr 22, 2021 9:54 am
Has thanked: 0
Been thanked: 0

Re: UFS (data) partition is auto mounting but becoming root owned after every reboot

Post 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
I am paranoid about security ! :lol:

security_lover
Posts: 41
Joined: Thu Apr 22, 2021 9:54 am
Has thanked: 0
Been thanked: 0

Re: UFS (data) partition is auto mounting but becoming root owned after every reboot

Post 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 ?
I am paranoid about security ! :lol:

security_lover
Posts: 41
Joined: Thu Apr 22, 2021 9:54 am
Has thanked: 0
Been thanked: 0

Re: UFS (data) partition is auto mounting but becoming root owned after every reboot

Post 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 ?
I am paranoid about security ! :lol:

User avatar
ericbsd
Developer
Posts: 1747
Joined: Mon Nov 19, 2012 7:54 pm
Has thanked: 62 times
Been thanked: 122 times

Re: UFS (data) partition is auto mounting but becoming root owned after every reboot

Post 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.

Post Reply