Tag Info

New answers tagged

0

You could set up a chroot login for this user so that he/she is constrained to a directory. You could then place output.txt in this chroot or if that isn't possible, create a symlink to output.txt in the directory. openssh can be configured to chroot your users. However, that's the easy bit. The complex bt will be to work out which files (executables, ...


1

To read a file on a Unix system, you need the x permission bit on all levels of parent directory, and the r permission bit on that file. In your case, for instance, friend would need x on /var, /var/log, and /var/log/apache2, in addition to r on /var/log/apache2/friend.access.log. You could do this via ACLs if you don't want to give all users permissions to ...


0

This link provides the solution: (I encountered the same issue) http://www.josephturley.com/solved-required-permission/


0

Turn off or Disable Antivirus Copy file(s) Turn on or Enable Antivirus


1

I've solved the problem by settings permissions to the folder with PowerShell. $InheritanceFlag = [System.Security.AccessControl.InheritanceFlags]::ContainerInherit -bor [System.Security.AccessControl.InheritanceFlags]::ObjectInherit $PropagationFlag = [System.Security.AccessControl.PropagationFlags]::None $objType = ...


0

Things to check for: No extra characters in authorized_keys. appended or prepended. Correct permissions 700 for .ssh and 600 for authorized keys. Correct file ownership, user test can't read a file owned by another user or root because of the files permissions.


0

Hold down shit, then right click on your shortcut/executable and there will be a 'Run as user...' option.


0

FileZilla server does not support SITE CHMOD command. It would not make sense anyway. FileZilla server is supported on Windows only. Unix style permissions does not make much sense on Windows. Nor it supports any other way to change file permissions (not even Windows-style).


0

Open up an administrative command prompt, then map the share again in this administrative context. net use \\destserver\share /user:destserver\username password Retry the copy/move in explorer.


0

Just because you're the administrator doens't mean you automatically have permissions to things. The folder probably didn't have your administrator account in the list. I'm assuming you used the sharing wizard when you shared it, which will not only create and give you permission to the share, but will also ensure you have permission to the underlying ...


-2

The permission of the link is not so important... the permission of the target is !! please do a ls -la on "../../devices/ahb.0/apb.1/pinctrl.2/fffff800.gpio/gpio/pioC16"


0

10.13.2014: This was extremely helpful! I've tried the steps noted on Parallels: How do I install Parallels Tools in Ubuntu Virtual Machine? http://kb.parallels.com/en/113394 Parallels Tools manual installation http://kb.parallels.com/en/112609 And a couple of other sites as well that I no longer know the link to (not going through my History) The key, ...


1

Repair Permissions Lion, ML &c via their hidden feature In Lion, ML, Mavericks... repairing permissions with Disk Utility, as is usually done, does NOT repair User file permissions. Using a hidden feature by following the steps below will repair permissions does a better, more thorough job, and often fixes strange issues: Restart, and immediately ...


0

cacls.exe is your friend with some options: /T: Recurse /E: Edit ACLs so leaving others untouched /G: Grant So you end up with cacls X:\some\folder /T /E /G username:F


0

sudo -u foo -H touch bar You're trying to assume the account of the foo user, who does not have login access (specifically, a shell). That won't work :-) You could either control the user's home directory as root. e.g. sudo touch /home/foo/bar sudo chown foo.foo /home/foo/bar To achieve what you want, or if you can, su to root and do it, or; You ...


1

In a non-interactive shell, it's possible that your 'www' user is only getting their primary group (as defined in /etc/passwd) and not any additional groups (as defined in /etc/group). You can probably test if this is the case using: <?php echo exec('id'); ?> If webaccess isn't listed in the groups, that's probably why it can only read the files ...


1

If the only editing you've been able to do is a) through sudo, and b) in the home folder, you are using a non-root user. That's a good thing, but it means you'll run into exactly these constraints. If you want to upload directly to /var/www without being root, you could adjust the ownership or permissions on that folder, like this: sudo chown $USER /var/www ...


1

It can be achieved in different way by manipulating advanced permissions and permissions inheritance. For example how I do it for user mmv and folder test D:\empty\test>icacls . VS2K8TS\mmv:(OI)(CI)(IO)(F) VS2K8TS\mmv:(RX,W,DC) BUILTIN\Администраторы:(I)(OI)(CI)(F) NT AUTHORITY\система:(I)(OI)(CI)(F) СОЗДАТЕЛЬ-ВЛАДЕЛЕЦ:(I)(OI)(CI)(IO)(F) I only add ...


1

