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
  [SOLVEDMusic Players missing justme 2 106 31-Jan-2025, 01:07 PM
Last Post: justme
  Cannot install upmpdcli Raspberry Pi5 carlodim 3 140 19-Jan-2025, 12:48 PM
Last Post: Snoopy8
  Fail to install myMPD sjtuross 9 903 03-Mar-2024, 08:45 PM
Last Post: hkphantomgtr
  Install not working Pi2Design Mercury V2 Snoopy8 1 564 01-Aug-2023, 10:03 AM
Last Post: agent_kith
  [SOLVEDAdapting Snakeoil for general media streaming patricia1066 9 1,985 22-Jul-2023, 07:35 AM
Last Post: agent_kith



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't get Roon bridge or UPNP renderer t...
Last Post: agent_kith
Yesterday 04:38 PM
» Replies: 9
» Views: 224
Progress update on High End U1
Last Post: agent_kith
Yesterday 10:43 AM
» Replies: 8
» Views: 518
Snakeoil OS 1.4 problem with Squeezelite...
Last Post: mloutfie
14-Feb-2025 07:00 AM
» Replies: 14
» Views: 613
Snakeoil 1.4.0 (High End)
Last Post: hkphantomgtr
11-Feb-2025 09:07 AM
» Replies: 60
» Views: 3671
fw: a letter to request Album Player(gen...
Last Post: clark8888
08-Feb-2025 03:44 PM
» Replies: 3
» Views: 520
SQ difference - Raspberry Pi vs x86_64?
Last Post: Snoopy8
06-Feb-2025 08:46 AM
» Replies: 13
» Views: 665
Using Ubuntu low latency & real time ker...
Last Post: agent_kith
05-Feb-2025 02:19 PM
» Replies: 9
» Views: 355
Music Players missing
Last Post: justme
31-Jan-2025 01:07 PM
» Replies: 2
» Views: 106
My Snakeoil-powered system
Last Post: petemac110
29-Jan-2025 03:46 AM
» Replies: 4
» Views: 490
Question about RAM Disk
Last Post: agent_kith
28-Jan-2025 10:01 AM
» Replies: 6
» Views: 169

[-]
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-2025. Theme © Melroy van den Berg.