Some JPGs cannot be copied to FreeNas Server

Status
Not open for further replies.

chasedts

Cadet
Joined
Nov 2, 2015
Messages
3
Hi FreeNAS Community,

I have about 215MB worth of images that I am trying to copy across to my FreeNAS server. FreeNAS seems to be selective about which one it allows. Some of them, it has no problems copying across but others will cause an error message to pop up saying that I need permission from Unix User/guest.

Here is what I have tried so far:
1. Copying the folder with the images to a non-FreeNAS PC - Works fine
2. Renaming an image to test.jpg - Returns Error
3. Cutting and pasting an image from the FreeNAS to a local PC and re-uploading it - Works fine
4. Creating a .txt file in the folder - Works Fine
5. Chmod 777 for the folder - No Effect
6. Opening the file to check for corruption - Opens fine.
7. Checking whether FreeNAS has enough space - 1.4TB remaning, image is 3MB

Any Ideas on what I should do next?
 

SweetAndLow

Sweet'NASty
Joined
Nov 6, 2013
Messages
6,421
What client, what protocol, what freenas version, what hardware, what user, what permissions?
 

chasedts

Cadet
Joined
Nov 2, 2015
Messages
3
Client: Windows 7 + Windows 10
Protocol: TCP? I was just copying and pasting files from one location to a folder on the server
FreeNAS Version: FreeNAS-9.2.1.5-RELEASE-x64 (80c1d35)
Hardware: Xeon e3-1220 V2
User: guest
Permissions: 755

What seems to be the strangest thing to me is that some files do transfer across fine while others return the error message.

I have attached a few screenshots. Hopefully this helps. As you can see in the screenshots approximately half of the files are able to be transferred successfully, the other half cannot be transferred.
 

Attachments

  • 2015-11-03 15_27_00-99948522BRO.png
    2015-11-03 15_27_00-99948522BRO.png
    119.5 KB · Views: 250
  • 2015-11-03 15_30_34-99948522BRO.png
    2015-11-03 15_30_34-99948522BRO.png
    27.9 KB · Views: 234
  • 2015-11-03 15_32_18-99948522BRO.png
    2015-11-03 15_32_18-99948522BRO.png
    20.5 KB · Views: 242

DrKK

FreeNAS Generalissimo
Joined
Oct 15, 2013
Messages
3,630
Definitely some weird permissions issue. I think he's using CIFS for his protocol.

I think it might be easier to transfer the files over with FTP or SFTP, rather than chasing down whatever is wrong. That's my instinct anyway.
 

chasedts

Cadet
Joined
Nov 2, 2015
Messages
3
Ah, Yes I am using CIFS, unfortunately, there are 20-30 other people that use this drive as if it was another hard drive on their computer. To switch everyone to using FTP to transfer files to and from the server will require retraining. Any idea what might be wrong? Will I have to rebuild my CIFS share?
 

pirateghost

Unintelligible Geek
Joined
Feb 29, 2012
Messages
4,219
Based on the screenshots the error is stemming from the source of the file on other people's computers, not freenas
 

DrKK

FreeNAS Generalissimo
Joined
Oct 15, 2013
Messages
3,630
Indeed.
 

anodos

Sambassador
iXsystems
Joined
Mar 6, 2014
Messages
9,554
I concur, but in the spirit of making people work harder, post the following (to the OP):
  1. Hardware specs
  2. Contents of /etc/local/smb4.conf
  3. 'getfacl' output for shares
  4. Output of 'pdbedit -L'
  5. Output of 'getent passwd'
  6. Output of 'getent group'
  7. Relevant entries in /var/log/samba4/{log.smbd, log.nmbd, log.wb-<hostname>}
Enclose the above in [ code ] tags as separate items.
 
Status
Not open for further replies.
Top