# Win32-file set\_permissions

**URL:** <https://www.ruby-forum.com/t/win32-file-set-permissions/136081>\
**Category:** Ruby\
**Created:** [April 28, 2008, 7:19pm UTC](https://www.ruby-forum.com/t/win32-file-set-permissions/136081 "2008-04-28T19:19:23Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![dnstevenson](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/d/8dc957/32.png) [@dnstevenson](https://www.ruby-forum.com/u/dnstevenson)\
**Post date:** [April 28, 2008, 7:19pm UTC](https://www.ruby-forum.com/t/win32-file-set-permissions/136081/1 "2008-04-28T19:19:23Z")

</div>

On Sun, Apr 27, 2008 at 8:10 PM, Heesob P. [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) wrote:

> > and I get this error  
> > if sid.strip == “”
> 
> Regards,  
> Park H.

Thanks for your help. It looks like some strange things are happening.  
When I do the above where I get, then set the permssions on my local  
drive  
it works fine. When I do it on a mapped drive I get the account not  
found  
error after inserting the code above. However, if I try to add a domain  
account permissions to the file then it doesn’t give an error, but it  
doesn’t add the permissions either.
