|
Post by sabinhoo on Aug 22, 2021 9:07:21 GMT
Hi guys, I noticed all my removable devices as USB key belong to "root" owner and group then I just can't read or write either with it How can log in as root on my system to fix it? Regards
|
|
|
Post by Hippytaff on Aug 22, 2021 9:24:12 GMT
Hi sabinhoo
sudo before a command allows root privileges. There are a number of reasons that this might happen. Usually they mount with user ownership, unless it’s formatted as EXT4 for example so a bit more info might help. In this case you could try to change ownership as root using chown, or use sudo for now, though I understand a permanent fix is desirable ultimately. Also which version of Bodhi are you using?
|
|
|
Post by sabinhoo on Aug 22, 2021 10:11:46 GMT
Thank's for replying
I'm using the last version of Bodhi Linux (6.00) as I'm a new user of this distro..
I would like to be able to log in as root on the system to change permanently the permissions in device's properties..
|
|
kiezel
Crew Member
Posts: 143
Likes: 220
|
Post by kiezel on Aug 22, 2021 13:32:11 GMT
No need to log in as root for that (which is a bad idea in a lot of respects anyway). Try this:
sudo chmod -R 777 /media/YourUserName/YourExternalDisk
For example, for user "sabinhoo", for an external disk labelled "Storage":
sudo chmod -R 777 /media/sabinhoo/Storage
|
|
|
Post by ylee on Aug 22, 2021 14:09:29 GMT
I know there are distros that install allowing root logins and so on. That is not the Ubuntu way and is considered bad security and a bit dangerous. I do not recommend it. That said on forums I have never really told ppl how to do this. But vaguely speaking here you can not log in as root as root has no password. Give root a password.
However, sudo, sudo su -, pkexec and the like remove the need for a root user having a password. Unless you think you have a need to login to Moksha as root at the lightdm screen ... and probably you should avoid that.
|
|
|
Post by sabinhoo on Aug 22, 2021 17:05:21 GMT
No need to log in as root for that (which is a bad idea in a lot of respects anyway). Try this: sudo chmod -R 777 /media/YourUserName/YourExternalDisk For example, for user "sabinhoo", for an external disk labelled "Storage": sudo chmod -R 777 /media/sabinhoo/Storage Thank you it seems to be fixed right now
|
|