Help answer threads with 0 replies.
Go Back > Forums > Linux Forums > Linux - Server
User Name
Linux - Server This forum is for the discussion of Linux Software used in a server related context.


  Search this Thread
Old 03-21-2007, 03:16 AM   #1
Registered: Nov 2001
Location: NRW, Germany
Distribution: SLES / FC/ OES / CentOS
Posts: 611

Rep: Reputation: 32
cifs samba mount as group

Small problem with samba:

Sharing a folder with samba. Smb.conf:

comment = edv-software
path = /storage
write list = one two three four
valid users = one two three four
create mask = 770
directory mask = 0770
force group = admin
Now i mount:

# mount -t cifs //ftp/EDV-Software /home/one/server/ftp/software/ -o username=one,password=xxxxxxx,uid=one
which works but i can`t access every file in the subfolders, as in smb.conf i sayed force group admin an have the 770 set.

So if a file is created from user two and i mount the drive as written above i can`t access it.

I tought that I maybe could mount the drive with an option like group=admin but that also does not work.

What have i done wrong ?
Old 05-29-2007, 04:54 AM   #2
Registered: Nov 2001
Location: NRW, Germany
Distribution: SLES / FC/ OES / CentOS
Posts: 611

Original Poster
Rep: Reputation: 32
I think its a problem solved with the new kernel 2.6.22

see this:

Steve French (10):
[CIFS] Remove unnecessary parm to cifs_reopen_file
[CIFS] Add write perm for usr to file on windows should remove r/o dos attr
[CIFS] New CIFS POSIX mkdir performance improvement
[CIFS] New CIFS POSIX mkdir performance improvement (part 2)
[CIFS] Add IPv6 support
[CIFS] Update cifs version to 1.49
[CIFS] prefixpath mounts to servers supporting posix paths used wrong slash
[CIFS] UID/GID override on CIFS mounts to Samba
[CIFS] Fix oops in reset_cifs_unix_caps on reconnect
[CIFS] Fix typo in cifs readme from previous commit


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Cifs "mount error 13 = Permission denied" CIFS SUCKS humbletech99 Linux - Networking 44 02-26-2016 12:45 PM
mount.cifs - mount error 20 = Not a directory da_kidd_er Linux - Networking 10 10-16-2008 12:55 PM
cifs read error when accessing a samba mount mathfeel Linux - Networking 0 12-09-2006 02:18 AM
long remote mount time for samba with cifs command luna6 Linux - Networking 1 04-01-2005 11:43 AM
Samba mount, user/group IDs fennec Linux - Networking 0 08-22-2004 02:54 PM > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 04:42 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration