Tag Info

New answers tagged

2

Log out and back in again, or in some cases, you need to reboot your system. Adding a user to a group doesn't take effect until then.


0

Easy enough on the Mac using applescript... # Mute the audio set volume with output muted # Spotify should be pause, so start it up tell app "Spotify" to play # Wait for ad to finish delay 30 # Unmute set volume without output muted More ideas here. In my quick test, it paused whenever large drops in volume occurred, not only when muted! PS: What is ...


0

If you're only adding one group, I used the following: exec sg <new group name> newgrp `id -gn` This is a variation on Legooolas's two-layer newgrp trick, but it is in one line and doesn't require you to manually enter your primary group. 'sg' is newgrp but accepting a command to execute with the new group ID. The 'exec' means that the new shell ...


0

You can use the /etc/fstab to add manually the device (use it with options rw,auto,user). After that, type mount -a to validate the job. See the documentation to more options that can be useful to you.


1

# Add the docker group if it doesn't already exist. $ sudo groupadd docker # Add the connected user "${USER}" to the docker group. # Change the user name to match your preferred user. # You may have to logout and log back in again for # this to take effect. $ sudo gpasswd -a ${USER} docker # Restart the Docker daemon. # If you are in Ubuntu 14.04, use ...


0

You didn't say how you were mounting this directory, but since you mentioned VirtualBox, I'm assuming that this is a shared folder between the host system and the virtual machine. Bring up the VirtualBox manager, edit the machine in question, and go to the 'Shared Folders' tab. Make sure that the shared folder has full access (Read-Only is not checked). ...


0

If your goal is to ensure the group devteam has the only write permissions to those files, then perhaps one of the members of devteam, in your case bob, should be the owner of those files instead of alice...


1

I've just come across this issue myself (on CentOS 6.5), but managed to fix it by adding a 'chmod' in the installation script at line 6. See the revised scripts below. I've included fixed version of both the Linux and MacOSX installation scripts below (there are minor differences). I realise it's probably far too late to help the original poster, but it ...


2

Turns out the file has an immutable attribute set on it. It is possible to remove the immutable attribute using chattr # chattr -i /usr/share/applications/google-chrome.desktop Now removal is possible # rm /usr/share/applications/google-chrome.desktop # echo $? 0


1

It's related to your umask. See this from the chmod manpage: A combination of the letters 'ugoa' controls which users' access to the file will be changed: the user who owns it (u), other users in the file's group (g), other users not in the file's group (o), or all users (a). If none of these are given, the effect is as if 'a' were given, ...


0

Trying out this tool, this should remove anything what you're not whant. This program name is unlocker, and this program can remove anything which has close bit element. The name not help it too much becouse you can get telephone unlcoker search result or something like this, so it this time this program can be available in here: ...


0

Kasperski installs a device driver that blocks deletion of those files (to protect itself from viruses altering the files and to do its "quarenteen" function). If you can't run the uninstaller, reinstall the program then uninstall it the normal way. That should remove the device driver.


1

If AV unable to clean the files mean, mostly it will be spyware or malware. Those can me removed by doing boot scanning. If the system was booted, it will be difficult to access those files, even if we change the permission. Hence I recommend to run boot scan to remove those spyware. There are lot of spyware cleaner are available which can do on boot scan ...


0

You need root access to change permissions of any directory except for your home-directory and in Apple OS X, root access is disabled by default, try the steps: Enable root : Apple support site - steps to enable root access. Change to root user: su - root and then try running your chmod commands on /usr directory to change permissions


0

I don't know a way to do this from Windows, (is there a "run file browser as administrator" or similar option?) but in case a windows-only answer doesn't turn up, I'm familiar with linux: It should be possible from a linux (Mint, Ubuntu, etc) live iso (cd/usb/dvd), mount the drive (with write permisions rw if it's not already, just clicking on the drive ...


0

In order to stat /Users/myuser/Documents/www/myproject, the nobody user, needs to be able to traverse each of the directories on the way to it, which means that it needs "search" (aka "execute", for historical reasons) access to each of those directories. Normally, only myuser has any permissions at all to /Users/myuser/Documents, so unless you changed this ...


0

I had the same issue with some files in the windows directory, most likely caused by a virus. running sfc /scannow fixed the problem for me


1

This issue has actually been discussed in a number of previous SU questions and answers, such as these and others: creating-an-elevated-shortcut-allowing-uac-to-be-bypassed-for-certain-trusted how-to-run-program-from-command-line-with-elevated-rights is-there-any-sudo-command-for-windows prevent-elevation-uac-for-an-application-that-doesnt-need-it ...


0

This prompt can be ignored by two methods, but reducing UAC sensitivity only. Try this methods and check you outcome. Select the "Change when these notifications appear" link at the bottom of the "Do you want to allow the following program from an unknown publisher to make changes on this computer" window. This way the 'UAC' reduces the sensitivity of the ...


0

I just had this issue. I did a lot of research, too, and even tried that C:\Windows\Registration thing hoping for a quick fix. In my case, that did not work. Here is what happened to start the chain of events. This story is relevant later on: After a hard drive crash, I recreated a user account for my wife. I logged in as her and verified it worked. ...


