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 611 03-Mar-2024, 08:45 PM
Last Post: hkphantomgtr
  Install not working Pi2Design Mercury V2 Snoopy8 1 500 01-Aug-2023, 10:03 AM
Last Post: agent_kith
  [SOLVEDAdapting Snakeoil for general media streaming patricia1066 9 1,738 22-Jul-2023, 07:35 AM
Last Post: agent_kith
  Problem to install Upmdpcli on Raspberry Pi 4 kees1000 6 1,683 16-Jul-2023, 06:54 PM
Last Post: agent_kith
  [split] Cannot install Roon Bridge kees1000 3 1,385 27-May-2023, 07:27 PM
Last Post: pikachullk



Users browsing this thread:
3 Guest(s)

[-]
Our Sponsors

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

Username/Email:


Password:





[-]
Latest Threads
Howto setup resampling in Logitech Media...
Last Post: Coacharnold
18-Nov-2024 12:06 AM
» Replies: 7
» Views: 5800
Dropping Measurements, Hello High-End.
Last Post: agent_kith
26-Oct-2024 09:02 AM
» Replies: 12
» Views: 445
Very happy to have Sankeoil......! mpd w...
Last Post: run51
24-Oct-2024 05:35 AM
» Replies: 9
» Views: 1678
SO no soundcard detected - RPI Pi4 snake...
Last Post: run51
21-Oct-2024 10:55 PM
» Replies: 4
» Views: 105
download
Last Post: Snoopy8
19-Oct-2024 05:52 AM
» Replies: 1
» Views: 105
Full proces to instal snakeiol 100% work...
Last Post: audioluthier
11-Oct-2024 02:32 AM
» Replies: 9
» Views: 336
A network protocol designed for CAS
Last Post: hkphantomgtr
10-Oct-2024 09:48 PM
» Replies: 0
» Views: 85
CAS with "Single Core"
Last Post: hkphantomgtr
06-Oct-2024 08:32 AM
» Replies: 2
» Views: 116
MPD player not working
Last Post: Snoopy8
27-Sep-2024 11:54 AM
» Replies: 7
» Views: 218
LMS playing DFF files sampling rate
Last Post: Snoopy8
16-Sep-2024 07:45 PM
» Replies: 5
» Views: 155

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