Cannot modify files from Windows after changing user permission to Plex for Camera Upload

Status
Not open for further replies.

traderjay

Explorer
Joined
Oct 16, 2015
Messages
58
A little bit stuck - thanks to this thread I was able to get Camera Upload working https://forums.plex.tv/discussion/173514/camera-upload-on-freenas/p1

I used the following command on my FreeNAS mount dedicated to Camera Upload:

Code:
chown -R plex:plex /"Mobile Upload"


While camera upload is working and the mobile devices using the app is able to write to the drive, I cannot modify or delete the files from Windows when I map that drive as a network share. When deleting or modifying the file from windows, the following prompt comes out:

"You require permission from Unix User\972 to make changes to this file"


Btw I also tried the following command but received the error "Operation not Permitted"

chmod -R 775 "Mobile Upload"
 

nojohnny101

Wizard
Joined
Dec 3, 2015
Messages
1,478
I glanced at the other thread but can you post a screen shot of "ls -la" of the structure that house "camera upload" so I can see current permissions. And I am assuming you are trying the "chmod" command while logged in as root correct?
 

m0nkey_

MVP
Joined
Oct 27, 2015
Messages
2,739
You're seeing this because you use a UNIX dataset type. For Samba shares, it's recommended to use a Windows dataset type, allowing you to manage permissions correctly and avoid these errors.
 

traderjay

Explorer
Joined
Oct 16, 2015
Messages
58
Hey guys - thank you so much for all the help. Here is what I found, if i run the following command on the folder

Code:
chown -R 1001:1001 /"Mobile Upload" 


Then I am able to freely edit and modify the files from my windows share. The ls - l output looks like this:

Code:
-rwxrwxr-x+ 1 1001  1001  1574933 Dec 31  2015 2015-12-31 14.46.59.jpg			  												
-rwxrwxr-x+ 1 1001  1001  1309027 Jan  9  2016 2016-01-09 20.55.59.jpg			  												
-rwxrwxr-x+ 1 1001  1001  1257447 Jan  9  2016 2016-01-09 20.57.17.jpg			  												
-rwxrwxr-x+ 1 1001  1001  1469425 Jan  9  2016 2016-01-09 20.57.18.jpg			  												
-rwxrwxr-x+ 1 1001  1001  1748102 Jan  9  2016 2016-01-09 20.57.20.jpg			  												
-rwxrwxr-x+ 1 1001  1001  1865677 Jan 10  2016 2016-01-10 20.20.52.jpg			  												
-rwxrwxr-x+ 1 1001  1001  2250969 Jan 13  2016 2016-01-13 13.50.57.jpg			  												
-rwxrwxr-x+ 1 1001  1001  1548238 Jan 14  2016 2016-01-14 19.25.41.jpg			  												
-rwxrwxr-x+ 1 1001  1001  1783436 Jan 15  2016 2016-01-15 21.23.11.jpg			  												
-rwxrwxr-x+ 1 1001  1001  1880715 Jan 15  2016 2016-01-15 21.23.16.jpg			  												
-rwxrwxr-x+ 1 1001  1001  1416306 Jan 16  2016 2016-01-16 15.50.12.jpg			  												
drwxrwxr-x+ 2 1001  1001	  363 Sep 29 21:37 Bear iphone						  												
drwxrwxr-x+ 2 1001  1001	 1439 Oct  3 22:29 Note 4 Upload					    												
drwxrwxr-x+ 2 1001  1001		2 Sep 29 11:44 Samsung Upload   


however, doing this will prevent the mobile client from uploading photos to this ZVOL and I have to rerun the command:

Code:
chown -R plex:plex /"Mobile Upload" 


I understand this is a file ownership/permission issue and my knowledge on this is rudimentary..any guidance would be greatly appreciated :)
 

traderjay

Explorer
Joined
Oct 16, 2015
Messages
58
Bump...
 

Ericloewe

Server Wrangler
Moderator
Joined
Feb 15, 2014
Messages
20,194
Start by following @m0nkey_ 's advice.
 
Status
Not open for further replies.
Top