Register for the iXsystems Community to get an ad-free experience and exclusive discounts in our eBay Store.

[How-To] Giving Plugins Write Permissions to Your Data

Western Digital Drives - The Preferred Drives of FreeNAS and TrueNAS CORE
Status
Not open for further replies.

Joshua Parker Ruehlig

Wizened Sage
Joined
Dec 5, 2011
Messages
5,949
Well it looks ok..

drwxrwxr-x+ 2 Richard Richard 33 Mar 4 17:57 Saga (2012)
drwxrwxr-x+ 2 Richard Richard 25 Mar 3 10:28 Sex (2013)
drwxrwxr-x+ 2 Richard Richard 15 Mar 3 10:28 Sex Criminals (2013)
drwxrwxr-x+ 2 Richard Richard 12 Mar 3 10:21 Southern Bastards (2014)
drwxrwxr-x+ 2 Richard Richard 46 Mar 5 00:09 Stray Bullets (1995)


But mylar is throwing this permissions related error..

2015-03-05 01:00:17ERRORUncaught exception: Traceback (most recent call last):
File "/usr/pbi/mylar-amd64/share/mylar/mylar/mylar/logger.py", line 159, in new_run
old_run(*args, **kwargs)
File "/usr/pbi/mylar-amd64/lib/python2.7/threading.py", line 763, in run
self.__target(*self.__args, **self.__kwargs)
File "/usr/pbi/mylar-amd64/share/mylar/mylar/mylar/importer.py", line 446, in addComictoDB
shutil.copy(coverfile,comiclocal)
File "/usr/pbi/mylar-amd64/lib/python2.7/shutil.py", line 120, in copy
copymode(src, dst)
File "/usr/pbi/mylar-amd64/lib/python2.7/shutil.py", line 91, in copymode
os.chmod(dst, mode)
OSError: [Errno 1] Operation not permitted: '/Comics/Supreme Blue Rose (2014)/cover.jpg'
do you know what folder "/Comics/Supreme Blue Rose (2014)" it is referencing?
maybe you need to tell mylar the correct Comics folder to use?
 

CraftyClown

Member
Joined
Apr 5, 2014
Messages
214
Mylar has access to the folder. It created it in the correct place and threw that error at the same time
 

Joshua Parker Ruehlig

Wizened Sage
Joined
Dec 5, 2011
Messages
5,949
Mylar has access to the folder. It created it in the correct place and threw that error at the same time
OK, that's an application issue then. not a real permission issue.
 

CraftyClown

Member
Joined
Apr 5, 2014
Messages
214
Urghhh, that's doubly depressing then, as the attempts to fix it, have now resulted in my Windows user 'Richard' losing it's connection with my Freenas user 'Richard'

I now have account unknown where it used to be user Richard in my windows security settings (see attached screen grab)

EDIT:

Sorry, scratch that. There was some weirdness going on between Windows and my Freenas box I think. I changed everything back to how it was and my Windows share started working again. I then made all the changes again, one by one, waiting for the share to get messed up, but it never happened!

Suffice to say, apart from Mylar still not working, everything else is running like clockwork

Thanks again for the help. I've taken this back to Mylar's developer to see if he can shed any light on the matter
 

Attachments

Last edited:

CraftyClown

Member
Joined
Apr 5, 2014
Messages
214
Hi Josh,

I'm still having problems getting my setup working, so I'm going to try and be as clear as possible here to finally get this nut cracked



My setup:

1
. I have added a user Richard with a UID of 816 he belongs to a group called admin with a GID of 1001 (The only other user I have added is BTSync UID 817) (The only other group I have added is BTSync GID 817)

2. The user Richard is also a microsoft login account, allowing me to access my CIFS share with full permissions

3.
I have a dataset with recursive windows permissions 775. The owner and group of that dataset are Richard:admin

4.
I have a number of CIFS shares, linked to my dataset

5. I have 6 Plugins, all in separate jails, located on another dataset; BTSync, Couch Potato, Sickrage, Plex, Mylar, Headphones



My problems:

1. Mylar
is unable to modify or delete files in my dataset

2. when accessing my CIFS shares my windows user Richard now shows up as 'account unknown' followed by a long string of numbers, meaning I cannot modify any files files in the CIFS share, when logged in to my Windows client (This was working fine yesterday, before I started playing around with users and permissions)



