new file group permission of CIFS mount


 
Thread Tools Search this Thread
Operating Systems Linux new file group permission of CIFS mount
# 1  
Old 07-04-2012
new file group permission of CIFS mount

After switching from smbfs mount, the dmask/dir_mode and fmask/file_mode no longer have an effect on the newly created files. It seems to use the system umask instead.

I need the group to have write permissions without changing the root umask on the system. Any ideas?

example fstab:

Code:
//192.168.1.23/drive /mountpoint cifs gid=users,file_mode=0660,dir_mode=0770,credentials=xxxx 0 0

existing files have 660; newly created files after mount will have 644. I need new files to have 660. smbfs did this; cifs does not. I do need to use CIFS.
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. UNIX for Beginners Questions & Answers

Help with cifs/smbfs mount on Solaris

I have a Linux server with a cifsmount, the entry in /etc/fstab looks like this: //windows_server_name/xyz /opt/xyz cifs credentials=/etc/creds/xyz.creds,uid=abc,gid=abc,noserverino,directio,_netdev 0 0 The username and password are stored in /etc/creds/xyz.creds This works fine.:wall: How... (1 Reply)
Discussion started by: Joke Holmer
1 Replies

2. AIX

AIX available cifs mount options

Hi, I can't find any documentation of all available mount options of mount -v cifs Unfortunately you can specify any fantasy options, no complains, and the mount command shows this option In particular I want to know if there is a possibility to completely disable cifs caching in aix,... (3 Replies)
Discussion started by: funksen
3 Replies

3. Red Hat

Permission denied error using chmod on a cifs mount

I have a RHEL 5.7 system with a cifs mount from a Windows 2007 file server that I need to fix the permissions on. Once the share is mounted the permission for the mount are 777. I need to change that to 770 on the top level directory and to 640 on the sub-directory .ssh/. But when I run chmod... (0 Replies)
Discussion started by: westmoreland
0 Replies

4. AIX

Mount CIFS on AIX

Hello AIX gurus, I am trying to mount a CIFS share on AIX and I could use some help. Here are the environment details: AIX - 6100-05-01-1016 Domain Controller - WIN2K8R2 (authentication takes place here) CIFS share is stored on a NetApp storage array that is joined to the domain I have... (2 Replies)
Discussion started by: jhall
2 Replies

5. UNIX and Linux Applications

Slackware: mount cifs with kerberos

On Slackware14.0 Compiled cifs-utils with kerberos support on request-key.conf added create cifs.spnego * * /usr/sbin/cifs.upcall %k %d But when i try mount -o sec=krb5 -t cifs //SLACK64//Users /media/users mount error(38): Function not implemented Refer to the... (1 Reply)
Discussion started by: Linusolaradm1
1 Replies

6. Red Hat

Permissions problem with cifs.mount

hi, I have the following permission problems with cifs.mount : a share on a VNXe (EMC NAS) is accessed by two RHEL 5.9 accounts (authenticated by Active Directory); One account has read+wite permission to the share , the second one has only read permission. Both accounts uses the following... (0 Replies)
Discussion started by: Zarake
0 Replies

7. AIX

CIFS Mount not mounting on my AIX server

Dear Experts, Im facing a unique situation. We got a windows server folder cifs mounted on my AIX server. Before restarting the win server I tried unmounting the cifs mount. It got hanged and win server was restarted however. Now Im trying to mount the same. It prompts for password... (3 Replies)
Discussion started by: jayadeava
3 Replies

8. UNIX for Advanced & Expert Users

mount -t cifs permission denied by mount -t smbfs works fine

I am having trouble mounting with cifs, but mounting the exact same command with smbfs works fine. The share is on another samba server and is set to full public guest access. # mount -t cifs //servername/sharename /mnt/temp -o password="" mount error 13 = Permission denied Refer to the... (3 Replies)
Discussion started by: humbletech99
3 Replies

9. HP-UX

mount with CIFS

hi everyone months ago i installed software on hp-ux box. So instead of going to the server room (which is far and cold :) ), I put the DVD in my windows xp box and mount it using CIFS, it was successful. Now I want to install another software on the same hp-ux box using the same windows... (3 Replies)
Discussion started by: neemoze
3 Replies

10. UNIX for Dummies Questions & Answers

Inherit Group File Permission

In our file system, the SGID for a directory is set right now. Any new files created in this directory will automatically be assigned the same group from the parent directory. Is there a way to inherit the file permission from the parent directory as well? The OS is Solaris 2.8. Example:... (1 Reply)
Discussion started by: april
1 Replies
Login or Register to Ask a Question
VMWARE-HGFSMOUNTER(8)						   Open VM Tools					     VMWARE-HGFSMOUNTER(8)

NAME
vmware-hgfsmounter - program for mounting HGFS shares SYNOPSIS
mount.vmhgfs SHARE DIRECTORY [ -o OPTIONS ] vmware-hgfsmounter SHARE DIRECTORY [ -o OPTIONS ] DESCRIPTION
This is a console-based mount helper application. It mounts the HGFS share, specified by name, to a local directory. Share names must be in host:dir format. OPTIONS
uid=ARGUMENT mount owner (by uid or username) gid=ARGUMENT mount group (by gid or groupname) fmask=ARGUMENT file umask (in octal) dmask=ARGUMENT directory umask (in octal) ro mount read-only rw mount read-write (default) nosuid ignore suid/sgid bits suid allow suid/sgid bits (default) nodev prevent device node access dev allow device node access (default) noexec prevent program execution exec allow program execution (default) sync file writes are synchronous async file writes are asynchronous (default) mand allow mandatory locks nomand prevent mandatory locks (default) noatime do not update access times atime update access times (default) nodiratime do not update directory access times adirtime update directory access times (default) ttl=ARGUMENT time before file attributes must be revalidated (in seconds). Improves performance but decreases coherency. Defaults to 1 if not set. EXAMPLES
This command is intended to be run from within /bin/mount by passing the option '-t vmhgfs'. For example: mount -t vmhgfs .host:/ /mnt/hgfs/ mount -t vmhgfs .host:/foo /mnt/foo mount -t vmhgfs .host:/foo/bar /var/lib/bar SEE ALSO
vmware-checkvm(1) vmware-hgfsclient(1) vmware-toolbox(1) vmware-toolbox-cmd(1) vmware-user(1) vmware-xferlogs(1) libguestlib(3) libvmtools(3) vmware-guestd(8) vmware-user-suid-wrapper(8) vmblock(9) vmci(9) vmhgfs(9) vmmemctl(9) vmsock(9) vmsync(9) vmxnet(9) vmxnet3(9) HOMEPAGE
More information about vmware-hgfsmounter and the Open VM Tools can be found at <http://open-vm-tools.sourceforge.net/>. AUTHOR
Open VM Tools were written by VMware, Inc. <http://www.vmware.com/>. This manual page was put together from homepage materials by Daniel Baumann <daniel.baumann@progress-technologies.net>, for the Debian project (but may be used by others). 2010.03.20-243334 2010-04-08 VMWARE-HGFSMOUNTER(8)