Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add-GSDriveFilePermissions to share public - 'FileID' is ReadOnly property error #47

Closed
queks opened this issue May 17, 2018 · 3 comments
Assignees
Labels

Comments

@queks
Copy link

queks commented May 17, 2018

When using the following command:

Add-GSDriveFilePermissions -FileId "<Redacted FileID>" -type Anyone -Role Reader

I get the following error:

Add-GSDriveFilePermissions : 'FileId' is a ReadOnly property.
At line:1 char:1
+ Add-GSDriveFilePermissions -FileId "[redacted FileID]"
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : NotSpecified: (:) [Write-Error], WriteErrorException
    + FullyQualifiedErrorId : Microsoft.PowerShell.Commands.WriteErrorException,Add-GSDrivePermission
@scrthq scrthq self-assigned this May 17, 2018
@scrthq scrthq added the bug label May 17, 2018
@scrthq
Copy link
Member

scrthq commented May 17, 2018

I'm on it! thanks, @queks!!

scrthq added a commit that referenced this issue May 17, 2018
scrthq added a commit that referenced this issue May 17, 2018
#### 2.6.1

* Fixed: `Add-GSDrivePermission` error messages stating FileId is ReadOnly
* Fixed: `Get-GSGmailMessage -ParseMessage` broken on non-Windows OS's due to using $env:TEMP. Switched to converting the MimeMessage to a stream and parsing it that way for resolution and significant perf gains.
@scrthq
Copy link
Member

scrthq commented May 17, 2018

Fixed in v2.6.1! Update when you're able to and let me know if you're still having issues!

@scrthq scrthq closed this as completed May 17, 2018
@queks
Copy link
Author

queks commented May 17, 2018

It works! Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants