On my PC when i got to mount a network drive it doesnt give me any option about whether to connect as normal user or administrator. This causes a problem later on when I try and access the drive via my IDE (Integrated Developement Environment) because the IDE runs with elevate adminstrator permissions and because the network drive was not mounted as administrator the application does not have permission to access the netork drive.  The problem is documented here      Workaround 2 says to just mount them from a bat file as adminstrator, but it gives me no instructions on how to do this. And I am confused is there no way to do this via the Windows UI when I mount the drive ?
121221
I have a web server that I want to map a drive to it. I want to do this in a .bat file. Pseudo ->   Check if a drive at an ip address has been mapped to a local drive.  If it has then progress with a reference to the drive If not map to a local drive and then progress with a reference to the drive  Is this possible and if so how can I achieve it?
32929
My surface tablet is shared with a friend. She uses a separate account, with admin rights.  Being an admin, she is able to gain access to all my files. Even my OneDrive files.   I guess I could follow  to prevent this (it basically states that you'll need to disable access for the targeted administrator), but the same scenario would be present if I were to create another administrator account.  You could say "don't make her administrator", but I don't want to mess with her personal files as well.  Somehow this feels as a security flaw... or am I mistaken?  Is there any way to protect private files from "administrator eyes" by default?
24613
I have Ubuntu installed in Virtualbox. I want to mount my VirtualBox shared folder in Ubuntu automatically when I log in Ubuntu. I put the following line in my ~./bashrc and ~/.bash_profile:  sudo mount -t vboxsf windows_share /media/windows_share   where windows_share is the name I created with Virtualbox. But everytime I start my Ubuntu, it asks me for passwd since it needs sudo. Is there anyway to automatically mount Windows share without entering password every time I log in?
25341
IIRC then the mount options shown in /proc/mounts have changed. Some time ago acl and user_xattr were shown, now it seems that only noacl and nouser_xattr are shown if these features are turned off.  Where is this configured? Does that depend on the compiled-in defaults of the filesystem code? How can I check whether a volume supports e.g. ACL? Is there a better solution than testing with setfacl, getfacl?
72211
When I'm trying to copy or move files to a system directory (like C:\Program Files or C:\ProgramData\Microsoft\Windows\Start Menu) nothing happens instead of being prompted for access rights with the usual UAC dialog. The files are not copied/moved and there is no error message.  Here's the story behind it: I got a new PC with Windows 10 installed. There was already a user account "user" created, but I wanted my own account "Florian" with my own name. So I created my account in Administrative Tools and added it to the Administrators group. I switched to my new account and deleted the old "user" account.    Since then I started to setup my PC and install my programs. I tried to copy some portable programs to C:\Program Files when I noticed that I could not simply copy a directory into C:\Program Files. I expected a UAC prompt, but I only got the wait cursor for the fraction of a second and nothing happened. I cannot even delete directories from installed programs.  My user account has no permissions except "special permissions" for C:\Program Files, but as I am in the Administrators group I should be able to modify files there. I checked this with another Windows 10 installation and the permissions are the same.    I get the regular UAC prompt when modifying system settings running programs "as Administrator".  Any ideas why I am not prompted for permission when copying to system folders?
49449
My user account on Windows 7 is part of the Administrators group which has a full control permissions on C:\inetpub\wwwroot:    However, when I try to create a folder in it, I get the "access denied" error. This is fixed by adding my specific user account to the list but that shouldn't be necessary should it?
77648
I use Ubuntu 11.10 and Windows7 dual boot with Ubuntu as my primary OS.  Every time I need to access a document I need to mount the respective drive, though this is not at all tiresome, still, is there any way that drives becomes automatically mounted when I login?
69348
I'm using Ubuntu 18.04 with nemo as the file manager, and out of nowhere I can no longer mount disks or partitions which show up just by double-clicking them, when just a few weeks ago this worked perfectly fine! Any idea what changed? Perhaps an update messed it up?  The error is:      Unable to mount NAME_OF_DISK. Not authorized to perform operation.   Screenshot from nemo file manager:    This answer doesn't seem to help me either, as I just booted up and have nothing open really. Repeated reboots don't solve the problem. How would I find out which application might be holding the lock? .  Note that the work-around is to manually do it with sudo, but I really don't like having to use sudo! Ex:  sudo mkdir /media/mydisk sudo mount /dev/sdb1 /media/mydisk   Or this works too:  sudo gnome-disks   Then use the gnome "Disks" utility to mount via the GUI.  If I do this though I cannot view the mounted partition unless I also run my file manager as root. Ex:   sudo nemo   Then navigate around in a GUI file manage window with elevated permissions.    Update:    possibly related to Polkit?? -    Related    to Polkit and plugdev group?
70757
After install Windows 10, it seems that I lost the ability to run explorer.exe as administrator with a user in administrator group.   The reason I want to do that is, in our team's development environment, we are using a C# exe to do some environment configuration which will start command prompt under administrator mode and subst a drive. As a result those substed drives are not visible within the file explorer since it is run not as administrator. That will be kind of inconvenience and sometimes make mistakes.   I was able to run explorer.exe from task manager with the option "create with privileges" checked and then I can see all the drives in explorer. But now this is not working anymore.   I knew there are other options to workaround this workflow, but just want to make sure that if it is now totally impossible under Windows 10?  Any comment is appreciated.
82221
Via Gnome Nautilus I can easily mount Samba shares from my Ubuntu Server.  However, these "mounts" are kinda of fake.  Many applications I run do not recognize that Gnome has mounted these server folders and therefore cannot open files off my server.   In the past I created an /etc/fstab entry and mounted them globally, the /mnt folder, but this isn't going to work as other people share my Ubuntu laptop.  What's the easiest way to create a "real" samba mount in my (and other people's) home directory?  It's fine if its a command or a GUI application that can run when I log in.  These server folders don't have to be mounted all the time.
96968
I am the administrator on my PC. There is another local account on this PC. I just want to know, if I wish that the other will not be able to view D and E drive, then what should I do? How can I prevent the other user from using the D drive?  I have tried the "stop sharing"  from the computer management, but the other user still can open the D drive.  I am on Windows 10 Pro OS.
116885
I'm new at Linux and I just download Ubuntu 12.04 LTS.  I found a spot that showed me how join my Windows Active Directory.  It has me add couple lines into the 'hosts' but I'm not able to edit the file because I do not have the permission.  I'm not the owner.  I use chmod with it rwx and still it will not let edit the file.  How do you change the permission?  Thanks
59993
In older Ubuntu releases, you were able to access the SMB shares mounted with Nautilus by going into the ~/.gvfs/ directory. I found it very convenient, since I like to use Nautilus to mount the shares, but do all disk operations (copy, mv, find etc.) using command line.  I now have Ubuntu 13.04, and even though I can mount the share and use it with Nautilus (which I never use), I am unable to find the actual mount point. Is it still somewhere? Or has it been abandoned? Can I get it back?  I know that I can mount the shares using CIFS and /etc/fstab, but I'd rather use the user space. That way, when I install a new system or transfer my home to another machine, my preferences (including credentials) stay in my home directory and I don't need to worry about updating fstab.  Also, I do not want to mount it manually with sudo (with sudo mount -t cifs ...). Yes, I could create an alias or a script, but then I would have to either type my password every time or store my password in a credentials file. And type the sudo password. And then each time I encounter a new share, I'd need to remember how to create a credentials file. So yes, I might end up with this solution, but I would rather not change my current habits, if it is possible.  Furthermore, there is the matter of other users for which I often provide a simple command-line solution. In 13.04, this is no longer possible (for example, because the users to whom I provide the solution are not allowed to sudo mount on their machines).  In any case, I'm curious as to what happened to gvfs and why I can't see the mounted directories.
21886
I wanted to change permissions on my external drives that are automounted however I have tried by sudo nautilus and then going to gui and permissions and changing it however it does not let me.  I ran the ls -l and get  drwx------ 1 xbmc xbmc   the gui shows below.  owner xbmc folder access create and delete files file access ---  Group xbmc folder access none file access ---  others folder access none file access ---   how can I change it so that everyone has permission to access the drive and ALL folders/files inside of it. I am trying to get plexmedia server running and I cant see my drives via the webpage manage to add it to my source to be able to stream my content.  I want to change the "others" access so that I can access all my drives on the /media path to get read and write for all my folders from anywhere.  you can see my drives that are mounted here (external drives are #18,19,20)
39234
I installed blender for the first time, so I have the latest version, 2.78c.  I played with it for a bit.  Then I discovered I couldn't save my work.  I uninstalled it and reinstalled it.  Rebooted.  Same problem.  After a little testing, I realized I CAN save to my NAS storage drive.  I cannot save on my C: drive.  Any project.  Any folder.  C: always fails.  If I run blender as Administrator, it will save to the C: drive.  But not as my normal userid.  So it sounds like a bug of some kind.  I am running Windows 10.  Bitdefender A/V.  I use OneDrive.  I have a 2TB drive installed.  All clean and purring nicely.  Is there a better way to install it?  Or some change I can make (other than always running as administrator)?    Sounds like a bug - but hopefully there's a proper solution.  Thanks,  Jerry
122268
Have reinstalled Ubuntu on my web dev server. On the old one I had an smbfs share setup to access a share over the local network to other Ubuntu boxes. It was setup using the following and worked fine -   This time round I am using cifs-utils instead of smbfs, but I presume this is fine?  Upon reinstalling the server I have been having issues making the files writable. Its mounted ok, and when from my local machine I ls -l it shows me write permissions (although from my local user), but when I goto create or save over a file it gives me a no permissions error  Here is the line in my /etc/fstab. I had to make one change to be able to mount, and I added the ,sec=ntlmv2 option, without which I was getting mount error(13)  //192.168.0.40/webserver    /media/webserver        cifs    credentials=/root/.smbcredentials,sec=ntlmv2,iocharset=utf8,file_mode=0777,dir_mode=0777,uid=1000,gid=1000 0 0   and my credentials file (unchanged from when it was previously working)  username=melon password=xxxxxxxxxxxx   How can I fix it so that I have write permissions on my mount?
64111
I need to mount a ntfs partition and be able to use it with unix file system permissions. The problem is that, when I mount the partition using the following fstab entry, I cannot run chown and chmod successfully. It executes without error, but the file access rights are not changed.  PARTUUID=c3e3b171-d451-44e6-9f17-ffbe9e220dc7   /mnt/mounted_drive  ntfs-3g  defaults,umask=0022,uid=1000,gid=1000,errors=remount-ro,permissions 0 2   When I mount the partition without setting umask, uid, and gid I can use previously mentioned commands successfully.  PARTUUID=c3e3b171-d451-44e6-9f17-ffbe9e220dc7   /mnt/mounted_drive  ntfs-3g  defaults,errors=remount-ro,permissions 0 2   What shall I do to mount the partition properly?