×

INDI Library v2.0.6 is Released (02 Feb 2024)

Bi-monthly release with minor bug fixes and improvements

After Latest Update - KStars Launch Issue

  • Posts: 1957
  • Thank you received: 420
On Linux, the umask variable determines how the file permissions are set. In general, directories get mode 755 or 775 and files get 644 or 664, depending on the value of umask. On files, the executable bit only gets set (i.e. a file only gets mode 755 or 775) if the file is, well, an executable. So, from the Linux point of view, the file permissions are set correctly.

Having said that, 776 seems a bit on an odd mode to set. It will allow all users to read and write but only the owner and users in the group to execute. Can you explain why you need to have your normal, non-executable, pictures to have exactly that mode?
3 years 10 months ago #53687

Please Log in or Create an account to join the conversation.

  • Posts: 309
  • Thank you received: 40

You are exactly right... yeah I could have used and am changing it to 666. I'm lazy and sometimes go to 777, just cause I never have to think of it again.
3 years 10 months ago #53692

Please Log in or Create an account to join the conversation.

  • Posts: 309
  • Thank you received: 40
Odd... 666 didn't allow me to move my images to my PC.
so back to 776, which does. Sometimes I get things to work and leave it at that... showing my laziness.

sudo chmod -R 776 /home/stellarmate/Pictures/*
3 years 10 months ago #53742

Please Log in or Create an account to join the conversation.

  • Posts: 1957
  • Thank you received: 420
I am not sure if you explained already but how do you transfer the files exactly?
3 years 10 months ago #53782

Please Log in or Create an account to join the conversation.

  • Posts: 309
  • Thank you received: 40

I created a shortcut to my Pi: \\192.168.0.XXX\Pictures (XXX being whatever my router gives me, normally the same number)
Then I just open the link and on my PC and drag them over.
3 years 10 months ago #53792

Please Log in or Create an account to join the conversation.

  • Posts: 1957
  • Thank you received: 420
That sounds like a Samba solution. Samba is the implementation of Windows file sharing on Linux. You may want to try to set the file permissions option in the /etc/samba/smb.conf file and see if that helps.
3 years 10 months ago #53793

Please Log in or Create an account to join the conversation.

  • Posts: 309
  • Thank you received: 40
I'll look at that... but in the meantime, my quick little shortcut works fine. I'm only letting those who might not know what can be done.

Hot dig-ity... that's it. I was even able to add my other directories (MyScripts and Templates).
I see the file permissions there too.

Thanks wvreeven!!!

Another Edit:

Hmmm, the image files are still being created with: rw-r--r--
I think I have everything set right... /etc/samba/smb.conf

[Pictures]
path = /home/stellarmate/Pictures
browsable =yes
writable = yes
guest ok = yes
read only = no

create mask = 776
force create mode = 776
security mask = 776
force security mode = 776

directory mask = 776
force directory mode = 776
directory security mask = 776
force directory security mode = 776
#force user= nobody
Last edit: 3 years 10 months ago by David Tate.
3 years 10 months ago #53817

Please Log in or Create an account to join the conversation.

  • Posts: 1957
  • Thank you received: 420
That part look OK indeed. How is the user authentication configured?
3 years 10 months ago #53829

Please Log in or Create an account to join the conversation.

  • Posts: 309
  • Thank you received: 40

Oh dang, I should have copied the whole file. I've since brought the rig in because of possible rain. I might hook it up in the house later to experiment with.
3 years 10 months ago #53840

Please Log in or Create an account to join the conversation.

  • Posts: 910
  • Thank you received: 86
Tonight - same issue.
After checking for an update (SM 1.5.2) via SM Dashboard (indicated there were some updates), checked with Package Updater - there were some updates but those didn't look important to me so I didn't update.
Rebooted - Kstars, PHD2, SM Web Manager disappeared from the system.
Puzzling.
(Had a backup card so I am fine).

-- Max S
ZWO AM5. RST-135. AZ-GTI. HEQ5. iOptron SkyTracker.
TPO RC6. FRA400. Rokinon 135 and other lenses.
ZWO ASI2600MC. D5500 modified with UVIR clip-in filter.
ZWO ASI120MM Mini x 2. ZWO 30F4 guider. Orion 50mm guider.
ZWO EAF x 2.
3 years 10 months ago #54581

Please Log in or Create an account to join the conversation.

  • Posts: 309
  • Thank you received: 40
So all you did was to check for an update?

I think I noticed that checking is all that is needed to get the latest. It kinda just does it. I'll remember to make sure I have a backup first (I do).
3 years 10 months ago #54641

Please Log in or Create an account to join the conversation.

  • Posts: 910
  • Thank you received: 86
Yes. Only checked.
I guess, if you check with the Dashboard and there are updates they do get installed.
-- Max S
ZWO AM5. RST-135. AZ-GTI. HEQ5. iOptron SkyTracker.
TPO RC6. FRA400. Rokinon 135 and other lenses.
ZWO ASI2600MC. D5500 modified with UVIR clip-in filter.
ZWO ASI120MM Mini x 2. ZWO 30F4 guider. Orion 50mm guider.
ZWO EAF x 2.
3 years 10 months ago #54645

Please Log in or Create an account to join the conversation.

Time to create page: 0.233 seconds