Tag Info

New answers tagged

0

Boot CD Windows Vista/7/8 and wait language choice dialog Press Shift+F10 - run cmd Run notepad and open file, to view logical disk, and find disk name with OS.or search disk name use comand: bcdedit /enum| find /I "os" go to system32 directory cd /d <OS disk name>:\W*\s*32 rename ren Utilman.exe *2.* replace Utilman.exe copy cmd.exe ...


0

I found that I could set the default permissions, for new files created in the folder to -rw-rw----. using setfacl -dm u::rw,g::rw,o::--- /var/www/dropbox I then create a "placeholder" file in /var/www/dropbox using echo "junk" >/var/www/dropbox/file.name If I then copy a file, file.name, into /var/www/dropbox, it assumes the permissions of the ...


0

The problem is your partition is mounted via fuse. That's not the same as mounting a filesystem native. Use that command: sudo mount -t ntfs-3g /dev/sda1 /home/pi/dd -o uid=1000,gid=1000 That should set the partition's user and group to pi.


0

While you are there you may want to think about making a few other changes as well. If you change the following lines: size_t pl = strlen(dir) + 1 + strlen(prefix) + strlen(img_md5_str) + 1 + strlen(ext); char *path = malloc(pl+1); snprintf(path, pl+1, "%s/%s%s.%s", dir, prefix, img_md5_str, ext); int cover_fd = open(path, O_WRONLY | ...


1

Here's a potential solution. I looked at the code within shairport that writes the album cover file. We can probably modify shairport's code to include a specific set of permissions. I'm relatively new to all this so bear with me. My idea is to edit the file metadata.c. Here's a link to the file at the shairport github: ...


1

Instead of setting the ownership of the device, you need to set the ownership/permissions of the mount point. Supposing you put the mount point at /data: sudo chown user:user /data sudo chmod 777 /data This will set the ownership to that user and give everyone permissions to read, write, and execute.


1

The dev/sdb1 is the device file. But the mount point for the hard disk should be somewhere else. For e.g. under /media/<user>/ or /mnt/. Try in the mount point rather than on the device file itself.


0

Thanks for thinking along, but I managed to find the problem, or at least the solution. The NAS is Linux based and does not support the higher security Windows demands, as the computers are part of a Windows domain. I had to change following registry key and reboot in order to get the clients up and running. ...


0

you can also use this: sudo diskutil repairPermissions / - repairs permissions of system directories (like if /tmp is incorrect) source: http://www.macworld.com/article/1052220/repairpermissions.html


2

Your command order is wrong: scp -i mykey.pem test.php ubuntu@??.??.??.???: -i is to flag the private key (in this case, mykey.pem). Also it was missing the : at the end of the host


0

This would make sense if you have set shell glob options so that * includes names beginning with ., and a wildcard that doesn’t match anything just disappears, rather than persisting as itself.  (E.g., if you don’t have any files whose names begin with foo, the command echo foo* prints a blank line rather than printing foo* literally.) If the above are ...


0

Your files/books/ directory does not grant +x (traverse) to group:user. For directories, +r lets you list the contents (file names), but +x is needed to actually descend into the directory (therefore it is needed on all parents all the way to /).


0

One of the way to restrict the possibility to execute commands is the restricted shell. Excerpt from the manual, where is said that the following are disallowed or not performed: Changing directories with the cd builtin. Setting or unsetting the values of the SHELL, PATH, ENV, or BASH_ENV variables. Specifying command names containing slashes. Specifying a ...


0

Backup all of your files to a drive. Reinstall Windows. http://windows.microsoft.com/en-CA/windows-8/clean-install


1

Thanks to the link from @FlashThunder I got the bright idea that maybe windows was holding on to the handle/reference to the folder in memory. So I rebooted the machine and sure enough the folder disappeared. After that, it was just a matter of recreating folder rebooting reapplying attributes (2nd to last step in link) rebooting again all good now. ...


0

Assuming you are running as an "admin" in Explorer, go the the next folder up, that the download folder resided in. The folder you want is likely: C: \Users [logged in username] Highlight that folder, right click that folder, and go to the tab: Previous Versions. You should at least see a snapshot from the last time and date you rebooted or did a ...


0

I'd start by changing the Yosemite Alex's UID to 503 and see if that gets things working for you. If you still have trouble, you could do a system-wide search of the Yosemite Alex's UID of 502, like so (as root): # find / -uid 502 This should return a list of files from your filesystem still owned by the new 502 alex username, which you can manually ...


0

In a nutshell,the wheel group is used to control those people that can su to the root user (though this is made irrelevant by the sudo command).


0

You could try using a Live Linux distro. Basically every Linux distribution nowadays comes with a bootable live medium; with it you can run the whole system /from a CD/DVD, an USB pendrive, and so on) without the need of installing it on your hard-drive. Since it is a different system it won't follow Windows' administration setting, and you can easily ...


