I have a basic linux server setup (setup locally on my network with no outside access) and i wanted to FTP files to the /var/www directory.
I have installed vsftpd and i have access to the server via FTP on another machine.
The problem i am having is the permissions on the directories and files uploaded are no the same as root, although i have setup a user with the admin user group which has root
I want to make different users at my server(say 22.23.34.*) and set each user's permissions to their particular directory only.
Lets say my server is having three directories
Directory A, B, C
=> Now root user should be able to access all the directories. He can update , delete etc in all directories.
=> now let's say I make another user "A".
I have many file permission problems, as being a newbie, I unfortunately set permissions on everything somehow to 777 (chmod -R 777 /). I believe I've done this from the root directory logged in as the root and now can't really do much at all but log in as another user.
I need to mainly change the ssh permissions, but obviously can't because it won't let me log in as the root user.
I'm trying to give a particular user superuser privileges, specifically the global write permissions that root hashe user in question must have these permissions without using sudo. It's a user that runs a service that is trying to write a file to a directory that it doesn't have write permissions on.
Hi all,
I was playing around with chmod and I found that even files are protected from being written, I can delete them.
In the following example, I create as a root a file named foo and remove all access permissions.
I can't for the life of me figure out how to design my permissions scheme for my apache files.
I've used system($cmd) for years with very reliable results until F17 and PHP 5.4.4. The programs execute, ok, but they can't see any files in directories owned by root, regardless of permissions. PHP itself can read root-owned files, but not shell_exec() programs.
Hi everyone,
My problem is: I have to create an user (admin maybe) with full permissions (rwx) to other users (regular users) files without using the sudo command.
The system has a crontab job (as root obviously) that will remove all permissions when necessary from files a I choose.
Just installed F17 KDE, and discouraged that editing and saving jpg files as the first (and only non-root user)
gets blocked on that firstuser desktop (where everything is getting stored).
A google search led to forum posts about how F18 may not act like this - great !
But what about F17 for now ?