0
votes
1answer
23 views

ssh authorized_keys permission denied only until file is listed/stat'ed - VERY STRANGE

Ubuntu 14.04LTS running openssh. I'm getting a Permission denied (public key) when I try to ssh in using my public key. /var/log/auth.log shows "Could not open authorized keys ...
-1
votes
1answer
30 views

Make files which starts with a dote visible for every user

I'm trying to delete an uploaded Dropbox directory, but only receive "550 Access Denied" and i don't know why. I already tried to set the directory permissions to 777 but nothing changed. On the ...
0
votes
2answers
18 views

sub folders access to multiple groups

I Have a shared directory Department, it has 3 sub directories department wise Account, Sales, Presales and each sub directory have there department employees directory in the same like acc1, acc2, ...
0
votes
0answers
18 views

Create user to execute select tasks

I would like to allow a application user to perform select sudo or root tasks without the need for sudo or root permissions or password being entered. Normal (Prompts for password): sudo appuser ...
4
votes
1answer
58 views

Vim can break file permissions?

I was using Vim the other day as usual, when I noticed something strange. Here's what I did: ~$ touch testfile ~$ ls -l | grep testfile -rw-r--r-- 1 username groupname 0 Jul 23 10:00 testfile ~$ vim ...
0
votes
0answers
14 views

Trying to rsync and use sudo on other end

Scenario: Mac OS X Machine - old computer - user: john.doe Mac OS X Machine - new computer - user: john.doe Goal: Copy /Users/john.doe/Desktop and /Users/john.doe/Documents via rsync Problem: ...
0
votes
2answers
22 views

Changing file permissions on an HFS+ filesystem

I ran the command fdisk -l to find out what my external drive is formatted to, I found out it's uses GPT partitions and the filesystem is HFS+. When I try and create a new folder on the external ...
0
votes
1answer
20 views

Make newly created or uploaded (via ftp) files belongs to a group by default

Each time you create a file or upload it via FTP, considering your user is "myuser", it's chwon would be "myuser" for user and "myuser" for group. So you have to manually execute chown command to ...
0
votes
1answer
122 views

I broke SSH by using chmod on an EC2 Instance — How do I correct?

I have been running an Amazon EC2 Instance for a while, and recently accidentally changed permissions/ownership on folders recursively. I can no longer SSH into the instance. I do not recall what the ...
5
votes
1answer
191 views

Linux - group member cannot delete file with rw permission

Below shows a file, /tmp/testfile, owned by user1 with group changed to wheel that also includes user2. The file has rw permission for the group. So shouldn't any member of the group be able to delete ...
1
vote
1answer
21 views

Permanent permissions change on /proc

I have a Kopete plug-in that tries to blink my Thinkpad light when I have a new incoming message. To accomplish this it uses a /proc virtual file provided by the thinkpad-acpi kernel module, situated ...
0
votes
1answer
27 views

How to give apache ownership rights when creating a new file? [Centos 6]

So, is it possible to make multiple users the owner of a file when created? I mean, I know you can do chown -R apache:permissions /var/www/ (48:500) but that is only temporary because even if I decide ...
2
votes
0answers
43 views

Allow user to traverse path to given directory

Say, I want to give a user colleague read access to a directory /rather/long/path/to/the/directory, but not necessarily to its parent directories. As explained for example here and there, I first ...
0
votes
0answers
17 views

Vsftpd upload file with www-data permission

how can i get correct permissions drwxrwxr-x on file that are uploaded with Ftpuser1 in /var/www? Actually if i create file with Ftpuser1 i got this : -rw-r--r-- 1 Ftpuser1 www-data 0 Jul 11 ...
0
votes
0answers
17 views

Virtualbox VM folder and files permissions

I've copied VirtualBox VM folder from windows to linux server. (win machine died, so I restored backup). Now I want to place VM somewhere in /var/vbox/... and run VBoxHeadless on system startup. What ...
0
votes
0answers
29 views

Permission on create folder in ftp using vsftpd

i need create folder on FTP with permissions 755 and files with 644, so i set local_umask=02, and files are create with permissions 644 but folders stay 775, how to make folder with permissions 755, ...
1
vote
2answers
40 views

Linux permissions on a remote mount