Because Android was designed in the context of our contemporary need for security. Windows is based on an operating system model that was developed many years ago, long before security was something we knew we needed at every level of computing. The developers of the Android OS made their design decisions in the context of our present-day security ...


1

Because it'd break compatibility with the vast amount of existing software that's already out there. I don't know about iOS, but on Android, the system doesn't detect what permissions the app needs; it relies on the developer to specify them. Android tells you which permissions the app requests, and grants it those permissions if you install it. Windows ...


-2

im gonna guess. Androids permission system was really designed as a solution to paranoia about device security and privacy. People technically have that already on windows: in the sense that your computer is theoretically at home behind a locked door, or a password, and possibly with a solid firewall/av. Most people understand what a virus is, and its ...


0

Here is my work around. Right click the directory that your files and or other folders are in and as above make sure that everyone has permission to read and write as shown above, however and this is the bit that made it work for me. under the sharing and permissions box there is a + - and a cog Click the cog and then select "Apply to enclosed items" a ...


1

Without admin privileges on the Host OS it will be very difficult to get high performance from your Guest OS unless the system was already pre set up to let you start your portable VM image as a non administrator. For example if VMWare player was already pre-installed on a machine you could easily move your VM on and off the machine making it portable, and ...


0

check the answer here: http://unix.stackexchange.com/questions/140193/777d-some-files-how-do-i-repair-ssh I would advise to test first before applying to any production environments. If your issue is fixed, then please take a backup of your system


0

The easiest way to have a machine to copy permissions from would be to set up a fresh machine (on a VM, on a container) and copy from there. In the case of a container, you can easily access the container filesystem from the host, making it easier. If you are running Debian, check debootstrap.


0

I figured out the problem. The security settings are right. The problem is Microsofts behaviour (or the one of the user): If I move a file from the same partition to an other folder the security settings are not adapted even though the security settings are set correctly (inheriting permissions). Meaning to solve the problem I copy the file I want to move ...


6

Without a source machine to copy permissions from, wether programmatically or by hand (yeah, right), you are up the virtual creek without a paddle. The best you can do is hope for a tar backup that you took and forgot about to recreate permissions from. Even copying permissions from a proper source system will likely not bring things back to perfect ...


0

In Ubuntu at least, the settings for this are in /etc/apache2/envvars. Tweak those, then restart apache and you're off and running.


0

My situation is slightly different, but Google brought me here, so I thought I'd share... My server is running debian stable and trying to execute a shell script worked once then the permissions automagically changed to 644 and the next attempt to run the script got Permission denied. It turned out to be a samba server issue for me and I didn't notice the ...


1

chmod +x <filename> Command will make script executable. then run script with: ./<filename>


0

It seems you have to check with your local system admin on how to get scripts to run. This is how it should work, when you have control: $ cat >run #!/bin/bash echo 'hello world' ^D $ cat ./run #!/bin/bash echo 'hello world' $ chmod 755 ./run $ ./run hello world $


0

I have the same problem when I'm positioned in the "target" folder from another CMD or the file explorer. Simply move out of the "target" folder and "mvn clean" will work. Maven cannot remove the "target" folder if it's in use by another process.


2

You can do this from the Task Manager, as described on this article. To summarize, you have to add a new column to the view : UAC Virtualization. From the value of this field, you are able to determine whether the process is running elevated or not. If you want to do this remotely, or via a script, I suggest you to have a look at PowerShell. Particularilly ...


0

Ben is a member of two or more groups I think. Ben can use 'newgrp http' to select that group membership to write files. If you chmod g+rwx /srv/http then the directory is read-write for the group http


0

Q: Any ideas what could be causing this? A: Yes. The Share permissions don't grant you enough access. When accessing shared folders over the network, the Share and NTFS permissions work in concert to control access to the shared folders. When accessing the folders locally, only the NTFS permissions control access to the folders.


0

Try mapping the drive with NET USE, using the USER parameter. Example: NET USE Z: \\MyServer\MyFolder /USER: MyServersDomain\MyUserOnMyServersDomain You should be prompted to provide a password. After a successful drive mapping, you will be able to access the share as Z:\. If you get an error about multiple connections with different accounts, try ...


2

When sharing folders in Windows there are two sets of permissions you need to control. First is the file system permissions. It sounds like you have full and/or modify access, since you are able to RDC in and modify the file system. Secondly, there is the share level permissions. Share permissions are seperate from file and folder permissions and are set ...


0

Finally figured it out. Turns out the shared folder I was accessing it through (e.g. \\MyServer\SharedFolder) had read-only permissions on it.



Top 50 recent answers are included