Displaying 20 results from an estimated 97 matches for "dir_mod".
Did you mean:
dir_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, some
modificati...
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=backuppc,file_mode=0640,dir_mo...
2024 Jan 30
1
permission denied with windows acls
...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,noforcegid,addr=1...
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 mount point
I...
2008 Jul 17
4
Samba permissions problem
...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 = 0660
forc...
2003 Jul 23
5
Asterisk as a stand alone voice mail server
I'm sure asterisk would make a great stand alone voice mail server.
Basically I want to get rid of our voice mail system and replace it with
*, but the problem is we use a cisco cluster with skinny clients. So I
was thinking the way to contact a * server, would be through our 3640.
But so far any attempt has failed. I am wondering if anyone has done
something similar. Just want to verify the
2018 Jun 15
2
Slow write performance CIFS mount
...a very low performance 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
...id,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_USER)"
s...
2017 Aug 08
3
Smbclient cant transer large files
...same drive can be mounted and accessed easily with cifs:
>//vienas01.andritz.com/HIPASE on /media/HIPASE_Q type cifs
>(rw,nosuid,nodev,relatime,vers=1.0,cache=strict,username=<snip>,domain=<sni
>p>,uid=1000,forceuid,gid=1000,forcegid,addr=172.24.180.161,file_mode=0755,
>dir_mode=0755,nounix,mapposix,rsize=61440,wsize=65536,echo_interval=60,a
>ctimeo=1,user=<snip>)
>
>The problem seems to have appeared with 2:4.2.14+dfsg-0+deb8u7:
>http://metadata.ftp-
>master.debian.org/changelogs/main/s/samba/samba_4.2.14+dfsg-
>0+deb8u7_changelog
>
>...
2007 Oct 17
4
Pam_mount + cifs
...,\" OPTIONS)"
smbmount /usr/bin/smbmount //%(SERVER)/%(VOLUME) %(MNTPT) -o
"username=%(USER),gid=%(USERGID)%(before=\",\" OPTIONS)"
umount /bin/umount %(MNTPT)
mntagain /bin/mount --bind %(PREVMNTPT) %(MNTPT)
volume * cifs 192.168.9.15 & /home/&
uid=&,dir_mode=0700,workgroup=COLEGIO - -
---------------------------
pam_mount(mount.c:368) information for mount:
pam_mount(mount.c:369) ----------------------
pam_mount(mount.c:370) (defined by globalconf)
pam_mount(mount.c:373) user: dobetko
pam_mount(mount.c:374) server: 192.168.9.15
pam_...
2020 Apr 23
2
CIFS VFS: in dmesg when Linux accesses eComStation's (OS/2) FAT filesystem shares
...lect vers=1.0 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-clien...
2019 Apr 29
2
permission denied while compile linux kernel on samba share
...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 work around thi...
2011 Sep 07
1
Samba on freebsd - permissions issue
...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
...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
...res 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 found any error...
2020 Apr 24
2
CIFS VFS: in dmesg when Linux accesses eComStation's (OS/2) FAT filesystem shares
...red 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...
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
..." 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
...fstab
entries 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 c...