Discussion - Change permission of gdrive folder after PG Clone - PG Blitz setup | PlexGuide.com

Discussion Change permission of gdrive folder after PG Clone - PG Blitz setup

  • Stop using Chrome! Download the Brave Browser via >>> [Brave.com]
    It's a forked version of Chrome with native ad-blockers and Google's spyware stripped out! Download for Mac, Windows, Android, and Linux!
Welcome to the PlexGuide.com
Serving the Community since 2016!
Register Now

nathank1989

Noobz
Original poster
May 21, 2020
1
0
Hello all,

I have a bit of an unusual set up, more of a see if I can do it kind of thing. So please no "well plexguide's containers can already do this" I know it does, but I already set up these services months ago on FreeNAS and do not want to move them into plexguide, for now atleast.

The FreeNAS is setup with plex radarr sonarr jails. I want to keep it there, so I installed PG blitz on to a supported ubuntu box just for the gdrive/rclone connection.
I then shared the /mnt/gdrive folder via NFS to my Freenas box
The mounting works and manual file copy moves on the FreeNAS box seem to work just fine. However, mounting it to my radarr jail on the FreeNAS results in an error that the directory is not writable by radarr

All I want is to change my /mnt/gdrive folder on the Ubuntu box with PlexGuide from 775 to 777 so that the share will allow radarr, sonarr and plex on my FreeNAS to write to it.
Every time I chown or chmod the folder, nothing happens. I run it with -Rv and see the verbose output confirming changed permissions, but when I stat the file I get 775 and 1000/1000 for the owner.

Now the odd thing is, if I am consoled into my radarr install and run sudo -u radarr mkdir test in the gdrive mount path, it creates the folder and I see it in gdrive. But radarr insists it cannot write to the folder.

How can I force the folder to atleast chmod 777??


Bash:
[email protected]:/mnt# stat gdrive
  File: gdrive
  Size: 0               Blocks: 0          IO Block: 4096   directory
Device: 37h/55d Inode: 1           Links: 1
Access: (0775/drwxrwxr-x)  Uid: ( 1000/    plex)   Gid: ( 1000/    plex)
Access: 2020-05-21 23:26:05.854178774 -0400
Modify: 2020-05-21 23:26:05.854178774 -0400
Change: 2020-05-21 23:26:05.854178774 -0400
 Birth: -
[email protected]:/mnt# chmod -Rfv 777 gdrive
mode of 'gdrive' changed from 0775 (rwxrwxr-x) to 0777 (rwxrwxrwx)
mode of 'gdrive/Movies' changed from 0775 (rwxrwxr-x) to 0777 (rwxrwxrwx)
mode of 'gdrive/Movies/test' changed from 0775 (rwxrwxr-x) to 0777 (rwxrwxrwx)
mode of 'gdrive/TV' changed from 0775 (rwxrwxr-x) to 0777 (rwxrwxrwx)
mode of 'gdrive/TV/Chernobyl' changed from 0775 (rwxrwxr-x) to 0777 (rwxrwxrwx)
mode of 'gdrive/TV/Chernobyl/Season 1' changed from 0775 (rwxrwxr-x) to 0777 (rwxrwxrwx)
mode of 'gdrive/TV/Chernobyl/Season 1/Chernobyl.S01E01.1-23-45.mkv' changed from 0664 (rw-rw-r--) to 0777 (rwxrwxrwx)
mode of 'gdrive/TV/Chernobyl/Season 1/Chernobyl.S01E02.Please.Remain.Calm.mkv' changed from 0664 (rw-rw-r--) to 0777 (rwxrwxrwx)
mode of 'gdrive/TV/Chernobyl/Season 1/Chernobyl.S01E03.Open.Wide,.O.Earth.mkv' changed from 0664 (rw-rw-r--) to 0777 (rwxrwxrwx)
mode of 'gdrive/TV/Chernobyl/Season 1/Chernobyl.S01E04.The.Happiness.of.All.Mankind.mkv' changed from 0664 (rw-rw-r--) to 0777 (rwxrwxrwx)
mode of 'gdrive/TV/Chernobyl/Season 1/Chernobyl.S01E05.Vichnaya.Pamyat.mkv' changed from 0664 (rw-rw-r--) to 0777 (rwxrwxrwx)
mode of 'gdrive/test' changed from 0775 (rwxrwxr-x) to 0777 (rwxrwxrwx)
[email protected]:/mnt# stat gdrive
  File: gdrive
  Size: 0               Blocks: 0          IO Block: 4096   directory
Device: 37h/55d Inode: 1           Links: 1
Access: (0775/drwxrwxr-x)  Uid: ( 1000/    plex)   Gid: ( 1000/    plex)
Access: 2020-05-21 23:26:05.854178774 -0400
Modify: 2020-05-21 23:26:05.854178774 -0400
Change: 2020-05-21 23:26:05.854178774 -0400
 

Recommend NewsGroups

      Up To a 58% Discount!

Trending