On Windows, when I look at the permissions on a remote folder, the accounts are qualified with the machine name or domain, i.e. the authority for the account name. On Linux, if I have a VM with a ...
0
votes
0answers
21 views

mount XFS filesystem in ubuntu with permissions

I want to remove data from a Netgear Stora drive that I can no longer access via the Stora itself. The drive appears to be fine, but the Stora is fighting with my router, and it's old and somewhat ...
0
votes
1answer
22 views

Granting full rights on all files (owned by su) within certain directory

I got some trouble with a server situation, where i keep some configuration files in a sub-directory of a web project. Using my superuser account, i make changes to these files, which NetBeans commits ...
0
votes
1answer
19 views

What do I have to do so I can get 2 users to be able to access disk drives / partitions at the same time?

I mounted a disk drive using UserA ==> /run/media/userA/myDisk . userB is a member of the same group of userA. Why can userB not access the mountpoints? What do I have to do so I can get 2 users ...
0
votes
2answers
41 views

www-data group write after sftp?

I'd like to have my apache user be able to read and write files, my sftp user(s) to be able to upload files that are then available (rwX) to both other sftp users and apache, and everyone else read is ...
0
votes
1answer
36 views

Why does the alien package converter need root permissions?

When trying to convert a .deb package to .rpm using alien, I use this command: $ alien -r foo.rpm but it complains thusly: > Warning: alien is not running as root! > Warning: Ownerships of ...
0
votes
0answers
14 views

Restrict access on home server

I have a RaspberryPI with Raspbian. I want to host some files on there and give access to my friends as well via FTP and SSH. I want to create a big shared folder of sorts where they can read/write, ...
1
vote
0answers
36 views

Strange behaviour for setuid and setgid

I am doing a small experiment with special privilege bits as follows: [root@localhost~]# useradd user1 [root@localhost~]# cp /bin/touch /home/ [root@localhost~]# chown user1:user1 /home/touch ...
1
vote
2answers
71 views

Apply default full writes permission when creating new folder

We are facing issues of permissions. scenario is We have Federoa with Xammp server running and shared project directory for local network to create project folders for project development. Everything ...
0
votes
1answer
33 views

3rd party application unable to write to a directory via SFTP

Last night, I installed a program called ScreenCloud on my Fedora 20 laptop. This application uploads screenshots I take on my computer to a number of different places, one of the options being to my ...
0
votes
1answer
37 views

Standard user cannot access directory with ownership and mod 777, but root can

I have the weird issue of a directory being visible and viewable by root, but not by average users (even a sudoer). I run the command ls -alF at the directory containing the folder in question, and I ...
0
votes
1answer
30 views

Why does a double sudo modify permissions?

Context: sshed into an AWS t1.micro instance running Amazon Linux 2013.09, using the default ec2-user. I'm trying to list the contents of the default postgresql directory: What's in there? $ ls ...
0
votes
0answers
19 views

Execute programs remotely from ssh

I need to start teamviewer Server on a remote machine, problem is, when i do this from ssh no matter what user i'm on, even after sudo su on root@machine. Seems like isn't possible to execute it, ...
0
votes
0answers
57 views

How to always let rsync continue when (permission denied) error occurs

The following error happened with a rsync task. rsync: send_files failed to open "/home/user/scripts/@eaDir/script.js@SynoEAStream": Permission denied (13) rsync error: some files/attrs were not ...
0
votes
0answers
44 views

rm command fails on files with 777 permissions

I am trying to delete the file old.txt, which is located at: /disks/tests/backend/version/old.txt /disks/tests is a mounted disk /disks/tests/backend is owned by another user (same group as me) ...
0
votes
1answer
246 views

Kali Linux VM: Permission denied to run shell script, as root

I've just installed Kali Linux (Debian) in a VirtualBox VM. I want to install the VBOX Additions that will allow me to configure things like screen resolution (hopefully). My problem is running the ...
0
votes
0answers
77 views

How to keep owner and permissions at Samba edit/rewrite of file?

A file owed by the "apache" user on Linux (CentOS) has permissions a+rw (666): -rw-rw-rw- apache apache file.txt When I edit the file as "mz" user with a local editor (e.g. vi), then the ...
0
votes
1answer
29 views

