Magento file system owner Ubuntu
I am really really new to Magento 2 so forgive my lack of knowledge.
I am reading the Magento documentation and I keep seeing Magento file system owner.
E.g. sudo -u Magento_file_system_owner command
Problem is, I don't really understand what this user is or how to create it. I've tried to research online, but couldn't really find a clear explanation on how to create a Magento file system owner.
Any help/guidance is very much appreciated!
magento2 command-line
bumped to the homepage by Community♦ 2 mins ago
This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
add a comment |
I am really really new to Magento 2 so forgive my lack of knowledge.
I am reading the Magento documentation and I keep seeing Magento file system owner.
E.g. sudo -u Magento_file_system_owner command
Problem is, I don't really understand what this user is or how to create it. I've tried to research online, but couldn't really find a clear explanation on how to create a Magento file system owner.
Any help/guidance is very much appreciated!
magento2 command-line
bumped to the homepage by Community♦ 2 mins ago
This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
add a comment |
I am really really new to Magento 2 so forgive my lack of knowledge.
I am reading the Magento documentation and I keep seeing Magento file system owner.
E.g. sudo -u Magento_file_system_owner command
Problem is, I don't really understand what this user is or how to create it. I've tried to research online, but couldn't really find a clear explanation on how to create a Magento file system owner.
Any help/guidance is very much appreciated!
magento2 command-line
I am really really new to Magento 2 so forgive my lack of knowledge.
I am reading the Magento documentation and I keep seeing Magento file system owner.
E.g. sudo -u Magento_file_system_owner command
Problem is, I don't really understand what this user is or how to create it. I've tried to research online, but couldn't really find a clear explanation on how to create a Magento file system owner.
Any help/guidance is very much appreciated!
magento2 command-line
magento2 command-line
edited Jul 3 '16 at 20:35
user3713377
asked Jul 3 '16 at 19:53
user3713377user3713377
489
489
bumped to the homepage by Community♦ 2 mins ago
This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
bumped to the homepage by Community♦ 2 mins ago
This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
add a comment |
add a comment |
2 Answers
2
active
oldest
votes
If you were told a user name to log in to your system by a hosting provider, you are probably need to set one-user permissions as that user. In the event of a one-user setup, the same user owns the Magento files. That user grants write permissions to all others on the system (notably, the web server, who typically runs as nobody
).
If, however, you can log in to your server as root
or can sudo
to root
and create other users, you should create a local Magento file system owner user and make that user the owner of the files in the Magento file system. That user shares ownership with the web server by virtue of a group to which both users belong.
add a comment |
That command means you should run the command using the user that owns the Magento files/folders. This user can vary but you should be able to position yourself in the document root and run ls -l
or ll
and get an output like this
where sjengle (the string in the 3rd column) is the owner of the file and hence, Magento_file_system_owner in your case.
add a comment |
Your Answer
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "479"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});
function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: false,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmagento.stackexchange.com%2fquestions%2f124012%2fmagento-file-system-owner-ubuntu%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
2 Answers
2
active
oldest
votes
2 Answers
2
active
oldest
votes
active
oldest
votes
active
oldest
votes
If you were told a user name to log in to your system by a hosting provider, you are probably need to set one-user permissions as that user. In the event of a one-user setup, the same user owns the Magento files. That user grants write permissions to all others on the system (notably, the web server, who typically runs as nobody
).
If, however, you can log in to your server as root
or can sudo
to root
and create other users, you should create a local Magento file system owner user and make that user the owner of the files in the Magento file system. That user shares ownership with the web server by virtue of a group to which both users belong.
add a comment |
If you were told a user name to log in to your system by a hosting provider, you are probably need to set one-user permissions as that user. In the event of a one-user setup, the same user owns the Magento files. That user grants write permissions to all others on the system (notably, the web server, who typically runs as nobody
).
If, however, you can log in to your server as root
or can sudo
to root
and create other users, you should create a local Magento file system owner user and make that user the owner of the files in the Magento file system. That user shares ownership with the web server by virtue of a group to which both users belong.
add a comment |
If you were told a user name to log in to your system by a hosting provider, you are probably need to set one-user permissions as that user. In the event of a one-user setup, the same user owns the Magento files. That user grants write permissions to all others on the system (notably, the web server, who typically runs as nobody
).
If, however, you can log in to your server as root
or can sudo
to root
and create other users, you should create a local Magento file system owner user and make that user the owner of the files in the Magento file system. That user shares ownership with the web server by virtue of a group to which both users belong.
If you were told a user name to log in to your system by a hosting provider, you are probably need to set one-user permissions as that user. In the event of a one-user setup, the same user owns the Magento files. That user grants write permissions to all others on the system (notably, the web server, who typically runs as nobody
).
If, however, you can log in to your server as root
or can sudo
to root
and create other users, you should create a local Magento file system owner user and make that user the owner of the files in the Magento file system. That user shares ownership with the web server by virtue of a group to which both users belong.
answered Jul 4 '16 at 17:05
Steve JohnsonSteve Johnson
98954
98954
add a comment |
add a comment |
That command means you should run the command using the user that owns the Magento files/folders. This user can vary but you should be able to position yourself in the document root and run ls -l
or ll
and get an output like this
where sjengle (the string in the 3rd column) is the owner of the file and hence, Magento_file_system_owner in your case.
add a comment |
That command means you should run the command using the user that owns the Magento files/folders. This user can vary but you should be able to position yourself in the document root and run ls -l
or ll
and get an output like this
where sjengle (the string in the 3rd column) is the owner of the file and hence, Magento_file_system_owner in your case.
add a comment |
That command means you should run the command using the user that owns the Magento files/folders. This user can vary but you should be able to position yourself in the document root and run ls -l
or ll
and get an output like this
where sjengle (the string in the 3rd column) is the owner of the file and hence, Magento_file_system_owner in your case.
That command means you should run the command using the user that owns the Magento files/folders. This user can vary but you should be able to position yourself in the document root and run ls -l
or ll
and get an output like this
where sjengle (the string in the 3rd column) is the owner of the file and hence, Magento_file_system_owner in your case.
answered Jul 3 '16 at 22:48
mbalpardambalparda
6,63631543
6,63631543
add a comment |
add a comment |
Thanks for contributing an answer to Magento Stack Exchange!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmagento.stackexchange.com%2fquestions%2f124012%2fmagento-file-system-owner-ubuntu%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown