{"action":"created","issue":{"url":"https://api.github.com/repos/SiCKRAGETV/sickrage-issues/issues/2406","labels_url":"https://api.github.com/repos/SiCKRAGETV/sickrage-issues/issues/2406/labels{/name}","comments_url":"https://api.github.com/repos/SiCKRAGETV/sickrage-issues/issues/2406/comments","events_url":"https://api.github.com/repos/SiCKRAGETV/sickrage-issues/issues/2406/events","html_url":"https://github.com/SiCKRAGETV/sickrage-issues/issues/2406","id":98522370,"number":2406,"title":"Permission denied on Episode Air Date File Stamping #IRC Reference","user":{"login":"LysanderM","id":11920646,"avatar_url":"https://avatars.githubusercontent.com/u/11920646?v=3","gravatar_id":"","url":"https://api.github.com/users/LysanderM","html_url":"https://github.com/LysanderM","followers_url":"https://api.github.com/users/LysanderM/followers","following_url":"https://api.github.com/users/LysanderM/following{/other_user}","gists_url":"https://api.github.com/users/LysanderM/gists{/gist_id}","starred_url":"https://api.github.com/users/LysanderM/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/LysanderM/subscriptions","organizations_url":"https://api.github.com/users/LysanderM/orgs","repos_url":"https://api.github.com/users/LysanderM/repos","events_url":"https://api.github.com/users/LysanderM/events{/privacy}","received_events_url":"https://api.github.com/users/LysanderM/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/SiCKRAGETV/sickrage-issues/labels/1:%20Bug%20/%20issue","name":"1: Bug / issue","color":"fc2929"},{"url":"https://api.github.com/repos/SiCKRAGETV/sickrage-issues/labels/2:%20Low%20Priority","name":"2: Low Priority","color":"d4c5f9"}],"state":"open","locked":false,"assignee":{"login":"miigotu","id":390379,"avatar_url":"https://avatars.githubusercontent.com/u/390379?v=3","gravatar_id":"","url":"https://api.github.com/users/miigotu","html_url":"https://github.com/miigotu","followers_url":"https://api.github.com/users/miigotu/followers","following_url":"https://api.github.com/users/miigotu/following{/other_user}","gists_url":"https://api.github.com/users/miigotu/gists{/gist_id}","starred_url":"https://api.github.com/users/miigotu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/miigotu/subscriptions","organizations_url":"https://api.github.com/users/miigotu/orgs","repos_url":"https://api.github.com/users/miigotu/repos","events_url":"https://api.github.com/users/miigotu/events{/privacy}","received_events_url":"https://api.github.com/users/miigotu/received_events","type":"User","site_admin":false},"milestone":null,"comments":3,"created_at":"2015-08-01T08:53:19Z","updated_at":"2015-08-14T12:39:55Z","closed_at":null,"body":"Hello there, \r\n\r\nI'm using SickRage with my Synology DS115j NAS, and trying to use File Air Date stamping setting in;\r\nSettings > Post Processing > Change File Date = True\r\n\r\nWhen (a) new episode(s) arrive(s) to my download folder, it/they arrive(s) with the ownership of my Synology Primary user as expected.\r\nI'm using filebot as primary renamer / subtitle downloader. It moves file(s) with the same owner/permissions to my video archive folder, which is normal either. \r\n\r\nThe problem is, when SickRage tries to airstamp on these episodes, the following errors occurs for each new episodes, unless I change the ownership via root user;\r\n\r\nchown -R sickrage:\"$folder\"\r\n\r\nLOG:\r\n2015-08-01 08:19:19 SHOWQUEUE-REFRESH :: File air date stamping failed. The error is: error 1 : Operation not permitted.\r\n2015-08-01 08:19:19 SHOWQUEUE-REFRESH :: 254367: Unable to modify date of Real.Humans.S01E09.Heritage.720p.BluRay.mkv to show air date Mar 11,2012 (21:00)\r\n\r\nBTW the sc-media user group (SynoCommunity) has Full Control (including changing ownership / and all the administrator privilages) permission on my media $folder. \r\n\r\nPS: sc-media has sickrage user.\r\n\r\nBut without timestamp, if I try to rename my episodes via Preview File Rename screen in Web-GUI, there isn't any error occurs, and everything works as expected. I can't understand the reason.\r\n\r\nThanks,\r\n\r\nLysanderM\r\n\r\nINFO:\r\nSR Version:\tBRANCH: (master) / COMMIT: (27ded15e814bcbd47d06d9bf16d130f9d42ebd45) \r\nSR User:\tsickrage\r\nSR Locale:\t(None, None)\r\nSR Config file:\t/usr/local/sickrage/var/config.ini\r\nSR Database file:\t/usr/local/sickrage/var/sickbeard.db\r\nSR Cache Dir:\t/usr/local/sickrage/var/cache\r\nSR Log Dir:\t/usr/local/sickrage/var/Logs\r\nSR Arguments:\t['--daemon', '--pidfile', '/usr/local/sickrage/var/sickrage.pid', '--config', '/usr/local/sickrage/var/config.ini', '--datadir', '/usr/local/sickrage/var/', '--nolaunch']\r\nPython Version:\t2.7.10 (default, Jun 3 2015, 17:38:42) [GCC 4.6.4]"},"comment":{"url":"https://api.github.com/repos/SiCKRAGETV/sickrage-issues/issues/comments/131094749","html_url":"https://github.com/SiCKRAGETV/sickrage-issues/issues/2406#issuecomment-131094749","issue_url":"https://api.github.com/repos/SiCKRAGETV/sickrage-issues/issues/2406","id":131094749,"user":{"login":"WebSpider","id":437323,"avatar_url":"https://avatars.githubusercontent.com/u/437323?v=3","gravatar_id":"","url":"https://api.github.com/users/WebSpider","html_url":"https://github.com/WebSpider","followers_url":"https://api.github.com/users/WebSpider/followers","following_url":"https://api.github.com/users/WebSpider/following{/other_user}","gists_url":"https://api.github.com/users/WebSpider/gists{/gist_id}","starred_url":"https://api.github.com/users/WebSpider/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/WebSpider/subscriptions","organizations_url":"https://api.github.com/users/WebSpider/orgs","repos_url":"https://api.github.com/users/WebSpider/repos","events_url":"https://api.github.com/users/WebSpider/events{/privacy}","received_events_url":"https://api.github.com/users/WebSpider/received_events","type":"User","site_admin":false},"created_at":"2015-08-14T12:39:55Z","updated_at":"2015-08-14T12:39:55Z","body":"We may want to set sticky group bits on TV_DOWNLOAD_DIR, since that forces group ownership of any newly created file/subdir (setgid bit)"}}