1

I recently decided to use ubuntu and for this reason, I followed the steps written in the answer to this question: Windows Ubuntu dual boot - Share files between OS

Now, I'm new to ubuntu and linux world in general, but from what I've understood, home folders should not be owned by root. However, after following those steps, that's just what happened: my download, pictures, music and documents folders are all owned by root. I already found some answers explaining how to change ownership but what I wanted to ask is if I should change it.

Thank to anyone will answer!

Jonky
  • 13

1 Answers1

1

I opened your provided link, but stopped reading the moment I saw having $HOME (/home/*) files on a NTFS partition (way too scary for me). I decided long ago ago when I had to dual boot (I no longer do) that it was safer to have a partition (not /home) where both OSes (windoze, ubuntu) could share the files I wanted to access in both worlds. [My /home was for my gnu/linux distro only; with a link ln for easy-access only in $HOME]

As to your real question (file ownership), I'll provide the following

-rw-rw-r-- 1 owner group 281K Aug 28 2016 file_blah

I changed my $USER (my username) to "owner" as that field is the owner, which you're saying is "root". The group that can access it I changed to "group". I have files in my $HOME (/home/username folder) that are owned by root|root (owner|group), but its not a problem as I have permissions to do what I need with them anyway, as revealed in the "-rw-rw-r--" (owner, group, others).

If it works, I'd leave it just so your version of windoze doesn't complain, but if you want to change it sudo chown username filename (where username is your username, or owner you want & filename is name of file/dir, or globbed-regex; eg. *), with a -R to quickly do any sub-directories.

But note: I'd only change it if it's a problem, and I'd save a copy of the directories (ls -la at least) so you could write a script to put things back the way they are in case it creates issues for the unnamed windoze version you use.

guiverc
  • 33,561