Information from the shell command:

1. ps aux
(on the Mylar jail)
root@mylar_2:/ # ps aux
USER PID %CPU %MEM VSZ RSS TT STAT STARTED TIME COMMAND
root 10573 0.0 0.0 12092 1872 ?? SsJ 11:34AM 0:00.01 /usr/sbin/syslogd -s
root 10638 0.0 0.0 14188 1872 ?? IsJ 11:34AM 0:00.00 /usr/sbin/cron -s
root 10862 0.0 0.2 176552 43696 ?? IJ 11:34AM 0:02.79 /usr/pbi/mylar-amd64
media 98122 0.0 0.2 262584 48280 ?? SJ 11:56AM 0:04.92 /usr/pbi/mylar-amd64
root 28749 0.0 0.0 17572 3432 0 SsJ 12:42PM 0:00.01 /bin/csh
root 28758 0.0 0.0 16300 2140 0 R+J 12:42PM 0:00.00 ps aux

2. ls -l /path/to/mediafiles (on one of the media folders)
[root@freenas ~]# ls -l /mnt/TV/Media_3/Downloads/Torrent_watch_folder/Complete/Comics
total 1234580
-rwxrwxr-x+ 1 Richard admin 46967910 Mar 5 02:35 Crossed Badlands 73 (2015).cbr
drwxrwxr-x+ 2 Richard admin 7 Mar 5 12:01 Danger Club (2012)
-rwxrwxr-x+ 1 Richard admin 53619684 Mar 4 15:30 Danger Club 7 (2015).cbr
-rwxrwxr-x+ 1 Richard admin 43665367 Mar 4 18:59 God Is Dead 30 (2015).cbr
-rwxrwxr-x+ 1 Richard admin 43526696 Mar 4 15:30 Graveyard Shift 3 (2015).cbr
-rwxrwxr-x+ 1 Richard admin 53096036 Mar 4 14:59 Nameless 2 (2015).cbr
-rwxrwxr-x+ 1 Richard admin 60324636 Mar 4 17:00 Revival 28 (2015).cbr
-rwxrwxr-x+ 1 Richard admin 34548276 Mar 4 17:00 Saga 26 (2015).cbr
-rwxrwxr-x+ 1 Richard admin 83946761 Mar 4 15:30 Wytches 1 (2014).cbr
-rwxrwxr-x+ 1 Richard admin 76444040 Mar 4 15:30 Wytches 2 (2014).cbr
-rwxrwxr-x+ 1 Richard admin 78068853 Mar 4 15:30 Wytches 3 (2014).cbr
-rwxrwxr-x+ 1 Richard admin 57114507 Mar 4 15:30 Wytches 4 (2015).cbr


3. ls -l / | grep media (on one of the media folders)

[root@freenas /mnt/TV/Media_3/Downloads/Torrent_watch_folder/Complete/Comics]# l
s -l / | grep media
drwxr-xr-x 2 root wheel 2 Jan 31 03:24 media


4. ls -l / | grep media (on the Mylar jail)

root@mylar_2:/ # ls -l / | grep media
drwxrwxr-x+ 61 media SSHuser 62 Mar 5 01:12 Comics
drwxrwxr-x+ 3 media SSHuser 14 Mar 5 12:01 Downloads
drwxrwxr-x+ 2 media SSHuser 2 Mar 5 12:01 Torrents
drwxr-xr-x 2 root wheel 2 Jul 11 2014 media



So looking at the two ls -l results, I can see it looks like there is a user/permissions issue going on. I just don't know how best to fix it


If any of this isn't clear, I can provide screen grabs to show settings shell commands etc.

Is there any other information I can give you that might help to finally nail this?
 

Joshua Parker Ruehlig

Wizened Sage
Joined
Dec 5, 2011
Messages
5,949
I can help with problem number 1. The CIFS stuff (problem 2) is over my head.

The cause of problem 1 is that Mylar is running as user 'media' (UID 816), while your files are owned by Richard:admin, and are 775 permissions, so only Richard and admin group members can edit them.
Pick one of the solutions; you didn't implement any of them in this case.
 

CraftyClown

