Ubuntu - FTP file edit permission denied
I have been trying to make an Unturned server for my friends, and I cannot edit ANY files in it.
What I've Tried:
I can't delete or upload to the FTP server; when I try to change the file permissions, it denies it.
I have changed the
write_enable=NO
towrite_enable=YES
in/etc/vsftpd.conf
but it didn't help. I cannot edit the permissions from the FTP server.Researching the web for answers, but I cannot find anything on this anywhere on the internet.
Other Details:
- I am using FileZilla for FTP services.
Goal:
I want to make it so anyone that can see the folder can edit it, and not just the terminal user.
If anyone can help me that would be great.
linux ftp file-transfer file-permissions ubuntu-server
|
show 1 more comment
I have been trying to make an Unturned server for my friends, and I cannot edit ANY files in it.
What I've Tried:
I can't delete or upload to the FTP server; when I try to change the file permissions, it denies it.
I have changed the
write_enable=NO
towrite_enable=YES
in/etc/vsftpd.conf
but it didn't help. I cannot edit the permissions from the FTP server.Researching the web for answers, but I cannot find anything on this anywhere on the internet.
Other Details:
- I am using FileZilla for FTP services.
Goal:
I want to make it so anyone that can see the folder can edit it, and not just the terminal user.
If anyone can help me that would be great.
linux ftp file-transfer file-permissions ubuntu-server
Is the user you/your friends use to log into the FTP server granted permissions for FTP transmission, and the FTP share?
– Service Manager
May 2 '17 at 14:30
And how do I do that exactly? I'm totally new to this FTP stuff.
– Randall Barker
May 2 '17 at 14:39
There are a few ways to do this, but the best way is to see what group a folder belongs to, and make sure that the users belong to that group. You can usels -l
to list file/folder permissions in your current directory, which will show you the owner and group of the file/folder (in that order). You'd then usegroups
to see what group the current (logged in) user belongs to. If you do have multiple user accounts, usesu [username here]
to switch to each user.
– Service Manager
May 2 '17 at 14:53
Doesn't even work. I have used all the accounts and nothing will let me edit it. It's FTP. Not command line.
– Randall Barker
May 2 '17 at 22:03
FTP is a protocol, which can be executed in a GUI, or terminal. Just to be certain, you have physical access to this server, right?
– Service Manager
May 3 '17 at 14:53
|
show 1 more comment
I have been trying to make an Unturned server for my friends, and I cannot edit ANY files in it.
What I've Tried:
I can't delete or upload to the FTP server; when I try to change the file permissions, it denies it.
I have changed the
write_enable=NO
towrite_enable=YES
in/etc/vsftpd.conf
but it didn't help. I cannot edit the permissions from the FTP server.Researching the web for answers, but I cannot find anything on this anywhere on the internet.
Other Details:
- I am using FileZilla for FTP services.
Goal:
I want to make it so anyone that can see the folder can edit it, and not just the terminal user.
If anyone can help me that would be great.
linux ftp file-transfer file-permissions ubuntu-server
I have been trying to make an Unturned server for my friends, and I cannot edit ANY files in it.
What I've Tried:
I can't delete or upload to the FTP server; when I try to change the file permissions, it denies it.
I have changed the
write_enable=NO
towrite_enable=YES
in/etc/vsftpd.conf
but it didn't help. I cannot edit the permissions from the FTP server.Researching the web for answers, but I cannot find anything on this anywhere on the internet.
Other Details:
- I am using FileZilla for FTP services.
Goal:
I want to make it so anyone that can see the folder can edit it, and not just the terminal user.
If anyone can help me that would be great.
linux ftp file-transfer file-permissions ubuntu-server
linux ftp file-transfer file-permissions ubuntu-server
edited May 2 '17 at 15:40
Service Manager
836418
836418
asked May 2 '17 at 13:33
Randall BarkerRandall Barker
111
111
Is the user you/your friends use to log into the FTP server granted permissions for FTP transmission, and the FTP share?
– Service Manager
May 2 '17 at 14:30
And how do I do that exactly? I'm totally new to this FTP stuff.
– Randall Barker
May 2 '17 at 14:39
There are a few ways to do this, but the best way is to see what group a folder belongs to, and make sure that the users belong to that group. You can usels -l
to list file/folder permissions in your current directory, which will show you the owner and group of the file/folder (in that order). You'd then usegroups
to see what group the current (logged in) user belongs to. If you do have multiple user accounts, usesu [username here]
to switch to each user.
– Service Manager
May 2 '17 at 14:53
Doesn't even work. I have used all the accounts and nothing will let me edit it. It's FTP. Not command line.
– Randall Barker
May 2 '17 at 22:03
FTP is a protocol, which can be executed in a GUI, or terminal. Just to be certain, you have physical access to this server, right?
– Service Manager
May 3 '17 at 14:53
|
show 1 more comment
Is the user you/your friends use to log into the FTP server granted permissions for FTP transmission, and the FTP share?
– Service Manager
May 2 '17 at 14:30
And how do I do that exactly? I'm totally new to this FTP stuff.
– Randall Barker
May 2 '17 at 14:39
There are a few ways to do this, but the best way is to see what group a folder belongs to, and make sure that the users belong to that group. You can usels -l
to list file/folder permissions in your current directory, which will show you the owner and group of the file/folder (in that order). You'd then usegroups
to see what group the current (logged in) user belongs to. If you do have multiple user accounts, usesu [username here]
to switch to each user.
– Service Manager
May 2 '17 at 14:53
Doesn't even work. I have used all the accounts and nothing will let me edit it. It's FTP. Not command line.
– Randall Barker
May 2 '17 at 22:03
FTP is a protocol, which can be executed in a GUI, or terminal. Just to be certain, you have physical access to this server, right?
– Service Manager
May 3 '17 at 14:53
Is the user you/your friends use to log into the FTP server granted permissions for FTP transmission, and the FTP share?
– Service Manager
May 2 '17 at 14:30
Is the user you/your friends use to log into the FTP server granted permissions for FTP transmission, and the FTP share?
– Service Manager
May 2 '17 at 14:30
And how do I do that exactly? I'm totally new to this FTP stuff.
– Randall Barker
May 2 '17 at 14:39
And how do I do that exactly? I'm totally new to this FTP stuff.
– Randall Barker
May 2 '17 at 14:39
There are a few ways to do this, but the best way is to see what group a folder belongs to, and make sure that the users belong to that group. You can use
ls -l
to list file/folder permissions in your current directory, which will show you the owner and group of the file/folder (in that order). You'd then use groups
to see what group the current (logged in) user belongs to. If you do have multiple user accounts, use su [username here]
to switch to each user.– Service Manager
May 2 '17 at 14:53
There are a few ways to do this, but the best way is to see what group a folder belongs to, and make sure that the users belong to that group. You can use
ls -l
to list file/folder permissions in your current directory, which will show you the owner and group of the file/folder (in that order). You'd then use groups
to see what group the current (logged in) user belongs to. If you do have multiple user accounts, use su [username here]
to switch to each user.– Service Manager
May 2 '17 at 14:53
Doesn't even work. I have used all the accounts and nothing will let me edit it. It's FTP. Not command line.
– Randall Barker
May 2 '17 at 22:03
Doesn't even work. I have used all the accounts and nothing will let me edit it. It's FTP. Not command line.
– Randall Barker
May 2 '17 at 22:03
FTP is a protocol, which can be executed in a GUI, or terminal. Just to be certain, you have physical access to this server, right?
– Service Manager
May 3 '17 at 14:53
FTP is a protocol, which can be executed in a GUI, or terminal. Just to be certain, you have physical access to this server, right?
– Service Manager
May 3 '17 at 14:53
|
show 1 more comment
1 Answer
1
active
oldest
votes
-Solution-
Solving this took me some time but I finally figured it out. You must first, login to the account you want on FTP (On a local network you may leave the port blank). If you can access the files, you are fine. Next, open a terminal connection to the Ubuntu Server itself. Once you have done so, login to an account with sudo permissions. You must then change the owner of the file. I suggest giving the user ownership of Everything in order to ensure full access.
First, run cd ~
to change the seclected folder, thensudo chown -R [User's Username]:root /home/[username]
. That should change the owner of the folder to the specified user along with all the files inside the folder. If you want to change ownership of just a specific file, run sudo chown [User's Username]:root [Directory (example: /home/user/folder/document.txt)]
-Flat out Instructions-
Login to the user (Sudo permissions required), run cd~
, find the folder you want, and run sudo chown -R [User's Username]:root /home/[username]
. Or for a specific file, sudo chown [User's Username]:root [Directory (example: /home/user/folder/document.txt)]
add a comment |
Your Answer
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "3"
};
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: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
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%2fsuperuser.com%2fquestions%2f1205280%2fubuntu-ftp-file-edit-permission-denied%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
-Solution-
Solving this took me some time but I finally figured it out. You must first, login to the account you want on FTP (On a local network you may leave the port blank). If you can access the files, you are fine. Next, open a terminal connection to the Ubuntu Server itself. Once you have done so, login to an account with sudo permissions. You must then change the owner of the file. I suggest giving the user ownership of Everything in order to ensure full access.
First, run cd ~
to change the seclected folder, thensudo chown -R [User's Username]:root /home/[username]
. That should change the owner of the folder to the specified user along with all the files inside the folder. If you want to change ownership of just a specific file, run sudo chown [User's Username]:root [Directory (example: /home/user/folder/document.txt)]
-Flat out Instructions-
Login to the user (Sudo permissions required), run cd~
, find the folder you want, and run sudo chown -R [User's Username]:root /home/[username]
. Or for a specific file, sudo chown [User's Username]:root [Directory (example: /home/user/folder/document.txt)]
add a comment |
-Solution-
Solving this took me some time but I finally figured it out. You must first, login to the account you want on FTP (On a local network you may leave the port blank). If you can access the files, you are fine. Next, open a terminal connection to the Ubuntu Server itself. Once you have done so, login to an account with sudo permissions. You must then change the owner of the file. I suggest giving the user ownership of Everything in order to ensure full access.
First, run cd ~
to change the seclected folder, thensudo chown -R [User's Username]:root /home/[username]
. That should change the owner of the folder to the specified user along with all the files inside the folder. If you want to change ownership of just a specific file, run sudo chown [User's Username]:root [Directory (example: /home/user/folder/document.txt)]
-Flat out Instructions-
Login to the user (Sudo permissions required), run cd~
, find the folder you want, and run sudo chown -R [User's Username]:root /home/[username]
. Or for a specific file, sudo chown [User's Username]:root [Directory (example: /home/user/folder/document.txt)]
add a comment |
-Solution-
Solving this took me some time but I finally figured it out. You must first, login to the account you want on FTP (On a local network you may leave the port blank). If you can access the files, you are fine. Next, open a terminal connection to the Ubuntu Server itself. Once you have done so, login to an account with sudo permissions. You must then change the owner of the file. I suggest giving the user ownership of Everything in order to ensure full access.
First, run cd ~
to change the seclected folder, thensudo chown -R [User's Username]:root /home/[username]
. That should change the owner of the folder to the specified user along with all the files inside the folder. If you want to change ownership of just a specific file, run sudo chown [User's Username]:root [Directory (example: /home/user/folder/document.txt)]
-Flat out Instructions-
Login to the user (Sudo permissions required), run cd~
, find the folder you want, and run sudo chown -R [User's Username]:root /home/[username]
. Or for a specific file, sudo chown [User's Username]:root [Directory (example: /home/user/folder/document.txt)]
-Solution-
Solving this took me some time but I finally figured it out. You must first, login to the account you want on FTP (On a local network you may leave the port blank). If you can access the files, you are fine. Next, open a terminal connection to the Ubuntu Server itself. Once you have done so, login to an account with sudo permissions. You must then change the owner of the file. I suggest giving the user ownership of Everything in order to ensure full access.
First, run cd ~
to change the seclected folder, thensudo chown -R [User's Username]:root /home/[username]
. That should change the owner of the folder to the specified user along with all the files inside the folder. If you want to change ownership of just a specific file, run sudo chown [User's Username]:root [Directory (example: /home/user/folder/document.txt)]
-Flat out Instructions-
Login to the user (Sudo permissions required), run cd~
, find the folder you want, and run sudo chown -R [User's Username]:root /home/[username]
. Or for a specific file, sudo chown [User's Username]:root [Directory (example: /home/user/folder/document.txt)]
answered May 4 '17 at 2:04
Randall BarkerRandall Barker
111
111
add a comment |
add a comment |
Thanks for contributing an answer to Super User!
- 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%2fsuperuser.com%2fquestions%2f1205280%2fubuntu-ftp-file-edit-permission-denied%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
Is the user you/your friends use to log into the FTP server granted permissions for FTP transmission, and the FTP share?
– Service Manager
May 2 '17 at 14:30
And how do I do that exactly? I'm totally new to this FTP stuff.
– Randall Barker
May 2 '17 at 14:39
There are a few ways to do this, but the best way is to see what group a folder belongs to, and make sure that the users belong to that group. You can use
ls -l
to list file/folder permissions in your current directory, which will show you the owner and group of the file/folder (in that order). You'd then usegroups
to see what group the current (logged in) user belongs to. If you do have multiple user accounts, usesu [username here]
to switch to each user.– Service Manager
May 2 '17 at 14:53
Doesn't even work. I have used all the accounts and nothing will let me edit it. It's FTP. Not command line.
– Randall Barker
May 2 '17 at 22:03
FTP is a protocol, which can be executed in a GUI, or terminal. Just to be certain, you have physical access to this server, right?
– Service Manager
May 3 '17 at 14:53