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 chmod method to File and Folder class #3641

Closed
DyaGa opened this issue Nov 29, 2011 · 3 comments

Comments

@DyaGa
Copy link
Contributor

commented Nov 29, 2011

For example. I need to create folder and make it chmod as 0777.
And would be the better for doing this with next code:

$objFolder = new Folder('files/users/' . $this->feUser->id .'/ftp');
$objFolder->chmod(0777);

--- Originally created on November 16th, 2011, at 05:58pm (ID 3641)

@aschempp

This comment has been minimized.

Copy link
Contributor

commented Nov 29, 2011

A chmod() function is available in the Files library class.

--- Originally created on November 16th, 2011, at 08:07pm

@DyaGa

This comment has been minimized.

Copy link
Contributor Author

commented Nov 29, 2011

yes, I know.
But as you can see in example above it would be great if Folder class will also have this method.

--- Originally created on November 16th, 2011, at 08:28pm

@leofeyer

This comment has been minimized.

Copy link
Member

commented Jan 6, 2012

Implemented in aba42f3.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
3 participants
You can’t perform that action at this time.