0

We use a product named Scannerz (http://scsc-online.com/Scannerz.html) to do testing. The nice thing about it is it can do other system tests like cable checks, sector checks, system checks, etc. and it can detect degradation SMART testing misses. It checks SMART status but doesn't alarm you when trivial events occur, whereas most SMART testing software ...


1

This is probably related to the NTFS permissions on the old drive (files) still reflecting the old system. To fix this, try taking ownership of the files (try just one first and see if that works), the same procedure works for entire directories or drives. Right click a file or directory Click Properties from the menu Click the Security tab Click the ...


1

After posting this question, I stumbled onto the answer. I’ll leave the question and post an answer so nobody else with the same problem bruises their forehead smacking it. The problem had nothing to do with permissions. There were a number of coincidences that pointed in the wrong direction. The files I was trying to move contained a character in the ...


0

Maybe you could try passing in umask parameters when mounting? # sudo mount /dev/sda1 /mnt/usb -o umask=000 chmod/chown wont work because permissions are already determined at time of mount. Most drives are also formatted with FAT32 thus are unable to store UNIX permissions


0

You might have deleted the wrong project. Could you connect to the mysql database (credentials can be found in /root/.tuleap_passwd , go to the tuleap database and issue a: select group_name, status from groups where group_id=1; Could you print back the result here. UPDATE So, as it appear you deleted the wrong project, the administration project of ...


0

It is mapping your printer on your local machine through your RDP session, if that is how you are accessing the server. You can edit the RDP shortcut by clicking the "Local Resources" tab and unchecking the printers check box. This will stop your local printer from being redirected. Hope that helps.


0

Make sure new files are owned by the developers group, set g+s and set the default permissions to read, write and execute. chown -R :developers /var/www/html chmod -R g+s /var/www/html setfacl -d -m g::rwx /var/www/html


0

For anyone who comes across a similar problem in the future here's how ya solve it: group policies! go to the domain server and override the domain server's group policies, on the server you cant connect to log in as your admin account and go to cmd and do gpupdate /force to refresh the policy and then users can log in hope this helps :)


0

i think its better to access all users remote desktop connection and its good to remove yourself and allow every body and allow none lan connection after all if you have firewall or etc turn it off post screen shots and exact error thanks (i have no 50 rep so i cant comment and please dont vote me down)


0

Try specifying the filename explicitly, dot included. For instance, rm .fuse* (if you want to include all files beginning with ".fuse"


0

Assuming that you have Windows PowerShell installed the following commands in a PowerShell prompt should do what you want In this example File A is the file with the permissions to copy, and file B is the file which should recieve the copied permissions. Get-Acl -Path <path-to-file-a> | Set-Acl <path-to-file-b> I'm pretty sure PowerShell ...


0

All you have do do is properly configure your ftp service provider. I use VSFTPD, so my configuration was in /etc/vsftpd.conf inside there, there was a setting commented out, #chown-uploads=YES. after uncommenting this (by removing the pound symbol) all files uploaded via ftp were owned by the currently logged in user. this allowed easy editting from ...


0

su and su - will produce much different results. su - will read in the environment of the new user replacing the prior environment. su will merge them. check your identity with the id command and you may discover why you have permissions. It could be that you retained a group membership that allows you access.


0

SOLUTION show files filter only with shell script header apply executable permission find /cnn -type f | xargs grep -rl '#!/bin/sh' | xargs chmod 755 Ref thanks to: WombleGoneBad, Silver Moon, Himanshu Arora


1

An administrator can gain access to (almost) all files on a system by modifying permissions. This is how the system is designed, for that reason it isn't really possible for a non-administrator to prevent an administrator gaining access to files by using only filesystem permissions. One possible solution would be to use encryption to protect the contents of ...


0

Simple approach In NTFS you can manipulate permissions as you want. Remove all permissions from that folder. Add permissions only to specyfic account. To do that - go to folder Properties, Security tab and click Edit. You will figure out next steps. If other administrator will try to access that folder - he will be notified that he has no permissions, ...


8

Create a new user for this protected files/directories. Then do (replace $newuser with the new user account name ;): chown $newuser filename directoryname chmod og-rwx filename directoryname This way, the files and directories are even save when you don't log out and have your screen not locked for some reason.


14

The easiest way would be to change the permissions of the files to not be readable by anyone other than the owner. Once that is done, a user would have to either log in as you (which should require a password) or sudo as root (which also should require a password). To change the permissions, simply use the following command on any files you don't want ...


0

You can get a list of all the chown commands to issue like this: tar --numeric-owner -tvjf backup.tar.bz2 | perl -e 'while (<STDIN>) { s|/|:|; @t = split(" "); print "chown $t[1] \x27$t[5]\x27\n"; }' | tee /tmp/chown_cmds Output will be like: chown 0:119 './var/cache/jockey/driverdb-OpenPrintingDriverDB.cache' chown 0:119 ...


0

Sorry, what I need is in the documentation after all. You don't remove inherited permissions, you protect child objects from inheritance from parent objects with the action parameter setprot like: -actn setprot -op “dacl:p_nc;sacl:p_nc“



Top 50 recent answers are included