View unanswered posts    View active topics

All times are UTC - 6 hours





Post new topic Reply to topic  [ 7 posts ] 
Print view Previous topic   Next topic  
Author Message
Search for:
PostPosted: Sat Mar 10, 2007 1:40 pm 
Offline
Joined: Sat Jan 27, 2007 4:18 pm
Posts: 3
## Figured out the solution, and the solution is WebMin. Should be step 2 for any new Myth install!!!!



Read the wiki, and quite a few posts on this forum...

Everything mounts. Can access my mythbox fine from Ubuntu, however no permissions whatsoever to do anything other than look at folders/files. (Want to be able to push down mp3s, videos, pics etc.) Tried using su and sudo to push commands at mount, no joy. (i.e. after mount 192.168.x.x etc. etc.)

Mythbox etc/exports file is
/myth *(rw)

Also, have matched the mythbox mythtv uid/gid with account on my ubuntu system. Still nothing. (After noticing my mythbox uid/gid was matched with ubuntu's dhcp/syslog.) chown'd the /myth folder structure to reflect new uid/gid, still nothing!

What am I missing/forgetting? Want to use NFS but might have to resort to FTP!! Help!


Top
 Profile  
 
 Post subject:
PostPosted: Fri Apr 13, 2007 9:14 pm 
Offline
Joined: Tue Apr 11, 2006 7:44 am
Posts: 287
Location: Los Angeles, CA
So what did you do in WebMin? I've been trying to get NFS write access to /home/mythtv, but I only get read access. I feel like I have tried every setting WebMin, to no avail.

So, what's the secret?

_________________
Tim

LinHES 8.4
HDHR3
BioStar A770, AMD X2 4050e, 2GB RAM
GigaByte GeForce 8400, Chaintech AV710
USB-UIRT


Top
 Profile  
 
 Post subject:
PostPosted: Sat Apr 28, 2007 12:14 am 
Offline
Joined: Sat Jan 27, 2007 4:18 pm
Posts: 3
It came down to changing the uid / gid on the myth box... I just redid the mythtv box, so finding I have to remember this all again...


Top
 Profile  
 
 Post subject:
PostPosted: Sat Apr 28, 2007 6:49 am 
Offline
Joined: Tue Aug 08, 2006 7:08 pm
Posts: 561
Location: UK
It might be worthwhile documenting any changes/additions you make, so if you need to reinstall for any reason, it makes that process a bit easier.

Bruce S.

_________________
Updated 2019/10/26: AthlonII X2 265 Gigabyte GA-970A-DS3P
16Gb PC 1866 DDR3, 500GB+2TB+4TB SATA HDD,
SATA DVD-RW Asus DRW-24D5MT , NVIDIA GeForce GT1080
Hauppauage Nova-T 500, Nova-T LinHes R8.6.1


Top
 Profile  
 
 Post subject:
PostPosted: Thu Jan 22, 2009 10:57 pm 
Offline
Joined: Sat Feb 03, 2007 12:52 am
Posts: 187
Location: Manitoba, Canada
Can someone expand on this?

I set up a SBE on my ubuntu desktop. I was hopeing to use NFS to save recordings from the SBE onto the MBE. I can read but I can't write. I'm pretty sure it comes down to UID/GID's.

MBE UID GID
mythtv 100 102
netdev --- 1001

SBE
mythtv 1001 1001
dhcp 101 102
libuuid 100 101

I tried moving things around so I could use 100:102 on my ubuntu box but ended up making it unable to connect to the network at all. (NFS doesn't work well that way)
Is there any order to those numbers, should I move things one way or another? What's the proper procedure? Any advice would be welcome.


Top
 Profile  
 
 Post subject:
PostPosted: Thu Jan 22, 2009 11:24 pm 
Offline
Joined: Thu Sep 27, 2007 5:44 pm
Posts: 580
I have a frontend that's Debian Etch. When I setup NFS initially I would mount the /myth directory onto Debian and the permissions always showed it belonged to "Debian-exim" which never made any sense. Come to find out, "Debian-exim" was the same uid on my Debian machine as "mythtv" was on my mythbox.

I had to change the uid of Debian-exim in order to free up the uid I needed for mythtv. Did you try changing the uid of libuuid before you changed mythtv on your SBE? I assume that the NFS shares show that all of the files are owned by libuuid:dhcp?


Top
 Profile  
 
 Post subject:
PostPosted: Fri Jan 23, 2009 7:42 pm 
Offline
Joined: Sat Feb 03, 2007 12:52 am
Posts: 187
Location: Manitoba, Canada
Yes the files showed up as being owned my libuuid:dhcp. I had tried moving the dhcp group to 99 as well as moving the libuuid user to 99. I choose 99 cause it was the closest number available to both items. I'm not sure if the numbering means anything as far as permissions, so I tried to keep them close to original. I noticed that root is 0 on both and regular users are higher so though it might have some bearing. I tried it twice, once with usermod/groupmod and once editing /etc/group and /etc/passwd following a couple posts on the net. I also ran
Code:
find / -user <old UID> -exec chown <new UID> {} \;
and
Code:
find / -user <UID or username> -exec chgrp <new GID> {} \;
to change UID/GID of existing files. Looking to try again, but wondering if I just 'fat fingered' it or if I'm missing something. Thanks.


Top
 Profile  
 

Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 7 posts ] 


All times are UTC - 6 hours




Who is online

Users browsing this forum: No registered users and 23 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Group

Theme Created By ceyhansuyu