cifs fstab mounts - transfer as user

View: New views
2 Messages — Rating Filter:   Alert me  

cifs fstab mounts - transfer as user

by Edsall, William (WJ) :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

cifs fstab mounts - transfer as user

Hello list!

 I have a cifs mount I've been using, permanently connected as a functional account.

What I would like is for the user transferring the file through this cifs mount to retain ownership on the file being transferred. Is this possible? Currently any transfer becomes owned by joeuser immediately.


//myserver/myshare        /transfer/myshare        cifs   username=joeuser,password=joepass,uid=xxx,gid=yyy  0       0


_______________________________________
William J. Edsall
The Dow Chemical Company
1707 Bldg. Office 9
Midland, MI 48674
Office: (989) 636-0384
Cell: (989) 529-1952
email: wjedsall@...

Walking on water and developing software from a specification are easy if both are frozen.




_______________________________________________
linux-cifs-client mailing list
linux-cifs-client@...
https://lists.samba.org/mailman/listinfo/linux-cifs-client

Re: cifs fstab mounts - transfer as user

by Jeff Layton-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Wed, 17 Jun 2009 09:40:15 -0400
"Edsall, William (WJ)" <WJEdsall@...> wrote:

> Hello list!
>
>  I have a cifs mount I've been using, permanently connected as a
> functional account.
>
> What I would like is for the user transferring the file through this
> cifs mount to retain ownership on the file being transferred. Is this
> possible? Currently any transfer becomes owned by joeuser immediately.
>
>
> //myserver/myshare        /transfer/myshare        cifs
> username=joeuser,password=joepass,uid=xxx,gid=yyy  0       0
>

Not currently. The mount doesn't have credentials for users other than
"joeuser" and the server doesn't have any idea that the file was
actually created by someone else.

There are vague plans to properly implement multiuser mounts in CIFS,
but it's a fairly major overhaul and isn't currently a priority. There
is some support for multiuser mounts in cifs already, but it's a rather
half-assed affair at the moment.

--
Jeff Layton <jlayton@...>
_______________________________________________
linux-cifs-client mailing list
linux-cifs-client@...
https://lists.samba.org/mailman/listinfo/linux-cifs-client