LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Arch (https://www.linuxquestions.org/questions/arch-29/)
-   -   Trying to take ownership of my 1TB hard drive on Arch (https://www.linuxquestions.org/questions/arch-29/trying-to-take-ownership-of-my-1tb-hard-drive-on-arch-4175657549/)

pcninja 07-17-2019 08:14 AM

Trying to take ownership of my 1TB hard drive on Arch
 
No matter what I do I can't take ownership of my 1TB hard drive. I suspect it is because of it being NTFS. I am using it store my collection of "stuff" and I want full permissions to the drive under linux. Thing is though that full permissions is granted to "root" and not my user account and I can't change the permissions.

Here's my fstab: https://pastebin.com/V7CKn2tp

I thought changing the "user_id" and "group_id" options from 0 to 1000 would help but root is still owner

teckk 07-17-2019 08:43 AM

Who mounted it? Root or user?
https://wiki.archlinux.org/index.php/Fstab

dc.901 07-17-2019 08:46 AM

Did you try solution stated here: https://unix.stackexchange.com/quest...-non-root-user

BW-userx 07-17-2019 09:18 AM

NTFS has no permissions per se` in Linux. if mounting in fstab, mount it in /media/someDir.
it would help to have it labeled, so when it shows up in the file manager you will better see it.
if plugging it in well then more info needed for investigation.

if it is not labeled then you get this really long line of letters and numbers.
Code:

$ cat /etc/fstab
/dev/sdb5        /                ext4        defaults        1  1
/dev/sdb6        /home            ext4        defaults        1  2
/dev/sda1        /media/data1    ext4        defaults        1  2
#/dev/sda2        /media/ntfs1    ntfs-3g    fmask=111,dmask=000 1  0

UUID's can be used in lue of old school drive/partition

pcninja 07-17-2019 09:52 AM

Quote:

Originally Posted by teckk (Post 6015825)
Who mounted it? Root or user?
https://wiki.archlinux.org/index.php/Fstab

I'm afraid I don't understand the question. Also, nothing in the fstab page helps.

Quote:

Originally Posted by dc.901

I took a look at the page and I don't really understand what each option shown there does and it looks very different than what was generated by genfstab.

Quote:

Originally Posted by BW-userx
NTFS has no permissions per se` in Linux. if mounting in fstab, mount it in /media/someDir.

would that give me full control under my user account? I suspected there was a permissions issue before because I tried to add a torrent for a file I already downloaded and rather seed the file, it started over the download and overwritten the originally completed file.

BW-userx 07-17-2019 10:02 AM

Quote:

Originally Posted by pcninja (Post 6015847)
would that give me full control under my user account? I suspected there was a permissions issue before because I tried to add a torrent for a file I already downloaded and rather seed the file, it started over the download and overwritten the originally completed file.

I don't fully understand the situation here with a torrent client thing you got going on, and using a partition that you would have permissions on. ie, ext2 ext3, btrfs,

You'd have to look into how to create a torrent, etc.. I do not think it falls under permissions, per se`.

pcninja 07-17-2019 10:10 AM

Quote:

Originally Posted by BW-userx (Post 6015849)
I don't fully understand the situation here with a torrent client thing you got going on, and using a partition that you would have permissions on. ie, ext2 ext3, btrfs,

I have files on my 1TB I want accessible between both Windows and Linux that I want to seed 24/7 but when trying too add the same torrents I already downloaded on Windows to my torrent client on Linux, for some odd reason the downloads started over when they should've been seeding.

BW-userx 07-17-2019 10:15 AM

Quote:

Originally Posted by pcninja (Post 6015851)
I have files on my 1TB I want accessible between both Windows and Linux that I want to seed 24/7 but when trying too add the same torrents I already downloaded on Windows to my torrent client on Linux, for some odd reason the downloads started over when they should've been seeding.

I do not know about between windows and Linux compatibiltiy between the two,but that has to do with the config files that torrent client is using to keep track of what it is downloading and has downloaded and is now seeding.

say if you use qbittorrent and two linux distros, you can copy from one to the other

Code:

cp -r /home/bob/.config/qbittorrent /home/jane/.config
then they will more or less be in sync with each other.

using the same torrent client should need to be used is this situation as well. Due to compliance between the two would be better had.

if you are using the same client and adding the same torrents to both, then do a check on the one. that might work too.

pcninja 07-17-2019 12:45 PM

Quote:

Originally Posted by BW-userx (Post 6015853)
if you are using the same client and adding the same torrents to both, then do a check on the one. that might work too.

okay so I started slowly adding torrents back on the linux side and most of them did fine but a couple started to download again but thankfully but oddly nothing was overwritten and I checked because I am now on the Windows side again and everything is seeding.

Now my only major barrier to using the linux side more would be keeping my firefox profiles in sync. Could I use symlinks for that, or because I'm relying on NTFS it would break my profile?

ehartman 07-17-2019 12:49 PM

Quote:

Originally Posted by pcninja (Post 6015903)
okay so I started slowly adding torrents back on the linux side and most of them did fine but a couple started to download again but thankfully but oddly nothing was overwritten and I checked because I am now on the Windows side again and everything is seeding.

Now my only major barrier to using the linux side more would be keeping my firefox profiles in sync.

No, you will need two different profiles as both versions OF firefox have differing options (and of course, pathnames). The easy solution is to keep the Windows profile on the Windows C: disk and the Linux one in your Linux home directory (on a Linux file system, FireFox uses symlinks i.e. for the lock, which ntfs doesn't support).

BW-userx 07-17-2019 12:54 PM

sync'ing firefox ... look in preferences, under sync sign up and they sync what they sync.
book marks and stuff..

pcninja 07-17-2019 01:00 PM

Quote:

Originally Posted by ehartman (Post 6015906)
No, you will need two different profiles as both versions OF firefox have differing options (and of course, pathnames). The easy solution is to keep the Windows profile on the Windows C: disk and the Linux one in your Linux home directory (on a Linux file system, FireFox uses symlinks i.e. for the lock, which ntfs doesn't support).

what do I do to keep them in sync then?

Quote:

Originally Posted by BW-userx
sync'ing firefox ... look in preferences, under sync sign up and they sync what they sync.
book marks and stuff..

I don't really trust Mozilla with my private data, are there any alternatives?

BW-userx 07-17-2019 02:36 PM

Quote:

Originally Posted by pcninja (Post 6015913)
what do I do to keep them in sync then?



I don't really trust Mozilla with my private data, are there any alternatives?

if you do not trust them then who can you trust?

pcninja 07-17-2019 02:56 PM

Quote:

Originally Posted by BW-userx (Post 6015946)
if you do not trust them then who can you trust?


other than myself? I don't know 100%. Is there a solution though for keeping my firefox profiles in sync without depending on 3rd party servers?

BW-userx 07-17-2019 03:02 PM

Quote:

Originally Posted by pcninja (Post 6015951)
other than myself? I don't know 100%. Is there a solution though for keeping my firefox profiles in sync without depending on 3rd party servers?

mmmm write your own web browser, and host it on a Linux server in your other room?

I'd not be that paranoid, what personal data are you putting into your web browser?


All times are GMT -5. The time now is 08:39 PM.