I dont have write permissions on /media/music after install
#1
Ubuntu 22.04 minimal, SO 1.2.11, HP T520 thinclient, Minimserver basic, SSH from Debian laptop (penguin)

​​​​​​I installed SO with minimal Ubuntu 22.04 desktop. I followed the wiki but was unable to install from /home so I installed to /home/patricia which has led to this problem. [Download the latest new install snakeoil (currently 1.2.6.sh) and paste into the root of the “home” folder]

See Image 2 for what this looks like from the Debian file manager connect to server SFTP.


When I access patricia@localhost by ssh in terminal, [ls] Desktop, Documents etc rather than the media folder. I use a Linux Debian laptop to manage the HP t520 thin client on which SO is installed. When I used Ubuntu server edition this did not occur and it isn't a problem for others who have used the desktop version. 

How can I set it up so I am in the right folder when i ssh and get write permission so I can change tags?

I have a permissions issue when I try to save the installer to any other folder. Its necessary to sort it out so I can use a tagger via sshfs or SSH.

Once I was exploring minimserver I noticed how my tagging isn't good enough to see all my music, as minim won't apply the same rules as LMS in identifying by file name. 

[email protected] is the SO thin client, patricia@penguin is my debian laptop

Image 1 is the home folder (no permission to copy to); Image 2 explores my user folder /home/patricia, where I can copy to; Image 3 is the root where /media/music resides (no permission to copy to)
Image 4 shows ccurrent file permission for music folder

The code snippet shows terminal sshfs is denied access to :/media/music but has access to :/home/patricia/Downloads

[Image: SO-installer3.png]

[Image: SO-installer2.png]

[Image: SO-installer.png]
 
[Image: image-4.png]
Code:
patricia@penguin:~$ sshfs [email protected]:/media/music/flac ~/mnt
[email protected]'s password:
[email protected]:/media/music/flac: No such file or directory
patricia@penguin:~$ sshfs [email protected]:/Downloads ~/mnt
[email protected]'s password:
[email protected]:/Downloads: No such file or directory
patricia@penguin:~$ sshfs [email protected]:/home/patricia/Downloads ~/mnt
[email protected]'s password:
patricia@penguin:~$ ls ~/mnt
songkong  songkong-linux-headless.tgz
patricia@penguin:~$
Reply

#2
Having defined my problem I tried to change permissions recursively, sudo chmod 760 -R /media/music/Flac

Now I have lost access to the Flac folder 

How do I recover it?

LMS is working although /media/music is not accessible. The files are not damaged, I can access them by sftp.
Minimserver has gone from the frontend SO webadmin, I uninstalled and reinstalled it and it failed with this error
Server not available: localhost:9790 +:status=2
Stopping MinimServer process 1551

I will leave it alone until I get advice. I have been testing tagging with songkong and easytag which has all failed to update tags.
Reply

#3
When I had some music on the SO instance (usually on NAS), I used
sudo chmod 777 -R /media/music/Flac
Yes, the lazy way, but when I tried to restrict it, came across issues that you have encountered.
[-] The following 2 users Like Snoopy8's post:
  • hkphantomgtr, patricia1066
Reply

#4
777 is the lucky number! I have my 4484 songs back!
[-] The following 2 users Like patricia1066's post:
  • Snoopy8, hkphantomgtr
Reply

#5
(11-Jun-2023, 04:42 PM)patricia1066 Wrote: ​​​​​​I installed SO with minimal Ubuntu 22.04 desktop. I followed the wiki but was unable to install from /home so I installed to /home/patricia which has led to this problem. [Download the latest new install snakeoil (currently 1.2.6.sh) and paste into the root of the “home” folder]
Hope you have everything sorted? Smile When people like me say "Home Directory", we usually mean /home/<user_name>, and in your case it will be /home/patricia. And that's where you have the right permissions. Reading your post, it made me realise people will take that as the /home directory.

Honestly it never occurred to me until you raise this matter in this thread. I don't think I have found the exact location for home directory, but I will clarify this better in the wiki.

It's this disconnect between IT people and general public that I find interesting. And it is this curiosity that inspires me to come up with the Snakeoil project. Granted I havn't spent as much time as I like on this project this days, but I always like to bridge that gap and make computers in general more assessible to the general public.
Snakeoil Operating System - Music, your way!
Reply

#6
Reminds me of the joke- There are only 10 types of people in the world: those who understand binary and those who don't.
1
Reply



Bookmarks

Possibly Related Threads…
Thread Author Replies Views Last Post
  Fail to install myMPD sjtuross 9 244 03-Mar-2024, 08:45 PM
Last Post: hkphantomgtr
  Install not working Pi2Design Mercury V2 Snoopy8 1 325 01-Aug-2023, 10:03 AM
Last Post: agent_kith
  [SOLVEDAdapting Snakeoil for general media streaming patricia1066 9 1,144 22-Jul-2023, 07:35 AM
Last Post: agent_kith
  Problem to install Upmdpcli on Raspberry Pi 4 kees1000 6 1,131 16-Jul-2023, 06:54 PM
Last Post: agent_kith
  [split] Cannot install Roon Bridge kees1000 3 868 27-May-2023, 07:27 PM
Last Post: pikachullk



Users browsing this thread:
1 Guest(s)

[-]
Our Sponsors

[-]
Welcome
You have to register before you can post on our site.

Username/Email:


Password:





[-]
Latest Threads
Can snakeoil os be installed on Ubuntu 2...
Last Post: clark8888
Today 11:07 AM
» Replies: 0
» Views: 5
Something seriously wrong with Squeezeli...
Last Post: Coacharnold
21-Apr-2024 08:28 PM
» Replies: 1
» Views: 30
MP3 Not Playing
Last Post: davem
21-Apr-2024 10:41 AM
» Replies: 4
» Views: 90
Announcing Snakeoil Measurements 1.3.0
Last Post: kees1000
13-Apr-2024 11:54 PM
» Replies: 95
» Views: 4898
LMS rebranded to Lyrion Media Server
Last Post: Bromf
07-Apr-2024 01:59 PM
» Replies: 4
» Views: 109
ZimaBoard 2x NIC, 2x SATA, 2x USB, 1x PC...
Last Post: agent_kith
26-Mar-2024 12:04 PM
» Replies: 13
» Views: 705
LMS Upgrade ?
Last Post: uglymusic
15-Mar-2024 09:14 PM
» Replies: 7
» Views: 203
Squeezebox shutdown
Last Post: TripleX
13-Mar-2024 07:34 AM
» Replies: 4
» Views: 102
Fail to install myMPD
Last Post: hkphantomgtr
03-Mar-2024 08:45 PM
» Replies: 9
» Views: 244
Intel HFI Driver Can "Save Tons Of CPU C...
Last Post: hkphantomgtr
28-Feb-2024 09:15 PM
» Replies: 0
» Views: 67

[-]
SnakeoilOS Mission Statement

Our mission is to create a free to use computer OS that is easy to install, intuitive to operate and play music that will connect and engage with you emotionally.

SnakeoilOS gives you the freedom to spend more time on listening, enjoying and exploring music. Wasting time on computers is now a thing of the past! Everything is constantly evolving/improving. Please check back often for updates.

If you like this project, do show your support with a small token donation. All donations collected will be used to run this website, and for purchasing new equipment for the project.


Powered By MyBB, © 2002-2024. Theme © Melroy van den Berg.