How to change the file's permission and last modified in Java?
To my knowledge, Java's File class does not support to change the file's permission and last modified date. Is there any proper way to do this in a cross-platform style? ...
To my knowledge, Java's File class does not support to change the file's permission and last modified date. Is there any proper way to do this in a cross-platform style? ...
Hello all, I have an ASP.NET website (in C#) that takes in user data and then attempts to create a windows scheduled task. Of course, this works great on the DEV machine, but fails to run on the server. I'm trying to figure out what permission(s) are required on the ASPNET user (or anonymous web user) to create tasks. The error is: ...
Hi all, I'm looking for a code fragment, using which I must be to change the file permissions on unix. My project runs on java 1.4.2 .. just a sample code example or methods which needs to be used will do.. Regards, Senny ...
My mac has folders Shared and Public folders. Their permissions are drwxr-xr-x+ for Public and drwxrwxrwt@ for Shared. What do the signs + and @ mean? ...
I have a website I've built in VS2005, C#, .NET 2.0. This website does transactions against an Access database. It works fine in development. The mdb file resides in App_Data I have setup IIS on this machine to test the website as it would be deployed. I published the site to my IIS virtual directory. All went well. Whenever I try to ...
I have a windows program in .net framework 3.5 to update an access database, I need to set the permission to full trust level. the client don't have the framework configuration tools installed on their server, so is there any other place that I can make this change? thanks. ...
Is there a way to change owner of saved file using IIS on Windows Server. The easier the better. It doesn't matter either this will have to be done during saving or changing file owner after file is already saved to disc. An example in ASP.NET is highly apriciated. ...
Hi, I'm developing an ASP.NET WebSite and I get an Exception Required permissions cannot be acquired. ... Is there a way to find out which permission(s) are missing? Kind regards christian I know the assembly that causes the exception, but I don't know which permission it requires. ...
How can i list the rights that have been assigned to a domain users mailbox? e.g. The accounts that are specified in the "Mailbox Rights" section of the "Exchanged Advanced" tab of AD Users & Computers? ...
I believe that I have successfully impersonated my own user account while running an ASP.NET page on my local machine. Using the method described here, I have successfully changed the WindowsIdentity.GetCurrent().Name from ASPNET to my domain account. I can successfully write to a file on the file system that ONLY my account has perm...
I am using SQL Server 2005, I want to find out what all the grants are on a specific database for all tables. It would also help to find out all tables where the delete grant has been given for a specific user. Note: this may be similar to this question, but I could not get the selected answer's solution working (if someone could provid...
I have a Qt/C++ project and an old VB6 project. The user base might not have permissions to HKEY_LOCAL_MACHINE due to lack of administrator rights but I need to update a registry entry. How can I get a list of the groups to which a user belongs? ...
I'm securing the DB by only allowing interaction with the DB through a series of Sprocs; pretty common fare. I've dug up and modified a script which loops through and assigns the user EXECUTE permission for all non-system SProcs. It works a treat except that I'd ideally like to add it to the Master DB so that I can easily use it for any...
Hi, I have a separate server that runs tfs build. I created an account that will run the tfs build service. I am getting an error because it says it can't access the drop folder. what permissions do I have to give the tfs build service account? I believe it has to be apart of some tfs specific groups? Update I decided just to use ...
Hey all, I have this code: $fp = fopen($unenc_path, "w"); fwrite($fp, $msg); fclose($fp); $easy_access_emails = 'person@##.com'; $headers = "From: support@##.com <support@##.com>\n" . "Reply-to: support@##.com\n" . "Subject: " . $subject . "\n"; $key = implode("", file("../newcert.pem")); $Ar...
I have a user group set up in Sharepoint that has permission to access to a single site. I would like to restrict this groups access futher to a single survey within that site. Is there any way to set Sharepoint permissions to a more granular level? ...
Hi , I have got a project that can copy files to another client's desktops in my domain.There is 300+ client machine.But there is a problem.When i run this project in a non admin user account in my domain.It cant copy files getting error about Access Denied , user restrictions.I wanna do this program like this , in non admin user account...
Hi, I'm having this problem and I reached a deadlock, I would try anything I've reached a deadend. My problem goes like this: I have a Perl/CGI script installed on Fedora 9 machine running apache2, this script have a config file which placed in the same directory, this config file has 777 permissions. The script can't write to the fi...
For my asp.net website with forms authentication, I will use Windows integrated security to access a sql database. I will give DB permissions to the ASPNET or NETWORK SERVICE. Under what circumstances would I use SQL authentication instead? ...
I've got a console program written in C# which runs under user foo. The program creates a file. In some situations a web application running under the IUSR needs to be able to delete the files created by the console app. I'd like to grant DELETE (or anything equivalent) to IUSR when the file is created. How can I do that in C# ? I've f...