I am in the process of setting up a new server (Debian - Lenny - now updated to Squeeze) and every things were going fine. But unfortunately from today , whenever a user login to ftp, it says
550 permission denied and not able upload / edit or remove any files ( i am able to see all files and folders)
Yesterday it was working fine..
I tried using bot Pure Ftp and Proftp and the issue is common
What I am trying to do is
add a unix user exalmple through adduser command with default directory for the user as /var/www/example.com (shell enabled)
owner of example.com is example
and using the above user name and password to ftp files to the folder
i've query regarding, user creation in Linux( RHEL 5), i.e, i've created a user ([root@localhost ~]#useradd slash ) and switched into that user, but am not able to run commands in it......It's displaying a message saying, PERMISSION DENIED. Do we need to provide any permissions while creating a user
We are using ubuntu 10.04 desktop version.ls > /dev/lp0 permission denied in user account we need user can access lp0 /usblp0. Our printing module is lp0 writing technology example dir >prn.
I have configured samba server.My requirement was that the path which i have to share was /srv/www/htdocs.With this the shared path for developer user was /srv/www/htdocs/projects.
So in the smb.conf file i made the entries as following:
After that root user was able login to both /srv/www/htdocs and also project folder and developer was only able to login to projects folder.That was according to my requirement but now the problem is that when developer is trying to edit any file in projects folder he is getting error that you dont have permissions to change this file.But developer should be able to edit any files. What changes i need to do now.
I'm using ubuntu,i have a bin file under my /usr/bin, if i run the command under root user i'm getting no problem an it works fine,if i try it in with differnent user im getting
Code: semctl:premission denied
so how can i edit my bin file and change it to right permission
In user mode [non-root] linux machine, tried to bind a socket by using a"ioctl(iInterfaceSocket, SIOCSIFADDR, &stCommand)". I am getting error 13 -> Permission denied because of user mode. If change from usermode to kernel mode everything works fine.I need to bind the socket in user mode only, please suggest solution for the abovewhile explaining the above,
For some reason I am having some issues with permissions of some images. They don't render because they are not set to 644. Now for some reason when I uploaded these files onto my shared hosting with cPanel the files work fine and permissions are fine. I can see there is a permission issue for the files locally on my Mac (OS X - El Capitan).
When I changes these locally on Mac the permissions go all weird and are prefixed with Custom, rather than mac-user-name: Read & Write, staff: Read, everyone: no access. then changes to custom: read & write etc. So then i tried changing permissions on web server see below and I get permission denied and after all the files are gone, i can't delete the images folder through SFTP or SSH. I changed back the image to 755 and tried deleting and still nothing. Not sure what the problem is. Before I chmod I checked that the images are set to the correct user and group as per the rest of the site.
So I try: Code: Select alluser_name@debian:/var/www/html/_files$ chmod -R 644 images
and I get this return: Code: Select allchmod: cannot access ‘images/box-icon.svg’: Permission denied chmod: cannot access ‘images/ie-icon.svg’: Permission denied chmod: cannot access ‘images/google-plus-icon.svg’: Permission denied chmod: cannot access ‘images/mobile-ready-icon.svg’: Permission denied chmod: cannot access ‘images/404.jpg’: Permission denied
I have installed Nginx with PHP-FPM on Debian 8 to learn more about Linux permissions. Nginx is run as www-data user.
I have created a simple PHP script that outputs the date. I have set the permission as 000 (no permission at all) and it is root:root. How come I can still run this script in the browser without getting access denied? The script is inside a folder with world execution. When removing the world execution permission, the script can't be run. How does this all connect to each other?
when i logging with root then i saw message "permission denied" Then i changed root shell directory "usermod -s .usr/ root" but it says "permission denied" again. what is the default shell directory, or what can i do for change permissions.
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: -
Code:
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.
I have an apache installation with /var/www/bob as the document root and the only site served up. I have bob as the directory's owner, and he is able to upload his files to that folder via ftp (vsftpd on the server). When a browser tries to access the pages, it simply gets a 403 forbidden. The problem occurs when apache2 tries to access the files bob uploads. The www-data user (Apache daemon) gets permission denied when I try to cat bob's files in the shell, so it's purely a permissions issue. What I can't figure out is how to give the Apache daemon the ability to read bob's files while also making certain it does not have the ability to modify any of them.
Distro: Debian 8 Xfce GPU: NVIDIA GTX 950M (hybrid with my 4th gen intel i7 I believe) BIOS: Megatrends version 2.15.1236
New Debian/Linux (in general) user here! I've done a lot of google self-aid and have yet to yield any successful results. I currently just did a fresh install and followed ONLY the steps listed on the Wiki for Bumblebee [URL] .... Scrolling down to the common issues, I also amended the /etc/bumblebee/xorg.conf.nvidia file with a "Screen" section:
I've all of a sudden been getting permission denied for almost everything I try to do. Upon logging in, I get a huge amount of "/dev/null: Permission denied"
The only way I can manage to get to the terminal is by Ctrl-C. It never brings up the command line, unless I do that.
If I try to startX, I get errors, also saying permission denied, and then one that says
Code:
I also get many "failed" errors when booting, most of them saying that a file could not be found/located.
Check the thread link at the top for other information in the first post.
I could reinstall Debian, but the computer I am using is a Libretto 110CT (64MB RAM), which has only a PCMCIA drive, for which I have a USB port replicator. There is no CD drive.
It was also a custom install fitted for the computer, so I'd rather not have to set everything up again, nor would I know how to exactly, as I've never done it before.
I'm using my AntiX M8 Live CD to repair a hosed Windows installation, I downloaded ComboFix to ~/home/Desktop and now I'm trying to copy (cp) the file to /mnt/ where I have already mounted the NTFS Windows partition. NTFS3G is integrated into AntiX, right? So why am I having permissions errors?
Code:
mepis1:/home/demo# cp -v Desktop/ComboFix.exe /mnt/SwSetup/ `Desktop/ComboFix.exe' -> `/mnt/SwSetup/ComboFix.exe' cp: cannot create regular file `/mnt/SwSetup/ComboFix.exe': Permission denied mepis1:/home/demo# So far, I can read it without any errors in Terminal and navigate through the whole filesystem in ROX-Filer, Do I need to edit /etc/fstab to be able to write to an ntfs drive?
I had debian lenny running smoothly for a while, then I think the power went out and the computer didn't shutdown smoothly. The next time I started it up I ran into this error: Checking root file system.../etc/rcS.d/S10checkroot.sh: line 274: /sbin/logsave: Permission deniedfailed (code 126)This happens in single user mode as well. I've tried fscking all my partitions but it doesn't help. I've booted in bypassing the normal init and changed the permissions of /sbin/logsave to 777 and during boot I get a message of: The file system check corrected errors on the root partition but requested that the system be restarted. failed!Then the system just reboots automatically without letting me to anything.
I ftp into the server and see the files, but when i try to make a directory or upload a file it returns an error saying that permission is denied.I am wanting the users to be able to log on with their user account and then be able to have full control over their directories. What can i do to fix this problem?I have enabled port forwarding for ftp. What else is there i can do? If you need any extra information, let me know! I would like to get this fixed asap!Here is my vsftpd.conf file.
# Example config file /etc/vsftpd.conf # # The default compiled in settings are fairly paranoid. This sample file
I am trying to ssh into one of my boxes and I keep getting a returned error "permission denied" (publickey, password).
I know that I am using the correct password. I have also set my router to forward the port to the correct IP. I am using the login option-l to specify the user that I want to log into the server as. On another box I removed some options from the ssh_config so that it would only use password authentication and THIS WORKED. On the new box, however, I do not see any option for removing the other authentication methods. Can I stop the ssh from the client from trying to use the other methods of authentication (I'm guessing this is what the publickey error is)?
I am not sure if this is the correct forum to post this as I have usually been able to find the answers from other peoples threads.The error I receive is below.(changed "at" as can't post links)"#1045 - Access denied for user 'root' at 'localhost' (using password: NO)" Not entirely sure what has happened here. I have had this server running for a long time and today it seems to have spat it's dummy out!I have checked the config.inc.php and the controluser and controlpass are entered correctly so the error saying a password is not being usPHP Code:Thisis needed for cookie based authentication to encrypt password incookie
I need to configure software as debian image to work on server. I need to create user who is not root, but being able to change IP (I don't know if administrators who will install my image need to give static IP to it, so I want to create special user role for them being able to change IP but not able to see some restricted folders in the image).
I have a user (let's call him John) who is not able to list contents of several 777 directories even though it appears he has permission to.
Case in point, as root:
Code:
Code:
If I use ls -a or strictly ls as john, I can list the contents of the nss directory:
Code:
That says to me that I have an issue listing permissions. Fine, I don't really need john to be able to list permissions. I want him to have rwx access to /media/nss/ENG which as you can see from my listing as root shouldn't be a problem since the perms on that dir are 777.
I am able to CD into the ENG directory or any other directory or subdirectory in /media/nss that has equivalent 777 perms, but once in the directories I can't list the contents:
Code:
I can get anywhere and do anything I want under the media/nss folder as john, except listing files. I even tried using an ACL i.e.
I am trying to give an SSH user on my server permission to compile C exploit with gcc, and I have had no luck. Every time i try to run gcc i get: "sh: /usr/bin/gcc: Permission denied. Has anyone else had this problem with this ?