• 0 Posts
  • 6 Comments
Joined 3 years ago
cake
Cake day: August 16th, 2023

help-circle

  • You can configure samba to handle the permissions, but immich will need to connect to the user’s share using their password (no ideal)

    In smb.conf for each user’s share

    [user_media]
       path = /path/to/user/media
       valid users = username, immich
       force user = username  # This makes all files.  appear as owned by the user
       force group = media
       create mask = 0660
       directory mask = 0770
    

    Alternatively you can use setguid with your media group:

    chmod g+s /path/to/media/dirs
    chown -R :media /path/to/media/dirs
    chmod 2770 /path/to/media/dirs. (2 = SetGID, 770 = rwx for user and group)
    
    • Any new file created by Immich will automatically belong to the media group
    • The SetGID bit ensures files inherit the parent directory’s group
    • All users (including Immich) can read/write files as long as they’re in the media group
    • Individual users still “own” their files (UID stays as the original user when they upload via Samba)




  • You have to price your labor at the value of the service. The cost of the laptop is irrelevant, as is the fact that you haven’t charged in the past.

    Your rate is reasonable for a one off business software migration to a new machine. I’d invoice for 2.5-3 hours since the labor most likely involved a lot of research and trial and error, with the idea that you will do more support for them in the future.

    If there are no fix-it shops in your area, you could ask for a testimonial and use it as cred for doing more support. Don’t lower your hourly rate, instead be more realistic with the total hours. You are going to get better with experience, charge the hours now so your customers have the right expectations.