LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
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, 03:16 AM   #1
saavik
Member
 
Registered: Nov 2001
Location: NRW, Germany
Distribution: SLES / FC/ OES / CentOS
Posts: 614

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, 04:54 AM   #2
saavik
Member
 
Registered: Nov 2001
Location: NRW, Germany
Distribution: SLES / FC/ OES / CentOS
Posts: 614

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



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 45 04-06-2020 05:31 AM
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

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 08:12 AM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration