Ubuntu :: Permission To Upload / Delete / Edit All Files In / Home / Www / For Multiple Users?
Dec 16, 2010
I installed proftpd on my Ubuntu 10.10 install. I also run multiple websites that I want to allow ftp access to for 2 different users. The websites are located in /home/www/. This is where the guide I was following told me to put them. I also don't have a user named www.How can I give write permission to upload, delete, and edit all the files in /home/www/ for multiple users? They can connect to the ftp server and see the file, just not change them.
I'm having trouble breaking down permissions in linux. Here's the scenario. I have two users: UserA & UserB with each having to ownership and access to directories myDirA and myDirB respectively.
UserA --> /source/myDirA UserB --> /source/myDirB
I need to set the permissions so that userA can access myDirA and myDirB. There are other users and directories but they should not be able to view outside of their own directories (which is the way it is now). I don't have groups set up for them and I'd rather not change anything else but just the permissions.
rwxr_x_r_x UserA rwxr_x_r_x UserB
They're read/write/exec permissions are identical.
I'm a refugee from WindowsXP, running Fedora 14 with three user accountsMy problem is that I need the primary user (userd 500) to be able to have full access all other users' files in their home directories so that user can copy, move, delete, etc.I tried making that user a member of the other users' groups - but I still get the 'not got permission' error when I try to access their home directories
Is there no good way to assign permissions so that users can create files, modify files but cannot delete them? I know there's the sticky bit, but all that does is say that only the owner (who is a single user) is able to delete them. Ideally, what I want is to be able to use the sticky bit, but apply it to the file's group, rather than the file's owner.
Here's the example: I have a folder that is shared publicly. I want people not belonging to the folder's group to be able to create files, modify files, but not delete them. I want the folder's group to have full control. This would be possible if the sticky could apply to the folder's group, instead of the owner. I've looked into ACLs, but from what I gather, it's still just assigning permissions "none" "read" and "write," none of which would stop someone deleting a file, while still letting them create or modify (unless they were the owner, which is not helpful).
I just installed Ubuntu server 9.04 and am try to get it all set up but Ive run into a snag with Samba. I cant delete, add, or change files from my windows machine like I could before. Here is my minimalist Samba config that I used on my old ubuntu server:
[global] server string = %h server (Samba, Ubuntu) security = SHARE map to guest = Bad User obey pam restrictions = Yes
Im sure its just one small thing Im forgetting..Its been a while since I played around with my server!
the permissions for my home directory were accidentally changed from 'access files' to 'create and delete files', and I changed them back, but ever since then I am not able to change any preferences/settings at all. power management, themes, panels, emerald, anything. my user account is supposed to be the administrator, and all the user privliges are checked. how to get control of my computer back?
i try do modify BASHRC and ENVIRONMENT files on directory ETCthen all the command don't work, such as:SUDO, GEDIT, NAUTILUS, NANO and some others!now i want to edit the 2 files and delete the insert lines
I can't perform any of those.Except from the Terminal.I didn't edit any permission... nor installed anything.Don't know what to do.Also, "Move to Trash" appears grayed out, in the right-click menu (for all the files/folders).
I've setup a Lamp Server for Testing, The Lamp Server is Up & Running on CentOs 5.5
I am now trying to setup a VSFTP server where local users can upload files to there home directory so that Apache can serve web pages straight from the directories of system user home/accounts giving users the ability to run their own web sites which are hosted off the main server [tutorial here: [url]
So far i have been able to serve/display index.html files from the users home directory [url] but so far i cant upload files to any user home directory, every time i try to upload a file with filezilla i get this error message: 553 Could not create file. Critical file transfer error
I have searched online for similar problems like mine and so far i've tried alot of the solution but none seem to work. I'm confused, dont know where i went wrong, i put the users in a group called ftpusers and here are the permissions on the users (test, ftpuser & testftp) home directory. have a look an tell me where i went wrong :(
Also the root directory where the web pages are served from is called public_html here are the permissions
Here is my vsftp.conf file can someone check it to see if i made any errors in there:
I am using ubuntu 8.04 and have a separate home partition. While setting it up I had a few failures and was left with several directories containing many hidden files which I can't seem to delete. The man pages for 'rm' didn't seem to provide the answer either.
Is there a flag or escape sequence that will allow 'rm' to delete these files?
When I click on the "Browse" button on a web application, I get "File Upload" a dialog. However, I cannot select more than one files. I know it's not a big deal to most people, but I am writing a web page that allows users to upload multiple files at once. So, this is like a show stopper for me.
Here is my Fedora version: Linux saigon 126.96.36.199-105.2.23.fc11.i586 #1 SMP Thu Feb 11 06:51:26 UTC 2010 i686 i686 i386 GNU/Linux
I know this sounds like a really silly question, but I'm very new to using ubuntu. I was going to post this in the multimedia and video category but I noticed that the threads are very dead there.Anyway, I have a Canon Vixia HF10 digital camcorder, and I can't for the life of me figure out how to transfer my video off of it on to my computer. When I connect it via USB the computer sees the camcorder, but even after navigating through every folder I cannot find my video. I don't know if I'm missing a driver, or if there's something simple I can do in the terminal to transfer my videos, but I'm literally pulling my hair out trying to figure this out.
I've got that vsftpd running on a ubuntu 9.10 machine. Although I cannot upload any file, I always get a "550: Permission denied"-error.
Code: # Example config file /etc/vsftpd/vsftpd.conf # # The default compiled in settings are fairly paranoid. This sample file # loosens things up a bit, to make the ftp daemon more usable. # Please see vsftpd.conf.5 for all compiled in defaults. #
I have a strange problem when I do SSH to a FEDORA9 based Linux Server.
When I login using "adah" username in TELNET I am automatically directed to my home directory at location "/media/disk-1/home/adah". But when I use SSH to login using the same username I get the following message Code: Could not chdir to home directory /home/adahaj: Permission denied
I have a secondary disk which holds a /home directory structure from a previous install of Linux. I installed a new version on a new primary drive and mounted this secondary drive as the new /home. Problem is, even though the users are the same names and I can access the home directories for the users, I cannot login directly to their home directories, as I get the following error: -
login as: [me] [me]@[machine]'s password: Last login: Wed Jan 6 18:34:33 2010 from [machine] Could not chdir to home directory /home/[me]: Permission denied [[me]@[machine] /]$
Now, since the usernames are correct and the users are in the passwd file with the correct home directory paths, could it be user ID's that are different or something else? It's not as though I cannot access the home directories for the users, simply that I cannot log directly into them from a login prompt.
Recently I setup a system for a non-technical user. He is only using Firefox, Pidgin and OpenOffice for about 2 hours a day. I have created a folder "/home/jim/myFiles" where he can save his document files. But Jim has accidentally deleted his myFiles folder on 2 occasions. He had intended to delete a file in that folder. Is there a way to lock the folder so that the user and create/read/write documents in that folder but not delete the folder itself?
I have a separate ext4 partition which contains all my data (music, movies, etc). When I delete files from this partition it is very slow because it copies files from my data partition to the Trash folder in my home partition. How can I avoid this? Can't the trash be configured so that it uses a trash folder in each partition instead of copying files to another partition (which is slow).
We are trying to set up a classroom training environment where our SIG can hold classes for prospective converts from Microsoft/Mac. The ten machines will have /home/student01..10 and /home/linsig01..10 as users. We want /home/student01 to be able to explore and sudo so they can learn to administer their personal machines at home. We don't want them to be able to modify (sudo) /home/linsig01. I've seen the tutorial on Access Control Lists but I'd like other input so we get it right the first time.
Have a pureftp server on OpenSuse 11.2 (x86-64 bit), KDE 4.3.5, dual core AMD. It responds to ftp clients on another machine (openSuse 11.1) within the same subnet (192.168....) and delivers lists of directories, changes directories, etc. The clients (gftp, jftp, filezilla, dolphin--tried them all) are unable to upload to the server (after a successful log-in on the server as a user, not root) with an error message that seems to indicate an inability to open the file on the client machine. Also logged in as user on the client machine. From FileZilla:
Command:STOR FCtinyLogo2.jpg Response:553-Can't open that file: Permission denied Response:553 Rename/move failure: No such file or directory
What am I missing in permissions? The directory where the JPG is located belongs to the user who is signed in, its in his home directory. The users on the two machines are not the same.
I have got centos 5.3 running on my system. I have installed vsftpd and created a separate folder to upload files (upload folder created in/var/ftp/pub). From my client end I can download ftp files but when I try to upload files from my client I get a error message 550: permission denied. The upload folder has full permission ie 777. Checked the ftp config file everything looks ok.