 |
pyTivo Discussion Forum Answers and the development of pyTivo a TiVo transcoding server
|
|
| Author |
Message |
JonMikelV
Joined: 22 Feb 2008 Posts: 40
|
Posted: Sun Mar 02, 2008 5:43 pm Post subject: Access is denied: System Volume Information - FIX! |
|
|
I've been using my 20080224 version of pyTivo with no major problems until I set it up to use a USB drive attached to me 64bit W2k3 Server.
All shares are working fine except this one:
[My Videos 2]
type=video
path=J:\
#precache=true
The error that appears in the console version is:
----------------------------------------
Exception happened during processing of request from ('192.168.1.242', 4841)
Traceback (most recent call last):
File "C:\Program Files (x86)\Python25\lib\SocketServer.py", line 464, in pro
ss_request_thread
self.finish_request(request, client_address)
File "C:\Program Files (x86)\Python25\lib\SocketServer.py", line 254, in fin
h_request
self.RequestHandlerClass(request, client_address, self)
File "C:\Program Files (x86)\Python25\lib\SocketServer.py", line 522, in __i
t__
self.handle()
File "C:\Program Files (x86)\Python25\Lib\BaseHTTPServer.py", line 316, in h
dle
self.handle_one_request()
File "C:\Program Files (x86)\Python25\Lib\BaseHTTPServer.py", line 310, in h
dle_one_request
method()
File "C:\Program Files (x86)\pyTivo\httpserver.py", line 86, in do_GET
method(self, query)
File "C:\Program Files (x86)\pyTivo\plugins\video\video.py", line 393, in Qu
yContainer
video['total_items'] = self.__total_items(file)
File "C:\Program Files (x86)\pyTivo\plugins\video\video.py", line 231, in __
tal_items
for file in os.listdir(full_path):
WindowsError: [Error 5] Access is denied: 'J:\\System Volume Information/*.*'
I don't seem to be having any problems using the drive in Windows or over a Windows share, but oddly enough, Windows Explerer Properties reports the file system as "Raw" while Disk Management reports it as NTFS - so I'm assuming it's a drive formatting issue.
Oh - and the same error appears if the I mount the drive in an empty NTFS folder. It's curious, though, that the folder lists 6 items, though shows the error & "This Group Is Empty" when I try to go into it. I wonder where the "6" comes from - the drive has 3 subfolders in the root.
By using the command below (ref: http://support.microsoft.com/kb/309531) I was able to solve the issue for me J drive:
cacls "j:\System Volume Information" /E /G JMVDW:F
Side Effect: I now see the System Volume Information folder in my share. Sigh.
Oh - and for those that are keeping track, folder shortcuts do NOT seem to work, but NTFS mounted folders DO seem to work.
I thought I should mention it here in case others run into similar issues with NTFS external devices and permissions issues.
Anybody know why pyTivo needs System Volume Information access to begin with?
Jon-Mikel |
|
| Back to top |
|
 |
krkeegan Site Admin

Joined: 04 Jan 2008 Posts: 412 Location: Los Angeles, CA
|
Posted: Sun Mar 02, 2008 6:24 pm Post subject: |
|
|
Wow, I don't know anything about that at all.
What made you look to that knowledgebase article on microsoft.com?
Edit: You know if this is an issue I can specifically tell pyTivo to ignore folders names "System Volume Information". Then you wouldn't have to do the above reconfiguration.
Edit 1: Wouldn't this be an issue for any folder which a user didn't have access to? Maybe the proper thing to do is to add an exception catch to skip these folders.
Did this cause pyTivo to crash on you? Or it just displayed errors? |
|
| Back to top |
|
 |
krkeegan Site Admin

Joined: 04 Jan 2008 Posts: 412 Location: Los Angeles, CA
|
Posted: Sun Mar 02, 2008 7:09 pm Post subject: |
|
|
Ahh I see what happens. Once it hits that folder the pyTivo server hiccups and the folder on the TiVo goes empty.
I was able to do this by putting in a folder into my share that pyTivo would not have access to.
This is more than just a "system volume info" issue.
I am going to work up a patch right now for folders that can't be opened.
Kevin |
|
| Back to top |
|
 |
krkeegan Site Admin

Joined: 04 Jan 2008 Posts: 412 Location: Los Angeles, CA
|
|
| Back to top |
|
 |
JonMikelV
Joined: 22 Feb 2008 Posts: 40
|
Posted: Tue Mar 04, 2008 8:25 pm Post subject: |
|
|
| krkeegan wrote: | What made you look to that knowledgebase article on microsoft.com? |
A Google search & a gut feeling led me to the article in about 30 seconds.
Of course once I found a "fix" I didn't bother to look for the real problem so thank you for figuring the REAL issue out and fixing it instead of bandaging it like I did!
Jon-Mikel |
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You cannot attach files in this forum You can download files in this forum
|
|