Android adb execute permission not being applied

I tried applying execute permission on adb file but no success. Here's what I did. root@themanish:/media/BACKUP/AndroidBackup/android-sdk-linux/platform-tools# chmod +x adb ...
1
vote
1answer
35 views

Permission Denied in Crontab

I've searched half a day for the answer to this, with no luck. Any assistance will be appreciated. I have a PHP script that modifies the crontab, loads a new cron job, removes some etc. The script ...
1
vote
0answers
30 views

Can you add a Domain User to Samba?

Instead of adding a local user on a Linux computer using the command smbpasswd -a username. But how can you go about adding a domain account user on a Linux computer (provided that Linux is added to a ...
1
vote
2answers
31 views

I can't write to a folder which I'm a member of

I'm trying to setup folder access to a group so that all members of that group can create/edit/delete files within the folder. # create my group and add a member sudo addgroup dev sudo adduser martyn ...
1
vote
1answer
31 views

How to create a user and set permission only to some folders on ubuntu 10.04?

I need to create a user and only allow access to some folders on my server. The user also needs to be able to create an SSL Key with the command: openssl req -new -newkey rsa:2048 -nodes -keyout ...
0
votes
0answers
36 views

samba share guest ability to write to all files/folders, old and new

I currently have a samba share set up on RHEL, that allows any user to write to the root folder. I'm unable to write to the sub folders/files. I have run; chcon -R -t samba_share_t ...
0
votes
0answers
33 views

Permission denied when trying to install Adobe Air

I'm trying to install Adobe air 2.60 on Sabayon Linux with 3.12 kernel. When I tried to execute installer, I get "permision denied" error from execvp. dzar@dzar Adobe/ $ ls -al drwxrwxrwx 2 dzar ...
0
votes
0answers
29 views

Debian Server - ip_dynaddr - Permission Denied

I'm trying to set up a pptpd VPN with my RamNode Debian Wheezy server, but there are a few sites that refuse to load. Reading around, the solution for this seems to be corrently enabling ipv4 ...
0
votes
2answers
251 views

apache wont follow symlinks | 403 permission denied

im using Ubuntu 14.04, and got problem with apache configuration: i created a Symlink from /var/www/html torwards /home/me/myWebDirectory but localhost/myWebDirectory renders a 403-permission ...
3
votes
1answer
58 views

How to control permissions on external USB hard disk

I'm using RHEL 6.5, andhave an auto-mounted external USB drive. Any and all files created in the mounted filesystem are given permission 700 for dirs and 777 for files. The chmod command does not ...
1
vote
1answer
43 views

ACL On Linux like Windows Permissions

Is there something for Linux where you have more advanced controls for linux permissions on users and groups like Windows. Is that what SeLinux is about?
0
votes
1answer
189 views

Sublime Text 3 changes file permissions on save

I have bunch of files with permissions -rwxrwxr-- www-data www-data. In order to be able to edit them, I added my user to the www-data group. Now when I edit and save file with Sublime Text 3, the ...
0
votes
1answer
49 views

How to make rsync completely ignore permission from source

I'm trying to use rsync to copy from an Android source where the sdcard mount has rather nonsensical permissions (---rwxr-x) and rsync fails because it creates the destination directories with the ...
0
votes
0answers
23 views

WinSCP Set GID error

I'm asking this question on behalf of a customer who called into my help desk. He was using WinSCP to try and change permissions of a directories and it's directories. He set RWX for both user and ...
1
vote
1answer
160 views

How to setup nfs share for users with write permissions

We used ubuntu linux on desktops with ldap authentication. Both on server and clients we have identical users and groups. I've setup nfs server with public share, which should be available for all ...
1
vote
1answer
33 views

bash does not work when cd to a particular directory, read and write permissions denied

Trying to run a Perl's script in Linux Ubuntu 11.10, but when Cd to the path, says : no such file or directory, but i can clearly handle the files inside the path. when trying to change the ...
1
vote
1answer
34 views

changing apache root directory prevents me from accessing .git/config

I copied over a php folder from computer to another and hooked it up to apache.. however apache would return page forbidden.. after doing some research it turned out it was a matter of giving apache ...