Re: permissions for redirected disk

Nerijus Baliunas <[email protected]> Thu, 24 Feb 2011 16:47:18 +0200
Newsgroups gmane.network.rdesktop.user
Message-ID <[email protected]>
On Thu, 24 Feb 2011 14:33:36 +0000 Christopher Roberts <[email protected]> wrote:

> > Isn't rdesktop serving redirected disk to Windows client?
> 
> True, but I would imagine the drive mapping is specified by the RDP protocol 
> though, which is controlled from the server side.

But the file writing to the disk does rdesktop binary, right? So it *could* create
file with other permissions.

>  I still think your best 
> bet is to persuade the Windows server to remove executable permissions from 
> the \\tsclient\*.

I don't actually care about executable, I need group write permission.

> > Anyway, I need other or at least group write permissions for files created
> > from Windows, any ideas how to achieve it?
> 
> As a short-term bodge, you could use find in cron:

No, it will not work, i use fsniper (A tool that monitors directories for new files
and invokes scripts on them) on Linux, which modifies the file right after it is created.
But I want to run fsniper as another user, not root or logged in user. So I need
group write permission.

Regards,
Nerijus

------------------------------------------------------------------------------
Free Software Download: Index, Search & Analyze Logs and other IT data in 
Real-Time with Splunk. Collect, index and harness all the fast moving IT data 
generated by your applications, servers and devices whether physical, virtual
or in the cloud. Deliver compliance at lower cost and gain new business 
insights. http://p.sf.net/sfu/splunk-dev2dev