• File Libs...

    From Bucko@21:4/131 to All on Saturday, September 17, 2022 12:11:32
    Moving over my Windows Mystic to Linux Debian, I feel like such a moron over this.. I use a shared folder on my nas for my file libraries, I have mounted the folder in /media/ I can access the folder with no issues, I edit the file library to access that folder for the files, when I try to download, it aborts like it can't find the files.. Anyone else doing something like this that can share some tidbits? I won't lie this is the first time I am pushing the envelope with Debian, I can do pretty much anything with it, but moving Mystic over is proving to be not so simple..

    If you have any ideas, I am all ears..

    AL

    ... A social life? Where can I download that!?

    --- Mystic BBS v1.12 A48 2022/07/15 (Windows/32)
    * Origin: The Wrong Number Family Of BBS' - Wrong Number ][ (21:4/131)
  • From Charles Blackburn@21:1/221 to Bucko on Saturday, September 17, 2022 13:24:15
    Re: File Libs...
    By: Bucko to All on Sat Sep 17 2022 12:11:32

    Moving over my Windows Mystic to Linux Debian, I feel like such a moron over this.. I use a shared folder on my nas for my
    file libraries, I have mounted the folder in /media/ I can access the folder with no issues, I edit the file library to
    access that folder for the files, when I try to download, it aborts like it can't find the files.. Anyone else doing
    something like this that can share some tidbits? I won't lie this is the first time I am pushing the envelope with Debian, I
    can do pretty much anything with it, but moving Mystic over is proving to be not so simple..

    can you write to the directory as the sbbs user?

    sounds like a permissions issue. how are you mounting it? are you using SMB or NFS?

    I run mine with all the file base and message base on my nas and i'm using an NFS share

    regards
    Charles Blackburn
    SYSOP - The F.B.O BBS 21:1/221
    Aviation related fun @ bbs.thefbo.us IPV4 and IPV6
    DOVE-Net FSX-Net USENET
    Coming soon: FIDO-Net
    --- SBBSecho 3.15-Linux
    * Origin: The FBO BBS - bbs.thefbo.us (21:1/221)
  • From Bucko@21:4/131 to Charles Blackburn on Saturday, September 17, 2022 19:19:17
    On 17 Sep 2022, Charles Blackburn said the following...


    can you write to the directory as the sbbs user?

    sounds like a permissions issue. how are you mounting it? are you using SMB or NFS?

    I run mine with all the file base and message base on my nas and i'm
    using an NFS share


    Definitely permissions, I can't write to the directory, I can open up a new directory on the mystic drive and I can upload and download. So Ijust have to figure out getting the permissions set properly..

    I am mounting via fstab on bootup, I an access the drives from within Debian with no issues, I can copy and delete etc. Just not via Mystic yet.. I have set the share so I have full access via my user on that, I am wondering if I should add a user called mystic and give that user permissions.. As you can see I am not fully proficient with linux, I get around in it.. Thanks for the help...
    AL

    ... The reason Santa is so jolly is because he knows where the bad girls live

    --- Mystic BBS v1.12 A48 2022/07/15 (Windows/32)
    * Origin: The Wrong Number Family Of BBS' - Wrong Number ][ (21:4/131)
  • From Bucko@21:4/131 to Charles Blackburn on Saturday, September 17, 2022 20:09:25
    On 17 Sep 2022, Charles Blackburn said the following...

    can you write to the directory as the sbbs user?

    sounds like a permissions issue. how are you mounting it? are you using SMB or NFS?

    Got it!! It was all permissions, I figured out the permissions and now it is good to go.. Jeez...

    Thanks again for the help...

    Al

    ... Radioactive cats have 18 half-lives

    --- Mystic BBS v1.12 A48 2022/07/15 (Windows/32)
    * Origin: The Wrong Number Family Of BBS' - Wrong Number ][ (21:4/131)
  • From Charles Blackburn@21:1/221 to Bucko on Saturday, September 17, 2022 21:30:41
    Re: Re: File Libs...
    By: Bucko to Charles Blackburn on Sat Sep 17 2022 19:19:17

    I am mounting via fstab on bootup, I an access the drives from within Debian with no issues, I can copy and delete etc. Just
    not via Mystic yet.. I have set the share so I have full access via my user on that, I am wondering if I should add a user
    called mystic and give that user permissions.. As you can see I am not fully proficient with linux, I get around in it..

    ok so by the sounds of it you're mounting an SMB share from the nas. you need to make sure you're fstab options include rw,user
    also there's options to set it so that it mounts it as a specific user as well...

    what OS is sharing the directory? is it a samba share or a windows share?

    also make sure you're mounting it as CIFS not SMB

    for example, my one VM that mounts a windows share is like this

    mount -t cifs -o credentials=/root/.creds,uid=1000,gid=1000,file_mode=0644 //192.168.0.XX/grandchild /mnt

    for more information read here:

    https://wiki.samba.org/index.php/Mounting_samba_shares_from_a_unix_client

    anything else, reach out i'll help where i can

    regards
    Charles Blackburn
    SYSOP - The F.B.O BBS 21:1/221
    Aviation related fun @ bbs.thefbo.us IPV4 and IPV6
    DOVE-Net FSX-Net USENET
    Coming soon: FIDO-Net
    --- SBBSecho 3.15-Linux
    * Origin: The FBO BBS - bbs.thefbo.us (21:1/221)
  • From Bucko@21:4/131 to Charles Blackburn on Saturday, September 17, 2022 23:27:36
    On 17 Sep 2022, Charles Blackburn said the following...

    ok so by the sounds of it you're mounting an SMB share from the nas. you need to make sure you're fstab options include rw,user
    also there's options to set it so that it mounts it as a specific user as well...

    what OS is sharing the directory? is it a samba share or a windows share?

    also make sure you're mounting it as CIFS not SMB

    for example, my one VM that mounts a windows share is like this

    mount -t cifs -o
    credentials=/root/.creds,uid=1000,gid=1000,file_mode=0644 //192.168.0.XX/grandchild /mnt

    Thanks for the help Charles, what I ended up doing is using the noperm switch, I know it is not the right way to go, because it opens it up to anyone, but my BBS's and this particular NAS (Xpenology setup) are on their own seperate VLAN which can't access the computers on my regular network. It is set up sort of like a IoT network.. Thanks again for the help.

    Al

    ... No one knows what's next, but everybody does it.

    --- Mystic BBS v1.12 A48 2022/07/15 (Windows/32)
    * Origin: The Wrong Number Family Of BBS' - Wrong Number ][ (21:4/131)
  • From esc@21:4/173 to Bucko on Sunday, September 18, 2022 00:09:30
    Definitely permissions, I can't write to the directory, I can open up a new directory on the mystic drive and I can upload and download. So
    Ijust have to figure out getting the permissions set properly..

    Sometimes having user mounts on something like NFS or NAS or some other media is weird, but I think you're on the right track. I was down this road once before and it proved to be enough of a pain in the ass I just grew my on-machine storage instead of dealing with it :P

    --- Mystic BBS v1.12 A48 2022/07/11 (Linux/64)
    * Origin: m O N T E R E Y b B S . c O M (21:4/173)
  • From Bucko@21:4/131 to esc on Sunday, September 18, 2022 07:50:35
    On 18 Sep 2022, esc said the following...

    Sometimes having user mounts on something like NFS or NAS or some other media is weird, but I think you're on the right track. I was down this road once before and it proved to be enough of a pain in the ass I just grew my on-machine storage instead of dealing with it :P

    Thanks bud, appreciate it. This is something that I have been wanting to do for quite a while.. Just finally started tackling it now, it's pretty easy just time consuming changing over the directory calls from windows to linux. I am glad though that my base is set now, so all I have to do is take about 2 hours copy the main mystic directory from my windows VM to the new Linux set up and go in and edit all of the directory calls in my file bases. Once I have my board running well, I will move my Mystic InterBBS file server over then the Matrix menu for ALL of my BBS' over also.. Once I got past the permissions issues, and the little things, it should all be cake..

    Thanks again..
    AL

    ... "No comment" is a comment.

    --- Mystic BBS v1.12 A48 2022/07/15 (Windows/32)
    * Origin: The Wrong Number Family Of BBS' - Wrong Number ][ (21:4/131)