Strange file access permission issue

Hi,

I have Linux Ubuntu instal, latest long term version, anyway, I can access some potographcs from my shard partition which I share as an NTFS betwen Liunux and Windows installation, however, although one program in Linux Geeqie can open a file, when I go to open it with Gimp it does not and quotes file permission as an issue. Any idea as to how this has come about? I wasn't aware permissions were down to speific programs, I though the user itself broadly speaking has the file access as granted. Thanks in advance.
 

Neemobeer

Windows Forum Team
Staff member
Permissions are set at the OS level and not by program; however, depending on what permissions are actually set and in what mode a program opens files in may be an issue. I would validate you can add, delete and modify files on the NTFS share.
 
Permissions are set at the OS level and not by program; however, depending on what permissions are actually set and in what mode a program opens files in may be an issue. I would validate you can add, delete and modify files on the NTFS share.

I can confirm I can create, edit and delete a txt file in target drive and the target folder. The target files show the same permissions too.
 

Neemobeer

Windows Forum Team
Staff member
You may need to debug the application with something like strace, or file a bug with the respective program developer.
 
You may need to debug the application with something like strace, or file a bug with the respective program developer.
I shall try uninstall and reinstall first.

Edit OK well uninstall and reinstall didn't work.

Not sure this is worth the hastle. Any other good linux image manipulation programs? I can always boot into windows to make up an image.
 
Last edited:
OK well I just tried to place a tmp directory onto the same drive as I was doing something in Audacity and it made the filesystem in linux run out of space. I got another permissions error and so I opened up the disks program and here is the set of permissions for the drive, I don't understand why Thunar and navigate it, write files, edit or delete them yet I cannot use Audacity to create a directory to have as a tmp location. Anything wrong with this setting? I'll add in fstab too. The drive is called Data, which on another note, I would like to load up automatically on start up. Thanks for your help.

# /etc/fstab: static file system information.
#
# Use 'blkid' to print the universally unique identifier for a
# device; this may be used with UUID= as a more robust way to name devices
# that works even if disks are added and removed. See fstab(5).
#
# <file system> <mount point> <type> <options> <dump> <pass>
# / was on /dev/sda1 during installation
#UUID=657d4d9a-58fb-43d7-81e6-b21a21e18fbd / ext4 errors=remount-ro 0 1
/swapfile none swap sw 0 0
UUID=31b0798c-adc4-4254-b5a5-401a4752ca4f / ext4 errors=remount-ro 0 1
LABEL=Data /mnt/Data ntfs-3g nosuid,nodev,nofail,umask=000,rw 0 0
 

Attachments

  • Screenshot at 2021-01-15 18-15-03.png
    Screenshot at 2021-01-15 18-15-03.png
    57 KB · Views: 7
Here you can see Media is accessible by Thunar yet not accessible to put a tmp folder in by audacity??
 

Attachments

  • Screenshot from 2021-01-15 18-39-44.png
    Screenshot from 2021-01-15 18-39-44.png
    121.4 KB · Views: 8
  • Screenshot at 2021-01-15 18-39-01.png
    Screenshot at 2021-01-15 18-39-01.png
    124.4 KB · Views: 10
The ntfs partition is mounted at /mnt/Data not /media

Sorry, yes, this was a separate example of drive access issues on another partition, I should have been clearer, I now however have found what is possibly the 'root' of the problem lol... Which annoys me thoroughly because they got rid of 'root' users a few years back and wanted people to have sudo group instead. However this doesnt really explain why I can create edit or delete files in a particular drive or see a picture file with one program but not another? How do I change this so everyone can access it?
 

Attachments

  • Screenshot at 2021-01-15 19-22-35.png
    Screenshot at 2021-01-15 19-22-35.png
    34.2 KB · Views: 7

Neemobeer

Windows Forum Team
Staff member
Root has never gone away. Sudo is the preferred and safer method of running a Linux distro. If that is an NTFS partition you can just change the umask to 000 for granting access to it
 
Root has never gone away. Sudo is the preferred and safer method of running a Linux distro. If that is an NTFS partition you can just change the umask to 000 for granting access to it

Can someone login as root then? as per fstab I copied umask is 000.

Thanks for the link.
 
So yesterday I eventually got to do the thing I wanted to do which in vovled stipping the audio from a mk4 file to a .awv file which was huge, and the drive showed error of running out of space... but anyway, after deletion and a reboot I now find when I turn the ubunut system on it takes liek 10-15 seconds for the items on the desktop to appear. Any ideas? Can I make a new desktop and not reset my entire profile?

Edit I just went to open up a small program and it seemed to take 20-30 seconds.
 
Last edited:
Top