سلام دوستان.
بنده خیلی وقته که از لینوکس دور بودم.
امروز متوجه شدم توی یکی از پارتیشنهام که ntfs هستش همه owner های root هستن.
بعد از کلی سرچ فهمیدم که uid, gid رو میباست تغییر بدم.
الان ظاهرا permission هام درست شدن ولی باز هم نمیتونم یه کد کامپایل شده C رو اجرا کنم.
-rwxrwx--- 1 ehsun ehsun 42K Oct 9 2017 backup_coupler_codes.zip
drwxrwx--- 1 ehsun ehsun 0 May 21 13:50 backups
-rwxrwx--- 1 ehsun ehsun 90K Oct 13 2017 C-codes.zip
-rwxrwx--- 1 ehsun ehsun 5.4K Oct 4 2017 chebyshev.c
-rwxrwx--- 1 ehsun ehsun 243 Oct 4 2017 chebyshev.h
-rwxrwx--- 1 ehsun ehsun 172K Oct 4 2017 chebyshev_polynomial.c
-rwxrwx--- 1 ehsun ehsun 5.7K Oct 4 2017 chebyshev_polynomial.h
-rwxrwx--- 1 ehsun ehsun 1.7M Oct 20 2017 coupler
-rwxrwx--- 1 ehsun ehsun 11K Apr 27 11:05 coupler.c
-rwxrwx--- 1 ehsun ehsun 11K Oct 20 2017 coupler.c~
-rwxrwx--- 1 ehsun ehsun 7.8K Oct 13 2017 matrix_operation.c
-rwxrwx--- 1 ehsun ehsun 1.2K Oct 13 2017 matrix_operation.h
➜ C-codes ./coupler
zsh: permission denied: ./coupler
➜ C-codes ldd coupler
not a dynamic executable
➜ C-codes
UUID=CE868A0F8689F86B /media/ehsun/STORAGE ntfs noatime,nodiratime,users,umask=007,uid=1000,gid=1000 0 0