Re: Samba broken pipe -

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 





On 7/26/19 9:17 PM, Ed Greshko wrote:
On 7/27/19 7:59 AM, Bob Goodwin wrote:

On 7/26/19 7:34 PM, Ed Greshko wrote:
On 7/27/19 3:44 AM, Bob Goodwin wrote:
It still works when mounted from root except now it comes up read-only and the users
can't save files to it.
What is read only?

Output of "mount | grep sd"

.

Server
root@box48 ~]# mount | grep sd
/dev/sda3 on / type ext4 (rw,relatime,seclabel,data=ordered)
nfsd on /proc/fs/nfsd type nfsd (rw,relatime)
/dev/sdb1 on /home type ext4 (rw,relatime,seclabel,data=ordered)
/dev/sda1 on /boot type ext4 (rw,relatime,seclabel,stripe=4,data=ordered)

Client
[bobg@bobg ~]$ mount | grep sd
cgroup2 on /sys/fs/cgroup/unified type cgroup2
(rw,nosuid,nodev,noexec,relatime,seclabel,nsdelegate)
/dev/sdb4 on / type ext4 (rw,relatime,seclabel)
/dev/sdb2 on /boot type ext4 (rw,relatime,seclabel)
/dev/sdb1 on /boot/efi type vfat
(rw,relatime,fmask=0077,dmask=0077,codepage=437,iocharset=ascii,shortname=winnt,errors=remount-ro)
gvfsd-fuse on /run/user/1000/gvfs type fuse.gvfsd-fuse
(rw,nosuid,nodev,relatime,user_id=1000,group_id=1000)

I can't save anything from the client to the server unless I sftp to the server, but
that has been a problem for a long time. Until recently the iPhones, etc were always
able to create directories and save files. Something I haven't been able to do by saving
to /mnt/box48/ However I rarely need to do that so I live with sftp.

The real problem now is the server is not accesile from the iPhones/iPads and I am
getting complaints ... (from family members)


I take it from this by "read-only" you mean you can read the samba share from the Linux
side but you can't write. And this has been the case since "forever".  Yes?
.
Correct. /etc/fstab does: //192.168.2.8/smbBOX48 /mnt/box48/    cifs        defaults,password=smbpassword   0 0

but I still have to mount manually after boot: # mount //192.168.2.8/smbBOX48/  /mnt/box48/ and enter the smb password. After which I can view directories in /mnt/box48/ with the Thunar file manager and view files with VLC, whatever. Also I am unablt to access "box48 with an iPad.



Also, iPhones had no issue until recently.  Yes?
.
Yes, until the other day when she created a new directory from an iPhone and was unable to save a group of photos to it, it seems that after that she could not save anything or create another directory, as I understand the problem. However I was ablr=t to load put a .mov clip in the directory from my Fedora30 using sftp.

Now miraculously, it appears that the Samba server is accessible from her iPhone and allowing to save some files.

Well, sounds more like a samba configuration issue than anything.  Have you looked at the
samba logs at all?
I am not aware of a Samba log, where do I find it?

[root@bobg Desktop]# ll /var/log/samba/
total 4
drwx------. 2 root root 4096 Jun 20 15:42 old

And it is empty:
[root@bobg Desktop]# ll /var/log/samba/old
total 0

I have been working on this all day and so far the above is what I have found.

It seems that when a directory is created from the iPhone it is being created read only. /am trying changing permissions and willsee if that affects that problem, probably not itsounds like an smb config problem butI thought I have it all set right? More to do ...

Thanks for the help,

Bob
/-

Bob Goodwin - Zuni, Virginia, USA
http://www.qrz.com/db/W2BOD
box83  FEDORA-30/64bit LINUX XFCE Fastmail POP3
_______________________________________________
users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/users@xxxxxxxxxxxxxxxxxxxxxxx



[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux