LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   users can't run wine installed applications (https://www.linuxquestions.org/questions/linux-software-2/users-cant-run-wine-installed-applications-511129/)

GSalah 12-16-2006 01:54 PM

users can't run wine installed applications
 
Hi, I installed AutoCad 2000 using wine,and I worte a script thats run this command in /bin/autocad.sh but other users can't run it, why ? and how this could be ?


thanks

ethics 12-16-2006 02:48 PM

what are the permissions on the exectuable?

where is the wine C drive/which user installed it?

Post your script?

GSalah 12-16-2006 02:59 PM

the permissions is 777, and the C drive in the user 'ghaleb' home

the script is so simple :
Code:

wine /home/ghaleb/.wine/drive_c/Program\ Files/ACAD2000/acad.exe

dankegel 12-16-2006 05:38 PM

You'd better have permissions 777 on
/home/ghaleb/.wine
and all subdirectories, too.

But really, sharing a .wine directory like that
is not a good idea, because it provides no
protection against other users overwriting
your data. i.e. it's completely insecure.
Worse yet, the wine registry could
become corrupt if two users try to update it
at the same time.

Better to have a script (like the one for Picasa)
that uses symlinks to a readonly copy of the
installed files, and creates a .wine for each
user. Then no 777 hackery is needed.

BTW your script should be 755, not 777. No need to
let others edit your script.

GSalah 12-17-2006 07:41 AM

Code:

> the wine registry could
become corrupt if two users try to update it
at the same time

.


my users use this applications at the same time, what should I do now ?

is it enough to change the permession th 755 ?


All times are GMT -5. The time now is 07:47 PM.