Displaying 20 results from an estimated 10000 matches similar to: "Working example of mount.cifs -o setuids"
2009 Jun 24
2
CIFS mount not applying setuids
Hello all,
I've been dealing with this problem for years now and I am a bit fed
up with it. Maybe some of you all can shed some light on the situation.
I am having problems with my samba server setting the
uid/gid/permissions incorrectly when a file is written to the server
filesystem over cifs. I currently use the account remotemounter for
mounting samba shares. Even with the
2010 May 28
2
setuids mount option broke
Hello,
I'm trying to export a /home/ partition for multiple users, using
Samba and the setuids option. My goal is to deliver emails into
$HOME/.Maildir/ for each user. So I mount the share as user "root",
hoping that each user will be able to use their own home directory (just
like an NFS /home/ mount). (This feature depends on the Unix extensions.)
I have the
2012 May 16
1
mount.cifs Is it possible to have a file owned by the user who creates the file?
Hi
e.g.
mount.cifs //192.168.1.6/reports /mnt -o rw,setuids,nodev,user=steve2
Any file created in the share is always owned by steve2 (or the person
who mounted the share).
According to man cifs(8), the setuids overrides this but doesn't seem to
work for us. We'd like it to be the same behavior as nfs if that's possible.
Version 4.0.0alpha21-GIT-46a41d0 with s3fs
Cheers,
Steve
2024 Aug 02
1
sftp can't preserve uploaded mtime: fsetstat: No such file or directory
> On Aug 2, 2024, at 00:32, ilya Basin <basinilya at gmail.com> wrote:
>
> Looks like EFT doesn't support SSH2_FXP_FSETSTAT (working with a file handle), but it does support SSH2_FXP_SETSTAT (working with a file path). OpenSSH sftp only uses SSH2_FXP_FSETSTAT for directories. It doesn't have a separate "touch" command to set mtime for a path and its
2010 Apr 07
3
how to mount shares as a user without mount.cifs setuid
I'm running Debian/Squeeze on an AMD64 system. For some reason they have
recently stopped shipping mount.cifs with the setuid bit set. Now it
appears that they have changed the internal settings to prevent it from
running setuid. This means that I can't define the share in fstab with
"user" and connect from my Linux user account. Mounting smb/cifs shares
seems to be blocked
2024 Aug 02
1
sftp can't preserve uploaded mtime: fsetstat: No such file or directory
I'm connecting to "EFT Server" https://www.globalscape.com/eft and it has an SFTP module. It has nothing to do with OpenSSH, but enterprise likes it for some reason. I don't control the server.
Looks like EFT doesn't support SSH2_FXP_FSETSTAT (working with a file handle), but it does support SSH2_FXP_SETSTAT (working with a file path). OpenSSH sftp only uses
2011 Feb 18
6
[Bug 34430] New: nouveau driver does not return VGA connector status breaking upower
https://bugs.freedesktop.org/show_bug.cgi?id=34430
Summary: nouveau driver does not return VGA connector status
breaking upower
Product: xorg
Version: unspecified
Platform: x86-64 (AMD64)
OS/Version: Linux (All)
Status: NEW
Severity: normal
Priority: medium
Component: Driver/nouveau
2006 Aug 31
2
vim timestamp issues on CIFS mounted shares
First: this is my first post on this list so any suggestions, let me
know.
I recently had to make the move from SMBFS to CIFS when I upgraded from
Fedora 4 to 5. Changing settings in my /etc/fstab was easy and no
errors come up but now I'm having an issue very similar to post I found
on your list that got no response back in April:
http://lists.samba.org/archive/samba/2006-April/119813.html
2006 Dec 03
1
Deliver Root Setuid
Hi,
I just configured my Postfix installation to deliver via Dovecot LDA. But
because I use separate uids for virtual domains I had to set deliver to be
setuid root. Altough I find this as frequent answer to this problem with
deliver LDA I am not a 100% sure - basically because I try to avoid root
setuids as much as I can.
What should be better solution - to have all mailboxes with one owner or
2009 Mar 11
0
dbox on CIFS
Ok - at this time I am using the following non-default settings:
Samba server - smb.conf
[Mailstorage]
ea support = Yes
use sendfile = Yes
fake oplocks = Yes
delete readonly = Yes
Dovecot - dovecot.conf
mmap_disable = yes
dotlock_use_excl = yes
fsync_disable = yes
lock_method = dotlock
I'm still testing - but at this time I'm seeing no errors.
Two
2011 Oct 12
1
cifs mount creates files with root:root permissions
I mount this share on a client:
[users]
comment = home folders
inherit acls = Yes
inherit permissions = Yes
path = /home
read only = No
using this as root on the client:
mount -t cifs //192.168.1.2/users /home -o rw,nosetuid
I then login as a user on the client authenticated via ldap. No problem. It
takes me to the mounted folder and I can see my files. When I
2014 Feb 11
1
Problem with Samba re-share of a CIFS mount
Premise: I posted the same question to the linux-cifs mailing list. I
absolutely don't want to cross-posting, but I am not sure if the problem
is related to the cifs client or to the Samba server. If you think that
this post is an unnecessary duplicate, feel free to delete it.
Hi all,
I have a strange problem trying to re-share, via Samba, a CIFS mount.
Let first explain my network
2024 Aug 01
1
sftp can't preserve uploaded mtime: fsetstat: No such file or directory
On Wed, 31 Jul 2024, ilya Basin wrote:
> I've just tried that. It still fails.
>
> Is it possible to dump the decrypted sftp commands? I tried -vvv but found nothing interesting.
Try
Subsystem sftp /usr/libexec/sftp-server -l debug3
in sshd_config
> The Total Commander plugin calls:
>
> libssh2_sftp_setstat(ConnectSettings->sftpsession,
>
2024 Jul 31
1
sftp can't preserve uploaded mtime: fsetstat: No such file or directory
I've just tried that. It still fails.
Is it possible to dump the decrypted sftp commands? I tried -vvv but found nothing interesting.
The Total Commander plugin calls:
libssh2_sftp_setstat(ConnectSettings->sftpsession,
thename,&attr)
What does the command line client use?
-------- Original Message --------
From: Brian Candler [mailto:b.candler at pobox.com]
Sent:
2024 Mar 16
1
samba allows rename to a locked file (from linux cifs mount)
On 3/16/24 14:18, Michael Tokarev wrote:
> So I'm trying to go exactly the opposite route: I'm mounting a samba
> share on linux (with cifs, see $subject).
ah, missed that. Had read it as if you were acting on the Samba server
directly.
This smells like "strict rename" isn't enabled ? it isn't by default.
-slow
-------------- next part --------------
A
2024 Mar 16
1
samba allows rename to a locked file (from linux cifs mount)
16.03.2024 16:06, Ralph Boehme wrote:
> On 3/16/24 06:59, Michael Tokarev via samba wrote:
>> How to prevent rm and mv from touching a locked file?
>
> cf man smb.conf "kernel share modes" and
>
> git diff d40f57321a12~9..d40f57321a12
Hello Ralph!
I'm not sure we understand each other here.
Yes I'm aware of "kernel share modes" and turning off
2024 Mar 16
1
samba allows rename to a locked file (from linux cifs mount)
16.03.2024 20:11, Ralph Boehme wrote:
> On 3/16/24 14:18, Michael Tokarev wrote:
>> So I'm trying to go exactly the opposite route: I'm mounting a samba
>> share on linux (with cifs, see $subject).
>
> ah, missed that. Had read it as if you were acting on the Samba server directly.
>
> This smells like "strict rename" isn't enabled ? it isn't
2024 Mar 16
1
samba allows rename to a locked file (from linux cifs mount)
On 3/16/24 18:18, Michael Tokarev wrote:
> 16.03.2024 20:11, Ralph Boehme wrote:
>> On 3/16/24 14:18, Michael Tokarev wrote:
>>> So I'm trying to go exactly the opposite route: I'm mounting a samba
>>> share on linux (with cifs, see $subject).
>>
>> ah, missed that. Had read it as if you were acting on the Samba server
>> directly.
>>
2004 Mar 24
0
Réf. : samba mount setuid problem
When i go to Yast Control center i can see that the user log in is set to
/bin/bash and this is the default.
Is this what you meant?
Where else to find smbmnt? 'coz when i try to open up /usr/bin/smbmnt it tells
me that "COULD NOT FIND THE PROGRAM smbmnt.
rgds,
Segie
On Tuesday 23 March 2004 14:22, you wrote:
> Are you sure that smbmnt is /usr/bin ?
>
>
>
2013 Dec 02
2
creating opus encoder and decoder executable on Windows
Hi all:
How do I create opus encoder and decoder executable on Windows using MS Visual Studio 2010?
What I'm doing is the following:
1. I downloaded the codebase on my local drive using: $ git clone git://git.opus-codec.org/opus.git
2. Then I go to D:\opus\win32\VS2010 and open the opus.sln using MS Visual Studio 2010.
3. Then I build the solution opus. I get 3 executable at