Re: permissions for redirected disk
Christopher Roberts <[email protected]> Thu, 24 Feb 2011 14:33:36 +0000
| Newsgroups | gmane.network.rdesktop.user |
|---|---|
| Organization | Trident Honda |
| Message-ID | <[email protected]> |
On Thursday 24 Feb 2011, Nerijus Baliunas 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. I still think your best
bet is to persuade the Windows server to remove executable permissions from
the \\tsclient\*.
> 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:
*/5 * * * * /usr/bin/find /home/nerijus/PVM_SF -type f ! -perm 666 -exec chmod
666 '{}' \; &>/dev/null
*/5 * * * * /usr/bin/find /home/nerijus/PVM_SF -type d ! -perm 777 -exec chmod
777 '{}' \; &>/dev/null
You should be able to replace nerijus with a "*" if you have multiple users
with the same structure.
I haven't tested these commands, just typed them from the top of my head, they
look right to me though.
Yes I know, dreadful, how do I sleep at night.
This mailing list is so quiet, can't help thinking there must be millions of
rdesktop users chatting somewhere else!
--
Chris
------------------------------------------------------------------------------
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