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

Does not set permissions on directories when applying recursively #8786

Closed
cyberduck opened this issue May 1, 2015 · 7 comments
Closed

Does not set permissions on directories when applying recursively #8786

cyberduck opened this issue May 1, 2015 · 7 comments
Assignees
Labels
bug sftp SFTP Protocol Implementation worksforme
Milestone

Comments

@cyberduck
Copy link
Collaborator

6b0f2c2 created the issue

Hi,
When trying to set permissions recursively, permissions are successfully applied to all files in the tree ( even files within folders and subfolders ), but folders itself appear to be skipped.
This happens for sure in SFTP (SSH)

@cyberduck
Copy link
Collaborator Author

@dkocher commented

Add test in 36b395d.

@cyberduck
Copy link
Collaborator Author

@dkocher commented

We cannot reproduce this failure. We do make sure to retain the executable bit on directories and will not remove it even when Execute is unchecked.

@cyberduck
Copy link
Collaborator Author

6b0f2c2 commented

Hi,
When I try to set 775 to an entire tree where there are subfolders that don't have execute bit set on "other" they remain unset.
I mean if some subfolders have 774 they would not be set to 775, they remain on 774, while the files inside gets 775.

Amedeo

@cyberduck
Copy link
Collaborator Author

6b0f2c2 commented

one more thing, I downloaded the source ( I'm a software developer too ) and I see that cyberduck is very well designed, with a core in Java and UI in native language based on platform. I found the Java classes who are responsible to set permissions.
However I was unable to realize how to make it run in development, could you give me some instructions ?
Thank you so much

ps: I have a paid license under name (amedeo@mantica.name)

@cyberduck
Copy link
Collaborator Author

@dkocher commented

Replying to [comment:7 amedeomantica]:

one more thing, I downloaded the source ( I'm a software developer too ) and I see that cyberduck is very well designed, with a core in Java and UI in native language based on platform. I found the Java classes who are responsible to set permissions.
However I was unable to realize how to make it run in development, could you give me some instructions ?
Thank you so much

ps: I have a paid license under name (amedeo@mantica.name)

There is some help for requirements in [source:trunk/README.txt]. Run ant to build.

@cyberduck
Copy link
Collaborator Author

@dkocher commented

#8808 closed as duplicate.

@cyberduck
Copy link
Collaborator Author

@dkocher commented

Add test in f912d7c.

@iterate-ch iterate-ch locked as resolved and limited conversation to collaborators Nov 26, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug sftp SFTP Protocol Implementation worksforme
Projects
None yet
Development

No branches or pull requests

2 participants