Go Back   TechArena Community > Software > Software Development
Become a Member!
Forgot your username/password?
Register Tags Active Topics RSS Search Mark Forums Read

Sponsored Links



How to Set write permission to a folder

Software Development


Reply
 
Thread Tools Search this Thread
  #1  
Old 04-05-2009
Member
 
Join Date: Apr 2009
Posts: 68
How to Set write permission to a folder
  

Hello,

I was successful in creating a folder through code. further that But i was trying to set the write permission to the folder so that i can assign to whom i should allow to access the folder. I have placed a XML there but when i going to recreate the XML through it won't. Please help me. If sample code is being posted it will help me very much.

Thanks

Reply With Quote
  #2  
Old 04-05-2009
Member
 
Join Date: Jan 2009
Posts: 143
Re: How to Set write permission to a folder

I have tried out the following option to check on my install machine, I'm logged in as a low-privileged user. I tried run the setup.exe,and Vista prompts me to enter an administrator account to run it. After this the install works OK.

you may also check the file permissions on The "c:\program data\company name" folder, I cannot view the "Security" tab, which I suppose is OK, because it's not an admin account. I then provide admin credentials and take "ownership" of this folder so that I can see the security permissions.
Reply With Quote
  #3  
Old 04-05-2009
Member
 
Join Date: Feb 2009
Posts: 105
Re: How to Set write permission to a folder

It is very difficult to provide write permission to any folder through coding..may be this is possible but i have never come across such kind of thing for coding in my experience...
Reply With Quote
  #4  
Old 04-05-2009
Member
 
Join Date: Dec 2008
Posts: 69
Re: How to Set write permission to a folder

If you wish to audit the file and folder permissions on your server, then you may want to look into using the "find" command. The following command will search for folders that are world writable:

find / -type d -perm -001

And the following command will search for files that are word writable:

find / -type f -perm -001
Reply With Quote
Reply

  TechArena Community > Software > Software Development
Tags: , ,



Thread Tools Search this Thread
Search this Thread:

Advanced Search


Similar Threads for: "How to Set write permission to a folder"
Thread Thread Starter Forum Replies Last Post
‘Launcher requires write permission’ error message while launching World of Warcraft on Window 7 Dipanwita Video Games 4 06-02-2012 08:03 PM
Traverse a folder without permission? PeteC Windows Server Help 7 22-08-2009 12:51 AM
Mandriva 2008 Live and write permission on External HD mohandas Operating Systems 4 10-03-2009 11:36 AM
Display the user permission on a share folder Klums Active Directory 3 12-08-2008 08:34 AM
Restrict folder permission to prevent from moving Fat Frog Windows Server Help 6 20-05-2008 08:08 AM


All times are GMT +5.5. The time now is 12:58 PM.