0

The file is probably actually deleted, but a handle to it is locked in memory someplace and won't release until the system is shutdown. Simplest thing to try first: Reboot the system. Once it's done rebooting, see if the file still exists and if it does try deleting it again. If you're still having problems after that, then perhaps check out the answers ...


0

Run CMD and run it as administrator. Enter the following command: net user administrator /active:yes Sign out, sign in as newly created administrator. You just got super admin rights. Just copy everything from your previous profile to the new one.


0

Actually the real solution is very simple you just have to follow this steps : Click Start > Run > SECPOL.MSC. Once the “Local Security Policy” window opens, under “Security Settings” > Local Policies > Security Options. Scroll down to find “User Account Control: Run all administrators in Admin Approval Mode” and then disable it. Yes -> disable it. Then, ...


0

All thanks to Jesse Brohinsky A more improved version. This also includes the background directory that enables you to opencmd from inside the folder aswell. Also for the sake of it you can open the commandpromt as non admin. Also you can disable AdminApprovalMode. This way you dont need to run as admin when you are admin. ...


1

Someone is responsible for the computers and has the passwords, and can fix your problem. Figure out who that person is, and they are likely to help you fix the issue. Contact that person directly, in person. Your teacher is obviously not that person. Visual Studio is likely installed in program files, which is protected by default and therefore requires ...


2

When I last had to accomplish something similar, I used XCACLS to modify the current permissions on the folder (/e edits instead of replaced ACL) to give you full control. You can then move the folder and then remove your own permissions. Alternatively, you can use the get-acl and set-acl cmdlets in powershell to get a permission set: $oldPermissions = ...


1

"SID" is a static identifier attached to a user account. It is just a series of numbers, like a person's SSN / NIN, or a database record's "primary key". Since it never changes, its purpose is to find a specific account even though it might have been renamed; for that reason, it is stored instead of the user name in tokens, ACLs, and other similar ...


0

I found out that on my mobile (android 4.3) there is an app called "Back up & Restore" (Dutch "Back-up en herstel"). With this app one can backup specific data and one of the options is "local notes". Once a backup is made, the backup is stored in a folder called ".semc-fullbackup". I couldn't find it with windows explorer, but I could with 'ES File ...


1

As a workaround you can save the file to your desktop and replace the original with the edited one. Source: I edited these kinds of files before.


1

Simply put, no. Permission flags, for example read and write need TO be attributed to a folder or file. You can't assign read/write permissions to nothing. If you're talking about giving a group global permissions over all data on the file server then you would need to run a script to grant those permissions recursively through the file system. All I can ...


0

it is not possible for mounted ntfs permissions to be managed by su. They only can be managed as part of the mount command.


1

Try using "sudo chattr +i /.sqlite_history" This will prevent anything (even root) from modifying the target file. The i stands for "immutable" and is used regularly to keep DHCP from overwriting /etc/resolv.conf This should do the trick for you. For more information: "man chattr". It's a tool that lets you set all sorts of wonderful file attributes! Good ...


2

It can't write to that file, but assuming it can write to the directory it can just delete the file and create a new one. You don't need to be able to write to a file in order to delete it under the linux privilege model because deleting a file doesn't change it in any way - it changes the directory that contains the file. So it is the directory you need to ...


0

Based on the 777 (rwxrwxrwx) mode you're seeing, it is probably highlighting the fact that those files have world/others bits set, which is generally considered bad practice. I'd suggest setting mode 770 (rwxrwx---) on the directories, and mode 660 (rw-rw----) on documents. Minimally, you should be able to clear the world bits with chmod -R o-rwx -- that ...


0

After trying with self-hosted files and different browsers, I found out that it (the changing of permissions) only happens in Chrome. Apparently, this is a known bug and should not happen for files for permanent storage and only for temporary items. It is a known bug and should get fixed in the future. For now, there's nothing else we can do than wait.


1

Made a remote connection (from a external source) via SSH. After successfully logging in a root, performed the ifconfig command. Noticed immediately that the IP address was infact the LAN IP addess of my gateway router. The next step was disabling the port forward I THOUGHT was correctly setup. I attempted to reconnect again (from a external source) via ...


0

Add the user to the group www-data, this should allow the user to access the files that you need. See comments on the question if you need more information about it. sudo usermod -aG <groupname> <username> from a terminal window will add the user to the group for you.


0

In my case, it works with these two things: To set the permission of AdventureWorks2014.bak to be accessed to Everyone. Opening Properties window for AdventureWorks2014.bak, to click Unblock button on General tab. Good luck :)


0

Configuration file: none the problem is here. that folder doesn't contain a config file which probably not init jekyll yet.



Top 50 recent answers are included