Automatically restore sharing permissions on a Truecrypt drive?

Banqu0

New member
Local time
12:30 AM
Messages
25
I have a partition a an external drive that is encrypted with Truecrypt. This drive is attached to my Windows 7 machine. I have the drive mapped to my Linux machine. The issue that I am having is that whenever I remount the Truecrypt drive, the sharing permissions are reset and I must reset them manually. Is there a way to force windows to remember the sharing permissions for a drive that is not permanently mounted? Thank you in advance.
 

My Computer My Computer

Computer type
Laptop
Computer Manufacturer/Model Number
Dell
OS
Windows 7 Ultimate 64bit
CPU
2.8GHz
Memory
6GB
bump
 

My Computer My Computer

Computer type
Laptop
Computer Manufacturer/Model Number
Dell
OS
Windows 7 Ultimate 64bit
CPU
2.8GHz
Memory
6GB
bump
 

My Computer My Computer

Computer type
Laptop
Computer Manufacturer/Model Number
Dell
OS
Windows 7 Ultimate 64bit
CPU
2.8GHz
Memory
6GB
This is most likely due to, when the drive is unmounted, the share is effectively deleted, and with it all permissions. It's unavoidable that this happens, it's how Windows is designed when you delete a share.

You may workaround it with a batch file for example. Make it mount the drive, create the share and set its permissions. Then run it instead of Truecrypt for mounting the drive.
 

My Computer My Computer

Computer type
Laptop
Computer Manufacturer/Model Number
Toshiba Sattelite A665-S6092
OS
Windows 7 Ultimate x64
CPU
Intel Core i7-740QM
Memory
8 GB DDR3
Graphics Card(s)
NVIDIA GeForce 330GT
Screen Resolution
1366x768
Hard Drives
Samsung 840 SSD 500GB
1TB USB3 external HD
Cooling
Coolermaster Notepal U3 notebook cooling pad
Internet Speed
3mbps ASDL
Antivirus
ClamWin 0.98.7
Browser
Opera 12.17 x86 (main), Firefox 38 (sec), IE11 (last resort)
Back
Top