Forum
  • Search
  • Member List
  • Calendar
Hello There, Guest! Login Register — Login with Facebook

Mounting a truecrypt device - wrong File permissions for xbian user
Thank you for your donation

Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Threaded Mode | Linear Mode
Mounting a truecrypt device - wrong File permissions for xbian user
2nd Aug, 2013, 03:21 PM
Post: #3
mk01 Offline
Registered
Posts: 2,485
Joined: Mar 2013
Reputation: 209
RE: Mounting a truecrypt device - wrong File permissions for xbian user
(2nd Aug, 2013 08:48 AM)CoilGun12 Wrote:  i have got a problem with mounting my truecrypt device at autostart.

coilgun, it doesn't matter, which user calls your scripts. as soon as any command is "sudoed", effective user id and group id is 0.

but this is not a problem. effective user permissions are not related to truecrypt volume, but the fs on top of it.

so unlock the tc volume, then mount it under root. then simply do "chown -Rc xbian:xbian /home/xbian/Videos"

if you intend to use volume on other system (other uid) as well, mount the filesystem with options dmask=0000,fmask=0111 (what effectively creates all new files with chmod 666 and dirs with 777).

mk

Please read rules and do a search before you post! . FAQs . How to post log file? . Looking for answers? Please start here
Find all posts by this user
Quote this message in a reply
« Next Oldest | Next Newest »
Post Reply 


Messages In This Thread
Mounting a truecrypt device - wrong File permissions for xbian user - CoilGun12 - 2nd Aug, 2013, 08:48 AM
Re: Mounting a truecrypt device - wrong File permissions for xbian user - f1vefour - 2nd Aug, 2013, 10:15 AM
RE: Mounting a truecrypt device - wrong File permissions for xbian user - mk01 - 2nd Aug, 2013 03:21 PM
RE: Mounting a truecrypt device - wrong File permissions for xbian user - CoilGun12 - 2nd Aug, 2013, 09:31 PM

  • View a Printable Version
  • Send this Thread to a Friend
  • Subscribe to this thread
Forum Jump:

Current time: 7th Jun, 2025, 12:59 AM Powered By MyBB, © 2002-2025 MyBB Group.