search for: file_mod

Displaying 20 results from an estimated 106 matches for "file_mod".

Did you mean: file_mode
2004 Oct 14
1
[PATCH] smbfs: smbfs do not honor uid, gid, file_mode and dir_mode supplied by user mount
Hi, This patch fixes "Samba Bugzilla Bug 999". The last version (2.6.8.1) of smbfs kernel module do not honor uid, gid, file_mode and dir_mode supplied by user during mount. This bug is also logged as "Kernel Bug Tracker Bug 3330". I think this stuff is related to the "unix extensions". This patch offers to the client side the opportunity to decide to use or not those extensions. To fully work, som...
2011 Oct 18
1
file_mode and dir_mode options ignored
Hi there. I'm using samba3x-3.5.4-0.83.el5_7.2 on CentOS release 5.7 x86_64 to mount a Terastation filesystem. The "file_mode" and "dir_mode" options to mount.cifs seem to be ignored; I systematically get a "drwxrwxrwx" permission, no matter what values I provide for these options: # mount.cifs //terastation/Backup /bkp/BackupPC/ -o credentials=/etc/samba/terastation.cred, uid=backuppc,gid=backu...
2006 Oct 30
0
File Store permissions
...essential. Thanks, Quinn diff -puN ext-orig/store.h ext/store.h --- ext-orig/store.h 2006-09-23 22:11:22.000000000 -0600 +++ ext/store.h 2006-10-21 14:36:50.000000000 -0600 @@ -176,6 +176,8 @@ struct Store CompoundStore *cmpd; /* for compound_store only */ } dir; + mode_t file_mode; + HashSet *locks; /** diff -puN ext-orig/fs_store.c ext/fs_store.c --- ext-orig/fs_store.c 2006-09-23 22:11:22.000000000 -0600 +++ ext/fs_store.c 2006-10-21 15:06:47.000000000 -0600 @@ -51,7 +51,7 @@ static void fs_touch(Store *store, char int f; char path[MAX_FILE_PATH]...
2024 Jan 30
1
permission denied with windows acls
...I can interact with them. If I run 'mount', I find these lines: adminuser at testdm12:~$ mount ................. //devstation.samdom.example.com/data on /mnt/test type cifs (rw,relatime,vers=3.1.1,sec=krb5,cruid=0,cache=strict,multiuser,uid=0,noforceuid,gid=0,noforcegid,addr=192.168.1.141,file_mode=0755,dir_mode=0755,soft,nounix,serverino,mapposix,noperm,rsize=4194304,wsize=4194304,bsize=1048576,echo_interval=60,actimeo=1,closetimeo=1) //devstation.samdom.example.com/Mtest1 on /mnt/testmount1 type cifs (rw,relatime,vers=3.1.1,sec=krb5,cruid=0,cache=strict,multiuser,uid=0,noforceuid,gid=0,nof...
2006 Jul 01
3
cifs mounts in smbfstab
Hello, I have the following in /etc/samba/smbfstab; //msserver/share /mnt/smb-share cifs file_mode=0777,dir_mode=0777,credentials=/etc/cifsusers/admin,rw However, when using 'mount /mnt/smb_dir' I get; mount: can't find /mnt/smb_dir in /etc/fstab or /etc/mtab Using 'mount -a' doesn't mount either. If I use "smbmount /mnt/smb_dir" I get; Could not resolve m...
2008 Jul 17
4
Samba permissions problem
...trying all the options to set files group writable, however when I create a file from the client I'm always getting the mode 0644. Does anyone have a clue why? Thanks! client: //database.pricetrak.com/spendtrak /home/spendtrak cifs username=webserver,password=twonkerlet,uid=apache,file_mode=0660,dir_mode=0770 0 0 server: [spendtrak] comment = Spendtrak Files path = /home/spendtrak browseable = no writable = yes printable = no valid users = +spendtrak force group = spendtrak create mode = 0660 create mask = 066...
2018 Jun 15
2
Slow write performance CIFS mount
...formance with cp command or any write with CIFS mount (Netapp Storage), <15mb/s. Read performance is similar Local disk perofrmance is correct >100mb/s fstab entry is : //netapp/resource$/folder /mnt/test cifs username=u,password=p,domain=dom,iocharset=utf8,uid=1001,gid=1000,dir_mode=0700,file_mode=0700,auto Server is SLES 12 SP3 with latest updates and samba samba-client-32bit-4.6.13+git.72.2a684235f41-3.21.3.x86_64 cifs-utils-6.5-9.3.2.x86_64 Any suggestion? Thanks
2019 Oct 25
1
net ads join -- strange message
...llow="nosuid,nodev,loop,encryption,fsck" /> <mntoptions require="nosuid,nodev" /> <lsof>/usr/bin/lsof %(MNTPT) </lsof> <cifsmount> /sbin/mount.cifs //%(SERVER)/%(VOLUME) %(MNTPT) -o "user=%(USER),domain=SAMBADOM,uid=%(USER),gid=%(USERGID),cifsacl,file_mode=0700,dir_mode=0700" </cifsmount> <umount>/bin/umount %(MNTPT) </umount> <volume options="username=%(DOMAIN_USER),workgroup=%(DOMAIN_NAME),uid=%(DOMAIN_USER),fmask=700,file_mode=0700,dir_mode=0700" mountpoint="/etudiants/%(USER)" path="%(DOMAIN_...
2020 Apr 23
2
CIFS VFS: in dmesg when Linux accesses eComStation's (OS/2) FAT filesystem shares
...is not recommended unless required for access to very old servers CIFS VFS: Send error in QFSAttributeInfo = -95 /etc/fstab entry for //hostname/E: //hostname/E /smbmnt/hostname/E cifs ro,credentials=/etc/samba/hostname.cred,sec=lanman,vers=1.0,servern=HOSTNAME,domain=MYHOST,port=139,dir_mode=0555,file_mode=0664,noserverino,noauto 0 0 Kernel, Samba and CIFS client versions: Linux 00srv 4.12.14-lp151.28.44-default #1 SMP Fri Mar 20 18:20:20 UTC 2020 (dbf1aea) x86_64 x86_64 x86_64 GNU/Linux cifs-utils-6.9-lp151.4.3.1.x86_64 samba-4.9.5+git.296.3dd62eee45e-lp151.2.21.1.x86_64 samba-client-4.9.5+git.296...
2019 Apr 29
2
permission denied while compile linux kernel on samba share
...client/pasokan public=no valid users=@root write list=@root writeable=yes create mask=0770 force create mode=0770 # cat /proc/mounts | grep cifs //10.10.27.203/cifs-share /mnt/cifs cifs rw,relatime,vers=default,cache=strict,username=root,domain=,uid=0,noforceuid,gid=0,noforcegid,addr=10.10.27.203,file_mode=0755,dir_mode=0755,soft,nounix,serverino,mapposix,mfsymlinks,rsize=1048576,wsize=1048576,echo_interval=60,actimeo=1 0 0
2018 Jun 04
1
Bug when copying files from a Samba directory mounted by cifs
Hello, I've been having a problem copying files from a Samba directory, mounted by cifs so that it's accessible from a Linux machine. The autofs service is used to mount the Samba directory on /samba/public/name with mount options "-fstype=cifs,guest,file_mode=0664,dir_mode=0775". If I do this: touch /samba/public/name/foo # create an empty file cp /samba/public/name/foo . then the copy of 'foo' seems to keep growing and will eventually fill up the disk partition, unless the 'cp' process is killed. I've found I can w...
2011 Sep 07
1
Samba on freebsd - permissions issue
...created; -rw-r--r-- 1 nobody nobody 0 Sep 7 16:15 ztest.1.txt If the user opens the file to write to it, it is opened in read-only. I get the same results when mounting the share from Linux using these two different commands; mount -t cifs //bsd-host/test2 /mnt/test2 and, mount -t cifs -o file_mode=0777,dir_mode=0777 //bsd-host/test2 /mnt/test2 Any suggestions on how I can fix this? Thank you in advance, James
2014 Jun 09
1
Cannot mount a remote volume after system upgrade
...an mount.cifs) In /var/log/messages: 2014-06-06T16:49:27.540111-07:00 sma-server3 kernel: \ [501348.943600] CIFS VFS: cifs_mount failed w/return code = -6 Here is the /etc/fstab entry: //sma-server1/pub-data /t2 cifs \ credentials=/home/sma-user3x/.smb/.smbpw, \ uid=sma-user4,gid=users,file_mode=0664,dir_mode=0775, \ sec=lanman,servern=SMA-SERVER1,nocase,noperm,nounix,noserverino 0 0 Any suggestions or changes that will allow the remote volume to mount?
2010 Apr 30
1
Cannot mount Windows 7 share with CIFS Error 112 Host is down
...le mounting shares from XP systems on the network using the mount command below. I can access the Windows 7 share with no problems using smbclient on Linux. The Windows 7 share is accessible from the XP systems. Here is the mount command: mount.cifs //pirin/c /mnt -o user=yanko,uid=500,gid=100,file_mode=0666,dir_mode=0777,noperm,iocharset=utf8,directio,ip=192.168.1.12 Password: mount error(112): Host is down Refer to the mount.cifs(8) manual page (e.g. man mount.cifs) The dmesg log has: CIFS VFS: No response for cmd 114 mid 1 CIFS VFS: cifs_mount failed w/return code = -112 I have not f...
2010 Feb 12
2
Setuid bit always set on Vista mount
Files on my Vista mount always have the S mode (setgid bit?) set according to ls -l. This is a security hole and causes other problems. I can't clear the bit with chmod; in fact the results of doing chmod don't make any sense to me (I'll be glad to provide examples). Typical files show as -rwxrwSrwx, though not all. The smb.conf file has create mask 0666 and directory mask 0777 various
2020 Apr 24
2
CIFS VFS: in dmesg when Linux accesses eComStation's (OS/2) FAT filesystem shares
...t; access to very old servers >> CIFS VFS: Send error in QFSAttributeInfo = -95 >> /etc/fstab entry for //hostname/E: >> //hostname/E /smbmnt/hostname/E cifs >> ro,credentials=/etc/samba/hostname.cred,sec=lanman,vers=1.0,servern=HOSTNAME,domain=MYHOST,port=139,dir_mode=0555,file_mode=0664,noserverino,noauto >> 0 0 >> Kernel, Samba and CIFS client versions: >> Linux 00srv 4.12.14-lp151.28.44-default #1 SMP Fri Mar 20 18:20:20 UTC 2020 >> (dbf1aea) x86_64 x86_64 x86_64 GNU/Linux >> cifs-utils-6.9-lp151.4.3.1.x86_64 >> samba-4.9.5+git.296.3dd6...
2011 Sep 04
1
Strange permission problem when mounting a share
Hello all, I have been struggling with a permission issue with Samba for over a week now. I've tried many different setup, without much success. I am using samba 3.6 on Arch Linux. The user I am testing with is a member of the group nobody. I have a share defined as it : security = share [public] path = /home/smbshare public = yes only guest = yes writable = yes printable =
2009 Sep 18
4
Autofs and Fedora 11
...quot;\"://" key "/" loc "\"" } END { if (!first) print "\n"; else exit 1 } ' I also tried adding some options to the above script: opts="-fstype=smb,guest,uid=501,gid=100,username=guest,fmask=666,dmask=777,file_mode=0666,dir_mode=0777" but it did not help. Any suggestions would be greatly appreciated! I tried reading the manuals and doing web searches, but couldn't find out what I was doing wrong. Ian
2013 Aug 09
1
[CIFS] mount error(13): Permission denied
...s are identical and working in openSUSE 12.3 on same system. I just spent several hours on IRC and elsewhere trying to figure this out before thinking to try booting something other than 13.1. :-( Fstab entry (redacted): //HOST/share /mountpoint cifs guest,nounix,uid=####,gid=####,dir_mode=0777,file_mode=0664,noauto 0 0 The host is a Linux satellite receiver, running kernel 3.3.1 and sambaserver 3.0.37-r8. It's configuration options are crippled. Security = user seems not to be an option, but since the device runs on FOSS and there is no manual, whether that is in fact the case is unclear....
2024 Jan 30
1
permission denied with windows acls
On 1/29/24 13:08, Rowland Penny via samba wrote: > On Mon, 29 Jan 2024 12:51:37 -0800 > Peter Carlson via samba<samba at lists.samba.org> wrote: > > >> Just did a quick test, the big T comes after setting permissions in >> windows >> >> root at fs1:/var/log# cd /data >> root at fs1:/data# mkdir -m 1777 test2 > No it doesn't, you are setting