Try sshfs, please. My best advice. Regards, Rainer
------------------------------------------------------------------------ Gesendet mit der Telekom Mail App <https://urldefense.proofpoint.com/v2/url?u=https-3A__kommunikationsdienste.t-2Donline.de_redirects_email-5Fapp-5Fandroid-5Fsendmail-5Ffooter&d=DwIFaQ&c=gRgGjJ3BkIsb5y6s49QqsA&r=gd8BzeSQcySVxr0gDWSEbN-P-pgDXkdyCtaMqdCgPPdW1cyL5RIpaIYrCn8C5x2A&m=0b7Db4zzTl3eWwkldIgV1C1qxgRnkaF4JJLRM_XYzDM&s=GdbupBNbCvT0jov11EZoS3qxv56nLyGFG9rUOdJm8d8&e= > --- Original-Nachricht --- Von: Ekkard Gerlach Betreff: Re: mount -t cifs ... -o username=... file_mode=0777 ignored Datum: 17. August 2021, 20:19 An: SCIENTIFIC-LINUX-USERS@fnal.gov Am 17.08.21 um 15:14 schrieb Mark Stodola: > On 8/17/21 7:38 AM, Ekkard Gerlach wrote: >> Hi, >> >> options gid=users,file_mode=0777,dir_mode=0777 are ignored in SL 6.10: >> >> root@arthur <mailto:root@arthur> :/home/pc41# /bin/mount -t cifs // <https://urldefense.proofpoint.com/v2/url?u=http-3A__10.0.0.41_public&d=DwIFaQ&c=gRgGjJ3BkIsb5y6s49QqsA&r=gd8BzeSQcySVxr0gDWSEbN-P-pgDXkdyCtaMqdCgPPdW1cyL5RIpaIYrCn8C5x2A&m=0b7Db4zzTl3eWwkldIgV1C1qxgRnkaF4JJLRM_XYzDM&s=yx06dGejaE7TzgATsVyK5TznC9tBpogGUZg46s51-Qs&e= > >> /home/pc41/usb-stick -o >> username=xxx,password=xxx,gid=users,file_mode=0777,dir_mode=0777 >> root@arthur <mailto:root@arthur> :/home/pc41# ls usb-stick/ -l >> insgesamt 0 >> drwxr-xr-x 3 root users 0 17. Aug 13:39 DCIM >> >> You see: "root users" and users can't write, mode 777 is ignored. >> With old Suse-server worked for 5 years. >> >> tia >> >> Ekkard > > gid, file_mode, dir_mode are all "fallback" values if they are not > provided by the CIFS server. So if your server has the CIFS unix > extensions, those permissions are honored and the *_mode options are > not applied. CIFS-Server makes same permissions: [public] path = /media/usb0 public = yes writable = yes comment = smb share printable = no #force user = root guest ok = yes read only = no #guest only = yes create mask = 0666 directory mask = 0777 with or without force user=root, =pc41, ... always the same. The medium is a vfat microSD card of a DCIM camera. > > If you haven't, I would read the man > page<https://urldefense.proofpoint.com/v2/url?u=http-3A__mount.cifs-288&d=DwIFaQ&c=gRgGjJ3BkIsb5y6s49QqsA&r=gd8BzeSQcySVxr0gDWSEbN-P-pgDXkdyCtaMqdCgPPdW1cyL5RIpaIYrCn8C5x2A&m=0b7Db4zzTl3eWwkldIgV1C1qxgRnkaF4JJLRM_XYzDM&s=QMe0WZF-9NsUBNFOD7YXjuz5VLWBUEFXsO-YZ-L6oiA&e= > > ) and the > section "File and directory ownership and permissions." > before I read cryptic manpages and try to understand I change to windows completely. Maybe SL software is even buggy, then I've lost much time. tia Ekkard > --