If I was to chmod 777 blah.sh on server A and then move it to server B, would it retain the permissions, or would it default to some other permissions once it hit server B?
Tell me more
×
Unix & Linux Stack Exchange is a question and answer site for
users of Linux, FreeBSD and other Un*x-like operating systems.. It's 100% free, no registration required.
|
|
||||
|
migrated from stackoverflow.com Apr 3 '11 at 22:21
|
That depends entirely and completely on the method of transfer.
|
||||
|
|
No it won't since the permissions are attached to users. However it only takes a simple command to chmod a file so just move it and set the permissions. |
|||||
|