Member
Joined
Apr 5, 2014
Messages
214
Right, I misunderstood. I thought that only the UIDs needed to match, so I set Richard as UID 816 (clearly a mistake)

So hypothetically, If I change Richard's UID to 1234 and then add user Richard to the Mylar jail with the same 1234 UID, as well as setting the owner of the dataset to Richard that should work?

I can leave the group alone in that case? (currently admin GID 1001)
 

Joshua Parker Ruehlig

Wizened Sage
Joined
Dec 5, 2011
Messages
5,949
Right, I misunderstood. I thought that only the UIDs needed to match, so I set Richard as UID 816 (clearly a mistake)

So hypothetically, If I change Richard's UID to 1234 and then add user Richard to the Mylar jail with the same 1234 UID, as well as setting the owner of the dataset to Richard that should work?

I can leave the group alone in that case? (currently admin GID 1001)
Ahh, I didn't notice the UIDs matched. In that case Mylar shouldn't have any issues accessing files Richard can access. I think what you are trying to do should be working.

What specific files/folders can't be accessed from Mylar? Please show 'ls -l /path/to/folder', stop doing that 'grep media' I need to see everything.
 

Joshua Parker Ruehlig

Wizened Sage
Joined
Dec 5, 2011
Messages
5,949
Hi Josh,

I'm still having problems getting my setup working, so I'm going to try and be as clear as possible here to finally get this nut cracked



My setup:

1
. I have added a user Richard with a UID of 816 he belongs to a group called admin with a GID of 1001 (The only other user I have added is BTSync UID 817) (The only other group I have added is BTSync GID 817)

2. The user Richard is also a microsoft login account, allowing me to access my CIFS share with full permissions

3.
I have a dataset with recursive windows permissions 775. The owner and group of that dataset are Richard:admin

4.
I have a number of CIFS shares, linked to my dataset

5. I have 6 Plugins, all in separate jails, located on another dataset; BTSync, Couch Potato, Sickrage, Plex, Mylar, Headphones



My problems:

1. Mylar
is unable to modify or delete files in my dataset

2. when accessing my CIFS shares my windows user Richard now shows up as 'account unknown' followed by a long string of numbers, meaning I cannot modify any files files in the CIFS share, when logged in to my Windows client (This was working fine yesterday, before I started playing around with users and permissions)



Information from the shell command:

1. ps aux
(on the Mylar jail)
root@mylar_2:/ # ps aux
USER PID %CPU %MEM VSZ RSS TT STAT STARTED TIME COMMAND
root 10573 0.0 0.0 12092 1872 ?? SsJ 11:34AM 0:00.01 /usr/sbin/syslogd -s
root 10638 0.0 0.0 14188 1872 ?? IsJ 11:34AM 0:00.00 /usr/sbin/cron -s
root 10862 0.0 0.2 176552 43696 ?? IJ 11:34AM 0:02.79 /usr/pbi/mylar-amd64
media 98122 0.0 0.2 262584 48280 ?? SJ 11:56AM 0:04.92 /usr/pbi/mylar-amd64
root 28749 0.0 0.0 17572 3432 0 SsJ 12:42PM 0:00.01 /bin/csh
root 28758 0.0 0.0 16300 2140 0 R+J 12:42PM 0:00.00 ps aux

2. ls -l /path/to/mediafiles (on one of the media folders)
[root@freenas ~]# ls -l /mnt/TV/Media_3/Downloads/Torrent_watch_folder/Complete/Comics
total 1234580
-rwxrwxr-x+ 1 Richard admin 46967910 Mar 5 02:35 Crossed Badlands 73 (2015).cbr
drwxrwxr-x+ 2 Richard admin 7 Mar 5 12:01 Danger Club (2012)
-rwxrwxr-x+ 1 Richard admin 53619684 Mar 4 15:30 Danger Club 7 (2015).cbr
-rwxrwxr-x+ 1 Richard admin 43665367 Mar 4 18:59 God Is Dead 30 (2015).cbr
-rwxrwxr-x+ 1 Richard admin 43526696 Mar 4 15:30 Graveyard Shift 3 (2015).cbr
-rwxrwxr-x+ 1 Richard admin 53096036 Mar 4 14:59 Nameless 2 (2015).cbr
-rwxrwxr-x+ 1 Richard admin 60324636 Mar 4 17:00 Revival 28 (2015).cbr
-rwxrwxr-x+ 1 Richard admin 34548276 Mar 4 17:00 Saga 26 (2015).cbr
-rwxrwxr-x+ 1 Richard admin 83946761 Mar 4 15:30 Wytches 1 (2014).cbr
-rwxrwxr-x+ 1 Richard admin 76444040 Mar 4 15:30 Wytches 2 (2014).cbr
-rwxrwxr-x+ 1 Richard admin 78068853 Mar 4 15:30 Wytches 3 (2014).cbr
-rwxrwxr-x+ 1 Richard admin 57114507 Mar 4 15:30 Wytches 4 (2015).cbr


3. ls -l / | grep media (on one of the media folders)

[root@freenas /mnt/TV/Media_3/Downloads/Torrent_watch_folder/Complete/Comics]# l
s -l / | grep media
drwxr-xr-x 2 root wheel 2 Jan 31 03:24 media


4. ls -l / | grep media (on the Mylar jail)

root@mylar_2:/ # ls -l / | grep media
drwxrwxr-x+ 61 media SSHuser 62 Mar 5 01:12 Comics
drwxrwxr-x+ 3 media SSHuser 14 Mar 5 12:01 Downloads
drwxrwxr-x+ 2 media SSHuser 2 Mar 5 12:01 Torrents
drwxr-xr-x 2 root wheel 2 Jul 11 2014 media



So looking at the two ls -l results, I can see it looks like there is a user/permissions issue going on. I just don't know how best to fix it


If any of this isn't clear, I can provide screen grabs to show settings shell commands etc.

Is there any other information I can give you that might help to finally nail this?
What are your mountpoints into the Mylar jail?
 

Joshua Parker Ruehlig

Wizened Sage
Joined
Dec 5, 2011
Messages
5,949
/mnt/TV/Media_3/Comics
/mnt/TV/Media_3/Downloads/Torrent_watch_folder/Watch/Comics
/mnt/TV/Media_3/Downloads/Torrent_watch_folder/Complete/Comics
Where are those mounted to in the jail?

Also please answer this
What specific files/folders can't be accessed from Mylar? Please show 'ls -l /path/to/folder', stop doing that 'grep media' I need to see everything.
 

CraftyClown

Member
Joined
Apr 5, 2014
Messages
214
What specific files/folders can't be accessed from Mylar? Please show 'ls -l /path/to/folder', stop doing that 'grep media' I need to see everything.
ls -l can only read up to the surface folders as the all have years in parenthesis in the folder titles (This is the way Mylar spits them out)

It's files within these folders that Mylar is struggling with, but I don't know how to show you those

