Go to advanced search

by Thoughtfission
Thu Mar 21, 2019 3:07 pm
Forum: Beginners
Topic: Sharing an existing folder using Samba
Replies: 27
Views: 2195

Re: Sharing an existing folder using Samba

Hmm, you have this: drwxr-x---+ 5 root root 4096 Mar 21 10:42 pi This means that only root can read, write and enter the 'pi' directory, members of the root group can read and enter the 'pi' directory, 'others' are denied any access, but this isn't the full picture. If you examine the permissions, ...
by Thoughtfission
Thu Mar 21, 2019 10:49 am
Forum: Beginners
Topic: Sharing an existing folder using Samba
Replies: 27
Views: 2195

Re: Sharing an existing folder using Samba

Is the share actually mounted Yes. How is it being mounted ? Was mounted automatically when I plugged into the USB port. Did you make Z1 a Samba user with 'smbpasswd -a Z1' (you would have to run this with root or sudo) Yes. What are the permissions on /media and /media/pi ? drwxr-xr-x 3 root root 4...
by Thoughtfission
Tue Mar 19, 2019 3:18 pm
Forum: Beginners
Topic: Sharing an existing folder using Samba
Replies: 27
Views: 2195

Re: Sharing an existing folder using Samba

Hi Hortimech, Thanks for your answers. The permission thing, rwx and groups/users, I was ok with. Probably one of the few things I remember from my UNIX days. But what I can't understand is why I get message telling me I don't have access to the server when I try to connect the share, Z1_Disk, to my...
by Thoughtfission
Tue Mar 19, 2019 10:16 am
Forum: Beginners
Topic: Sharing an existing folder using Samba
Replies: 27
Views: 2195

Re: Sharing an existing folder using Samba

Hi, Sorry for the delay in responding. Yesterday was crazy busy. Here are the answers to your questions (hopefully): what do these commands output: ls -lad /home/shares/public drwxrwxr-x 2 root users 4096 Mar 11 13:45 /home/shares/public ls -lad /home/pi/Desktop/share drwxr-xr-x 2 pi pi 4096 Mar 11 ...
by Thoughtfission
Sun Mar 17, 2019 5:11 pm
Forum: Beginners
Topic: Sharing an existing folder using Samba
Replies: 27
Views: 2195

Re: Sharing an existing folder using Samba

create mask = 0755

directory mask = 0755

valid users = %S
by Thoughtfission
Sun Mar 17, 2019 5:05 pm
Forum: Beginners
Topic: Sharing an existing folder using Samba
Replies: 27
Views: 2195

Re: Sharing an existing folder using Samba

[homes]
comment = Home Directories
browseable = no
read only = no
by Thoughtfission
Sun Mar 17, 2019 5:03 pm
Forum: Beginners
Topic: Sharing an existing folder using Samba
Replies: 27
Views: 2195

Re: Sharing an existing folder using Samba

[global] unix password sync = yes usershare allow guests = yes writeable = yes pam password change = yes dns proxy = no passwd program = /usr/bin/passwd %u server role = standalone server syslog = 0 workgroup = WORKGROUP panic action = /usr/share/samba/panic-action %d security = user encrypt passwor...
by Thoughtfission
Sun Mar 17, 2019 2:54 pm
Forum: Beginners
Topic: Sharing an existing folder using Samba
Replies: 27
Views: 2195

Re: Sharing an existing folder using Samba

Hi Hortimech, Thanks for taking the time to do this. Why have you got a user.map ? It is only really useful on a domain member. No idea, I didn’t add this. Will delete. [share] path = /home/pi/Desktop/share valid users = pi read only = no guest ok = yes The 'guest ok = yes' is superfluous, only the ...
by Thoughtfission
Sat Mar 16, 2019 9:57 pm
Forum: Beginners
Topic: Sharing an existing folder using Samba
Replies: 27
Views: 2195

Re: Sharing an existing folder using Samba

Great, thank you. I've changed the names of the users to Z1 and Z3 and the corresponding share and disk names for privacy. [global] encrypt passwords = yes username map = /etc/samba/user.map syslog = 0 map to guest = bad user max log size = 1000 workgroup = WORKGROUP writeable = yes usershare allow ...
by Thoughtfission
Fri Mar 15, 2019 5:58 pm
Forum: Beginners
Topic: Sharing an existing folder using Samba
Replies: 27
Views: 2195

Re: Sharing an existing folder using Samba

Hi Hortimech. Thanks, now I understand.

Did you happen to see my post above? I still can't access the share as anyone other than "pi"
by Thoughtfission
Fri Mar 15, 2019 4:34 pm
Forum: Beginners
Topic: Sharing an existing folder using Samba
Replies: 27
Views: 2195

Re: Sharing an existing folder using Samba

Jamesh and Hortimech, I have no idea what you guys are talking about? :?
by Thoughtfission
Fri Mar 15, 2019 3:29 pm
Forum: Beginners
Topic: Sharing an existing folder using Samba
Replies: 27
Views: 2195

Re: Sharing an existing folder using Samba

Thanks for your replies, they were very helpful. I am almost there. I have the shares mounted at /media/pi/USBDiskName. There is one final issue. When I try to connect to the share from my mac (Connect to server then smb://xxx.xxx.xxx.xxx) I can connect with no problem as pi. But when I connect as t...
by Thoughtfission
Wed Mar 13, 2019 3:16 pm
Forum: Beginners
Topic: Sharing an existing folder using Samba
Replies: 27
Views: 2195

Sharing an existing folder using Samba

Hello fellow Pi folk, I was wondering if an Uber Noob could get some help here? I recently purchased a 3b+ to act as a family file server. I am a unix admin from decades ago and have pretty much forgotten everything when it comes to any variant of Unix. I was able to install Stretch, Samba and Webmi...

Go to advanced search