DLNA directory change

jeffdattilo
Posts: 15
Joined: Tue Sep 29, 2015 8:06 am

DLNA directory change

Postby jeffdattilo » Mon Oct 05, 2015 6:19 pm

When I attempt to go to the .conf file for miniDLNA to change the directory file, I get that I do not have permission. Any ideas?

User avatar
bigfoot65
Project Manager
Posts: 11924
Joined: Mon May 25, 2009 4:31 pm

Re: DLNA directory change

Postby bigfoot65 » Mon Oct 05, 2015 6:29 pm

The DLNA wiki guidance might help.

You may need elevated privileges such as root or use sudo.

If you need further assistance, please see need more information. In order for us to help you, we'd appreciate if you'd help us understand your issues.
ßîgƒσστ65
Applications Manager

My HDA: Intel(R) Core(TM) i5-3570K CPU @ 3.40GHz on MSI board, 16GB RAM, 1TBx1+2TBx2+4TBx2

jeffdattilo
Posts: 15
Joined: Tue Sep 29, 2015 8:06 am

Re: DLNA directory change

Postby jeffdattilo » Wed Oct 07, 2015 6:24 pm

http://ur1.ca/nydlt -> http://paste.fedoraproject.org/276160/44267332

please let me know what i can do...or whatever info i need. I described everything it said...

Using username "root".
root@192.168.1.143's password:
Last login: Wed Oct 7 21:15:55 2015 from office-pc.jeffdattilo02.net
[root@localhost ~]# /etc/minidlna.conf
-bash: /etc/minidlna.conf: Permission denied
[root@localhost ~]# systemctl restart minidlna.service
[root@localhost ~]# fpaste --sysinfo
Gathering system info...........................Uploading (15.6KiB)...
http://ur1.ca/nydlt -> http://paste.fedoraproject.org/276160/44267332
[root@localhost ~]# ^C
[root@localhost ~]# http://ur1.ca/nydlt -> http://paste.fedoraproject.org/276160/44267332
Attachments
permission denied.JPG
permission denied.JPG (53.43 KiB) Viewed 3021 times

User avatar
bigfoot65
Project Manager
Posts: 11924
Joined: Mon May 25, 2009 4:31 pm

Re: DLNA directory change

Postby bigfoot65 » Wed Oct 07, 2015 6:38 pm

You have to edit the file /etc/minidlna.conf. This can be done using nano or vi editors.

Code: Select all

vi /etc/minidlna.conf
If you don't have nano installed, do the following as root user:

Code: Select all

yum install nano
There is guidance on the internet on how to use these editors. I will add that to the wiki so there is no confusion in the future.
ßîgƒσστ65
Applications Manager

My HDA: Intel(R) Core(TM) i5-3570K CPU @ 3.40GHz on MSI board, 16GB RAM, 1TBx1+2TBx2+4TBx2

jeffdattilo
Posts: 15
Joined: Tue Sep 29, 2015 8:06 am

Re: DLNA directory change

Postby jeffdattilo » Thu Oct 08, 2015 2:39 pm

it worked so far, but how to I end the editing session? I made all my edits but not sure what command to type to complete the editing.

User avatar
bigfoot65
Project Manager
Posts: 11924
Joined: Mon May 25, 2009 4:31 pm

Re: DLNA directory change

Postby bigfoot65 » Thu Oct 08, 2015 3:02 pm

Depends on which editor you used.

The commands are available on the internet.
ßîgƒσστ65
Applications Manager

My HDA: Intel(R) Core(TM) i5-3570K CPU @ 3.40GHz on MSI board, 16GB RAM, 1TBx1+2TBx2+4TBx2

jeffdattilo
Posts: 15
Joined: Tue Sep 29, 2015 8:06 am

Re: DLNA directory change

Postby jeffdattilo » Thu Oct 08, 2015 3:29 pm

d
Last edited by jeffdattilo on Thu Oct 08, 2015 4:10 pm, edited 1 time in total.

jeffdattilo
Posts: 15
Joined: Tue Sep 29, 2015 8:06 am

Re: DLNA directory change

Postby jeffdattilo » Thu Oct 08, 2015 3:34 pm

I am using nano...

jeffdattilo
Posts: 15
Joined: Tue Sep 29, 2015 8:06 am

Re: DLNA directory change

Postby jeffdattilo » Thu Oct 08, 2015 4:52 pm

I reviewed the commands and I am still not able to just save changes. I do hit the command ctl + o to save and it still doesn't save. I have been researching for a few hours and all I want to do is make these changes. Is there any advice out there? When I hit ctl + o it seems like it changes, but all the happens is an "<INSERT> shows up at the bottom. Then when I hit ctl+ o it just changes <INSERT> to lowercase.

It also says this now when I go to edit it. I type in the command to edit it or delete it and it doesn't delete

Attachments
screenshot.JPG
screenshot.JPG (70.2 KiB) Viewed 3012 times

jeffdattilo
Posts: 15
Joined: Tue Sep 29, 2015 8:06 am

Re: DLNA directory change

Postby jeffdattilo » Thu Oct 08, 2015 4:59 pm

here is the screenshot with the insert...

Attachments
screenshot 2.JPG
screenshot 2.JPG (100.78 KiB) Viewed 3012 times

Who is online

Users browsing this forum: No registered users and 71 guests