drwxrwxr-x+ 2 Richard admin 3 Mar 5 01:00 Supreme Blue Rose (2014)
drwxrwxr-x+ 2 Richard admin 31 Mar 4 10:21 Temp
drwxrwxr-x+ 2 Richard admin 17 Mar 3 10:21 The Bounce (2013)
drwxrwxr-x+ 2 Richard admin 9 Mar 3 10:22 The Cleaners (2008)
drwxrwxr-x+ 2 Richard admin 6 Mar 3 10:23 The Dying & the Dead (2015)
drwxrwxr-x+ 2 Richard admin 6 Mar 3 10:24 The Empty (2015)
drwxrwxr-x+ 2 Richard admin 9 Mar 3 10:21 The Fade Out (2014)
drwxrwxr-x+ 2 Richard admin 21 Mar 3 10:31 The Maxx Maxximized (2013)
drwxrwxr-x+ 2 Richard admin 145 Mar 3 10:26 The Walking Dead (2003)
drwxrwxr-x+ 2 Richard admin 13 Mar 3 10:32 The Wicked + The Divine (2014)
drwxrwxr-x+ 2 Richard admin 8 Mar 3 10:21 Theyre Not Like Us (2014)
drwxrwxr-x+ 2 Richard admin 31 Mar 3 10:23 Thief of Thieves (2012)
drwxrwxr-x+ 2 Richard admin 13 Mar 3 10:22 Trees (2014)
drwxrwxr-x+ 2 Richard admin 14 Mar 3 10:32 Velvet (2013)
drwxrwxr-x+ 2 Richard admin 9 Mar 4 15:57 Wytches (2014)
drwxrwxr-x+ 2 Richard admin 19 Mar 3 10:27 Zero (2013)
[root@freenas /mnt/TV/Media_3/Comics]# ls -l Zero (2013)
bash: syntax error near unexpected token `('


That said, it is also failing to properly move files from download directory. It copies them but fails to delete them after

[root@freenas /mnt/TV/Media_3/Downloads]# ls -l
total 49
drwxrwxr-x+ 5 Richard admin 7 Mar 5 01:11 Torrent_watch_folder
 

CraftyClown

Member
Joined
Apr 5, 2014
Messages
214
Where are those mounted to in the jail?
Sorry Josh, I don't fully understand the question. Do you mean the destination?

/Comics
/Torrents
/Downloads

EDIT:

Sorry, you meant this I think:

/mnt/Movies_and_Music/pluginjails/mylar_2/Downloads
/mnt/Movies_and_Music/pluginjails/mylar_2/Torrents
/mnt/Movies_and_Music/pluginjails/mylar_2/Comics
 
Last edited:

Joshua Parker Ruehlig

Wizened Sage
Joined
Dec 5, 2011
Messages
5,949
OK, I see where they are mounted. thanks.

can you try these commands from the Mylar jail
Code:
ls -l "/Comics/Zero (2013)"
ls -l "/Downloads"
 

CraftyClown

Member
Joined
Apr 5, 2014
Messages
214
root@mylar_2:/ # ls -l "media/Comics/Zero (2013)"
total 595449
-rwxrwxr-x+ 1 media wheel 24576 Mar 3 10:20 Thumbs.db
-rwxrwxr-x+ 1 media wheel 55207193 Jan 5 01:24 Zero 1 (2013).cbr
-rwxrwxr-x+ 1 media wheel 26568438 Jan 5 01:24 Zero 10 (2014).cbr
-rwxrwxr-x+ 1 media wheel 41369022 Jan 5 01:24 Zero 11 (2014).cbr
-rwxrwxr-x+ 1 media wheel 43804913 Jan 5 01:18 Zero 12 (2014).cbr
-rwxrwxr-x+ 1 media wheel 41459911 Jan 5 01:17 Zero 13 (2014).cbr
-rwxrwxr-x+ 1 media wheel 26420697 Jan 28 15:22 Zero 14 (2015).cbr
-rwxrwxr-x+ 1 media wheel 61144845 Jan 5 01:24 Zero 2 (2013).cbr
-rwxrwxr-x+ 1 media wheel 51056512 Jan 5 01:24 Zero 3 (2013).cbr
-rwxrwxr-x+ 1 media wheel 72286828 Jan 5 01:24 Zero 4 (2013).cbr
-rwxrwxr-x+ 1 media wheel 29047503 Jan 5 01:24 Zero 5 (2014).cbr
-rwxrwxr-x+ 1 media wheel 61838252 Jan 5 01:24 Zero 6 (2014).cbr
-rwxrwxr-x+ 1 media wheel 28576220 Jan 5 01:24 Zero 7 (2014).cbr
-rwxrwxr-x+ 1 media wheel 44435080 Jan 5 01:24 Zero 8 (2014).cbr
-rwxrwxr-x+ 1 media wheel 25614413 Jan 5 01:24 Zero 9 (2014).cbr
-rwxrwxr-x+ 1 media wheel 117203 Mar 3 10:48 cover.jpg
-rwxrwxr-x+ 1 media wheel 41 Mar 3 10:48 cvinfo




root@mylar_2:/ # ls -l "media/Downloads"
total 617290
-rwxrwxr-x+ 1 media wheel 46967910 Mar 5 02:35 Crossed Badlands 73 (2015).cbr
drwxrwxr-x+ 2 media wheel 7 Mar 5 20:53 Danger Club (2012)
-rwxrwxr-x+ 1 media wheel 53619684 Mar 4 15:30 Danger Club 7 (2015).cbr
-rwxrwxr-x+ 1 media wheel 43665367 Mar 4 18:59 God Is Dead 30 (2015).cbr
-rwxrwxr-x+ 1 media wheel 43526696 Mar 4 15:30 Graveyard Shift 3 (2015).cbr
-rwxrwxr-x+ 1 media wheel 53096036 Mar 4 14:59 Nameless 2 (2015).cbr
-rwxrwxr-x+ 1 media wheel 60324636 Mar 4 17:00 Revival 28 (2015).cbr
-rwxrwxr-x+ 1 media wheel 34548276 Mar 4 17:00 Saga 26 (2015).cbr
-rwxrwxr-x+ 1 media wheel 83946761 Mar 4 15:30 Wytches 1 (2014).cbr
-rwxrwxr-x+ 1 media wheel 76444040 Mar 4 15:30 Wytches 2 (2014).cbr
-rwxrwxr-x+ 1 media wheel 78068853 Mar 4 15:30 Wytches 3 (2014).cbr
-rwxrwxr-x+ 1 media wheel 57114507 Mar 4 15:30 Wytches 4 (2015).cbr


Before you ask, I changed the group on my dataset to 'wheel', as my CIFS share wasn't working at all with the 'admin' group I added

The owner of the dataset is actually 'Richard'. Is it saying 'media' because they share the same UID of 816?

ps. So you use speech marks in shell to deal with things like brackets and spaces etc. That's been confusing me for ages ;)
 

Joshua Parker Ruehlig

Wizened Sage
Joined
Dec 5, 2011
Messages
5,949
root@mylar_2:/ # ls -l "media/Comics/Zero (2013)"
total 595449
-rwxrwxr-x+ 1 media wheel 24576 Mar 3 10:20 Thumbs.db
-rwxrwxr-x+ 1 media wheel 55207193 Jan 5 01:24 Zero 1 (2013).cbr
-rwxrwxr-x+ 1 media wheel 26568438 Jan 5 01:24 Zero 10 (2014).cbr
-rwxrwxr-x+ 1 media wheel 41369022 Jan 5 01:24 Zero 11 (2014).cbr
-rwxrwxr-x+ 1 media wheel 43804913 Jan 5 01:18 Zero 12 (2014).cbr
-rwxrwxr-x+ 1 media wheel 41459911 Jan 5 01:17 Zero 13 (2014).cbr
-rwxrwxr-x+ 1 media wheel 26420697 Jan 28 15:22 Zero 14 (2015).cbr
-rwxrwxr-x+ 1 media wheel 61144845 Jan 5 01:24 Zero 2 (2013).cbr
-rwxrwxr-x+ 1 media wheel 51056512 Jan 5 01:24 Zero 3 (2013).cbr
-rwxrwxr-x+ 1 media wheel 72286828 Jan 5 01:24 Zero 4 (2013).cbr
-rwxrwxr-x+ 1 media wheel 29047503 Jan 5 01:24 Zero 5 (2014).cbr
-rwxrwxr-x+ 1 media wheel 61838252 Jan 5 01:24 Zero 6 (2014).cbr
-rwxrwxr-x+ 1 media wheel 28576220 Jan 5 01:24 Zero 7 (2014).cbr
-rwxrwxr-x+ 1 media wheel 44435080 Jan 5 01:24 Zero 8 (2014).cbr
-rwxrwxr-x+ 1 media wheel 25614413 Jan 5 01:24 Zero 9 (2014).cbr
-rwxrwxr-x+ 1 media wheel 117203 Mar 3 10:48 cover.jpg
-rwxrwxr-x+ 1 media wheel 41 Mar 3 10:48 cvinfo




root@mylar_2:/ # ls -l "media/Downloads"
total 617290
-rwxrwxr-x+ 1 media wheel 46967910 Mar 5 02:35 Crossed Badlands 73 (2015).cbr
drwxrwxr-x+ 2 media wheel 7 Mar 5 20:53 Danger Club (2012)
-rwxrwxr-x+ 1 media wheel 53619684 Mar 4 15:30 Danger Club 7 (2015).cbr
-rwxrwxr-x+ 1 media wheel 43665367 Mar 4 18:59 God Is Dead 30 (2015).cbr
-rwxrwxr-x+ 1 media wheel 43526696 Mar 4 15:30 Graveyard Shift 3 (2015).cbr
-rwxrwxr-x+ 1 media wheel 53096036 Mar 4 14:59 Nameless 2 (2015).cbr
-rwxrwxr-x+ 1 media wheel 60324636 Mar 4 17:00 Revival 28 (2015).cbr
-rwxrwxr-x+ 1 media wheel 34548276 Mar 4 17:00 Saga 26 (2015).cbr
-rwxrwxr-x+ 1 media wheel 83946761 Mar 4 15:30 Wytches 1 (2014).cbr
-rwxrwxr-x+ 1 media wheel 76444040 Mar 4 15:30 Wytches 2 (2014).cbr
-rwxrwxr-x+ 1 media wheel 78068853 Mar 4 15:30 Wytches 3 (2014).cbr
-rwxrwxr-x+ 1 media wheel 57114507 Mar 4 15:30 Wytches 4 (2015).cbr


Before you ask, I changed the group on my dataset to 'wheel', as my CIFS share wasn't working at all with the 'admin' group I added

The owner of the dataset is actually 'Richard'. Is it saying 'media' because they share the same UID of 816?

ps. So you use speech marks in shell to deal with things like brackets and spaces etc. That's been confusing me for ages ;)
OK, those files look editable from the media user in the jail, and therefore Mylar. Unix permissions aren't your issue. not sure what is =\

the OP, facts section explains that the jail and host map users to UIDs independently.

yup either quotes or you could put a \ in front of any special characters like a space
 

CraftyClown

Member
Joined
Apr 5, 2014
Messages
214
On a slightly different note, I am midway through installing Mylar again, just to work from a clean base and see if I still have the same problems

I was just trying to change over to the development build, following some instructions you gave me a couple of weeks ago and I'm having some problems with installing git

The following 14 packages will be affected (of 0 checked):

New packages to be INSTALLED:
git: 2.1.0
p5-Authen-SASL: 2.16
p5-GSSAPI: 0.28
p5-Digest-HMAC: 1.03
p5-Net-SMTP-SSL: 1.01_2
p5-IO-Socket-SSL: 1.997_2
p5-Mozilla-CA: 20130114
p5-Net-SSLeay: 1.65
p5-Socket: 2.015
p5-IO-Socket-IP: 0.31
p5-Error: 0.17022
curl: 7.37.1_2
cvsps: 2.1_1
p5-MIME-Base64: 3.14

The process will require 22 MB more space.
5 MB to be downloaded.

Proceed with this action? [y/N]: y
pkg: http://pkg.FreeBSD.org/freebsd:9:x86:64/latest/All/git-2.1.0.txz: Not Found


Is this an issue with the hosting do you think?
 

Joshua Parker Ruehlig

Wizened Sage
Joined
Dec 5, 2011
Messages
5,949
On a slightly different note, I am midway through installing Mylar again, just to work from a clean base and see if I still have the same problems

I was just trying to change over to the development build, following some instructions you gave me a couple of weeks ago and I'm having some problems with installing git

The following 14 packages will be affected (of 0 checked):

New packages to be INSTALLED:
git: 2.1.0
p5-Authen-SASL: 2.16
p5-GSSAPI: 0.28
p5-Digest-HMAC: 1.03
p5-Net-SMTP-SSL: 1.01_2
p5-IO-Socket-SSL: 1.997_2
p5-Mozilla-CA: 20130114
p5-Net-SSLeay: 1.65
p5-Socket: 2.015
p5-IO-Socket-IP: 0.31
p5-Error: 0.17022
curl: 7.37.1_2
cvsps: 2.1_1
p5-MIME-Base64: 3.14

The process will require 22 MB more space.
5 MB to be downloaded.

Proceed with this action? [y/N]: y
pkg: http://pkg.FreeBSD.org/freebsd:9:x86:64/latest/All/git-2.1.0.txz: Not Found


Is this an issue with the hosting do you think?
this might fix it for you
rm /usr/local/etc/pkg.conf
 

Joshua Parker Ruehlig

Wizened Sage
Joined
Dec 5, 2011
Messages
5,949
Where do I run that line from? I get an error if I run it from the jail
I think the jail, that basically deletes an old repo config. guess that's not your issue, and maybe their pkg server is down?
 
Status
Not open for further replies.
Top