LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices

Reply
 
Search this Thread
Old 03-21-2007, 04:16 AM   #1
saavik
Member
 
Registered: Nov 2001
Location: NRW, Germany
Distribution: SLES11 / FC20/ OES / CentOS
Posts: 601

Rep: Reputation: 32
cifs samba mount as group


Small problem with samba:


Sharing a folder with samba. Smb.conf:

Quote:
[edv-software]
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:


Quote:
# 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, 05:54 AM   #2
saavik
Member
 
Registered: Nov 2001
Location: NRW, Germany
Distribution: SLES11 / FC20/ OES / CentOS
Posts: 601

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

see this:

Quote:
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
here:

http://lwn.net/Articles/234135/
 
  


Reply


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 41 11-16-2014 04:21 AM
mount.cifs - mount error 20 = Not a directory da_kidd_er Linux - Networking 10 10-16-2008 01:55 PM
cifs read error when accessing a samba mount mathfeel Linux - Networking 0 12-09-2006 03:18 AM
long remote mount time for samba with cifs command luna6 Linux - Networking 1 04-01-2005 12:43 PM
Samba mount, user/group IDs fennec Linux - Networking 0 08-22-2004 03:54 PM


All times are GMT -5. The time now is 01:55 AM.

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