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

update to train's new file interface: symlink + uid + gid #694

Merged
merged 3 commits into from
Apr 29, 2016

Conversation

arlimus
Copy link
Contributor

@arlimus arlimus commented Apr 28, 2016

No description provided.

@alexpop
Copy link
Contributor

alexpop commented Apr 28, 2016

Spot on:

=> File /boot/grub/grub.conf
[2] pry(#<#<Class:0x007f80bac944f0>>)> f=file("/etc/grub.conf")
=> File /boot/grub/grub.conf
[3] pry(#<#<Class:0x007f80bac944f0>>)> f.path
=> "/boot/grub/grub.conf"
[4] pry(#<#<Class:0x007f80bac944f0>>)> f.mode.to_s(8)
=> "600"
[5] pry(#<#<Class:0x007f80bac944f0>>)> f.source.mode.to_s(8)
=> "777"
[6] pry(#<#<Class:0x007f80bac944f0>>)> f.symlink?
=> true
[7] pry(#<#<Class:0x007f80bac944f0>>)> f.source.symlink?
=> true
[8] pry(#<#<Class:0x007f80bac944f0>>)> f.source.path
=> "/etc/grub.conf"

@alexpop
Copy link
Contributor

alexpop commented Apr 28, 2016

Need to release train first

@arlimus arlimus force-pushed the ap/symlinks-refactor2 branch 2 times, most recently from fd1ea48 to 0da6373 Compare April 29, 2016 00:03
@arlimus arlimus merged commit 86b7903 into master Apr 29, 2016
@arlimus arlimus deleted the ap/symlinks-refactor2 branch April 29, 2016 00:26
@arlimus arlimus added the Type: Enhancement Improves an existing feature label Apr 29, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: Enhancement Improves an existing feature
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants