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
  [SOLVEDnew install issues jpphun 7 190 19-Apr-2025, 01:08 PM
Last Post: Snoopy8
  [SOLVEDMusic Players missing justme 2 242 31-Jan-2025, 01:07 PM
Last Post: justme
  Cannot install upmpdcli Raspberry Pi5 carlodim 3 256 19-Jan-2025, 12:48 PM
Last Post: Snoopy8
  Fail to install myMPD sjtuross 9 1,097 03-Mar-2024, 08:45 PM
Last Post: hkphantomgtr
  Install not working Pi2Design Mercury V2 Snoopy8 1 643 01-Aug-2023, 10:03 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
Snakeoil 1.4.3 (High End U3)
Last Post: hkphantomgtr
Today 09:12 PM
» Replies: 39
» Views: 1335
Normal/Inverted Phase Playback
Last Post: hkphantomgtr
Today 02:53 PM
» Replies: 12
» Views: 3598
CamillaDSP for Room Correction
Last Post: Snoopy8
Today 01:53 PM
» Replies: 33
» Views: 10013
Work In Progress: 1.4.4
Last Post: agent_kith
23-Apr-2025 11:35 AM
» Replies: 13
» Views: 274
Wiki update - need your help!
Last Post: Snoopy8
22-Apr-2025 02:23 PM
» Replies: 7
» Views: 181
No audio devices on RPi5 with latests bu...
Last Post: miksi
21-Apr-2025 12:52 AM
» Replies: 16
» Views: 444
new install issues
Last Post: Snoopy8
19-Apr-2025 01:08 PM
» Replies: 7
» Views: 190
Connecting Spotify to SnakeOil
Last Post: Snoopy8
16-Apr-2025 01:55 PM
» Replies: 10
» Views: 268
Misc. sharing for building Raspberry Pi ...
Last Post: hkphantomgtr
13-Apr-2025 12:47 PM
» Replies: 2
» Views: 116
[split] Snakeoil 1.4.3 (High End U3)
Last Post: agent_kith
09-Apr-2025 03:45 PM
» Replies: 1
» Views: 79

[-]
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.