"Access denied" with xp_cmdshell (!)
- From: "Vycka" <vyciunas@xxxxxx>
- Date: Wed, 23 Aug 2006 18:24:35 +0300
Hello,
I'm running this command on my SQL server and I'm getting an error 'Access
denied.'
EXEC master.dbo.xp_cmdshell 'cacls "\\PC1\Temp\3.bmp" \E \G
DOMAIN\User:R'
- My sql server service is running on a domain account and that account is
and administrator in sql server computer and in computer PC1.
- Directory "Temp" Sharing rights are "everyone - full control".
- File 3.bmp permissions are that all admins get full control.
This command works fine only when I set file permissions to "everyone - full
control".
SQL server version - MS SQL 2005 Standard edition x64
Thanks for help
Vyckla
.
- Follow-Ups:
- Re: "Access denied" with xp_cmdshell (!)
- From: Laurentiu Cristofor [MSFT]
- Re: "Access denied" with xp_cmdshell (!)
- Prev by Date: Re: Sql permissions headache
- Next by Date: Re: SQL Server 2005 and default for Enforce password policy option
- Previous by thread: Re: SQL Server 2005: Checking if Login is connected to any database
- Next by thread: Re: "Access denied" with xp_cmdshell (!)
- Index(es):
Relevant Pages
|