Arindrew

Members
  • Posts

    5
  • Joined

  • Last visited

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

Arindrew's Achievements

Noob

Noob (1/14)

0

Reputation

  1. I followed the guide at Reddit, which has been working great. I decided to try and get HDD temps, so I added the [[inputs.hddtemp]] to my telegraf.conf file and restarted Telegraf and now I get the following error: 2020-07-28T14:01:50Z E! [inputs.hddtemp] Error in plugin: dial tcp 127.0.0.1:7634: connect: connection refused My Telegraf container has it's own IP address, and the HDDtemp container does not get an IP address assigned. How do I tell Telegraf where to go to get the data from the HDDtemp container if it doesn't have an IP? I tried using "address = [unraidIP] in telegraf.conf, but it didn't help.
  2. I get how all that works (at least I think I do). What I don't understand it why having a single file in the directory that andrew doesn't have permissions to (because the owner and group are both root) prevents the whole directory from being writable.
  3. This is all through SMB. I only tried with NFS to see if that worked instead. I did get it working. I still don't understand why creating that file with root prevented my remote user from having write permissions. I deleted the testfile created by the local root account and ran the New Permissions tool again (on an empty share). Played with my fstab entry some more and got it to work. For the record, here is my /etc/fstab file //unraid/testshare /media/unraid/testshare cifs username=andrew,password=mypass,uid=nobody,gid=users,noperm 0 0 How do I mark as solved?
  4. It’s a brand new share. Does that tool have to be run each time a share is created? The testfile permissions are correct (rw), but the ownership is root because I created it with the local root account. Right? Regardless of hat individual file, I still can’t write any other files with my “andrew” account.
  5. I just installed unraid yesterday and am trying to create some shares, mount them on my various devices and move all my data over to the unraid server. Permissions (NFS or SMB) are not acting how I expected they would. Below are my steps, and results. What am I doing wrong? Create new share called "testshare" Enable SMB Set as exportable Security is "Secure" Apply Set SMB user access as andrew with R/W Apply ssh into unraid server cd /mnt/user/testshare root@unraid:/mnt/user/testshare# ll total 0 drwxrwxrwx 1 nobody users 18 May 31 15:05 ./ drwxrwxrwx 1 nobody users 6 May 31 14:19 ../ Seems good, directories have the correct permissions root@unraid:/mnt/user/testshare# touch testfile root@unraid:/mnt/user/testshare# ll total 0 drwxrwxrwx 1 nobody users 22 May 31 15:14 ./ drwxrwxrwx 1 nobody users 6 May 31 14:19 ../ -rw-rw-rw- 1 root root 0 May 31 15:14 testfile Seems good again, correct permissions for files as well Back to client machine I create the following entry in fstab //unraid/testshare /media/unraid/testshare cifs username=andrew,password=mypass,uid=nobody,gid=users,iocharset=utf8 0 0 Proceed to mount all shares andrew@desktop:/media/unraid/testshare$ cd /media/unraid/testshare andrew@desktop:/media/unraid/testshare$ ll total 4.0K drwxr-xr-x 2 nobody users 0 May 31 15:14 ./ drwxrwxrwx 9 root root 4.0K May 31 14:57 ../ -rwxr-xr-x 1 nobody users 0 May 31 15:14 testfile* The permissions of testfile are different and my "andrew" user does not have write permission either. I've also set NFS security to "Public", with the following fstab entry: unraid:/testshare /media/unraid/testnfs nfs defaults 0 0 and I get the following error: mount.nfs: access denied by server while mounting unraid:/testshare