LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 11-19-2009, 01:47 AM   #1
cwwilson721
Senior Member
 
Registered: Dec 2004
Location: In my house.
Distribution: Ubuntu 10.10 64bit, Slackware 13.1 64-bit
Posts: 2,649
Blog Entries: 1

Rep: Reputation: 67
Folder permissions issue...Ideas?


I like to play World of Warcraft under wine. A recent update to WoW makes the main launcher.exe change the folder permissions so I can't even access the folder until I change permissions back, and run Wow.exe instead.

By doing that, it makes updating patches a pain.

Any ideas on what I could do to stop the folders from changing permissions?
 
Old 11-19-2009, 04:18 AM   #2
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 16,292

Rep: Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322
What filesystem are we on? Have you tried a chown to root on the folder?

A workaround might be to move the directory structure aside
mv WoW/ someotherdir/
mkdir WoW
cd WoW
lndir ../someotherdir
cp ../someotherdir/launcher.exe .

A kind of symlink defense :-D. launcher would then mess with WoW/ but you could update someotherdir/ or simply rm -rf on WoW and rename someotherdir to update.
 
Old 11-19-2009, 06:10 AM   #3
cwwilson721
Senior Member
 
Registered: Dec 2004
Location: In my house.
Distribution: Ubuntu 10.10 64bit, Slackware 13.1 64-bit
Posts: 2,649

Original Poster
Blog Entries: 1

Rep: Reputation: 67
Won't work like that (Already tried it)

Isn't there someway to make dir permissions permanent?
 
Old 11-19-2009, 06:14 AM   #4
Komakino
Senior Member
 
Registered: Feb 2004
Location: Somerset, England
Distribution: Slackware 10.2, Slackware 10.0, Ubuntu 9.10
Posts: 1,938

Rep: Reputation: 55
Could you write a shell script that loads the program and then sets the permissions back afterwards?
 
Old 11-19-2009, 10:07 AM   #5
tux_dude
Member
 
Registered: Dec 2008
Distribution: Slackware64 Current
Posts: 277

Rep: Reputation: 41
Change the permission to 770 and the owner to some one other than the WoW player. The WoW player must be in the group that owns the directory. That way the WoW player cannot change the permission, but can read/write to the directory.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
folder permissions myfoot Linux - Newbie 1 11-30-2007 05:10 PM
folder permissions lpn1160 Linux - General 4 10-29-2006 08:46 AM
permissions difference between /home/..../folder and /root/folder darkleaf Linux - General 3 07-21-2005 05:23 PM
folder Permissions issinho Linux - Security 3 07-10-2005 02:35 PM
Folder Permissions Issue Aman9090 Slackware 2 10-17-2003 11:03 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 11:36 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration