(solved) Don't enough permissions to copy and paste or to save a file

Questions about other topics - please check if your question fits better in another category before posting here
Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Locked
User avatar
pcfan5
Level 5
Level 5
Posts: 563
Joined: Tue Sep 06, 2016 10:57 am
Location: Argentina

(solved) Don't enough permissions to copy and paste or to save a file

Post by pcfan5 »

Hello! I have just made a fresh install of LM 19.3 . however this is the first time I don't have enough permissions to to copy and paste or to save a file , all along the default system folders.

I have set my user settings as administrator and also set my user in admin group.

here is an example of error.
Image


this is my computer:

Code: Select all

System:
  Host: sil-MOV Kernel: 5.4.0-72-generic x86_64 bits: 64 
  Desktop: Xfce 4.14.1 Distro: Linux Mint 19.3 Tricia 
Machine:
  Type: Laptop System: BANGHO product: MOV v: MODEL_EQUIP serial: <filter> 
  Mobo: BANGHO model: MOV v: D02A serial: <filter> BIOS: American Megatrends 
  v: 1.01.15RPCD1 date: 07/11/2012 
Battery:
  ID-1: BAT0 charge: 47.9 Wh condition: 47.9/48.8 Wh (98%) 
CPU:
  Topology: Dual Core model: Intel Core i5-2450M bits: 64 type: MT MCP 
  L2 cache: 3072 KiB 
  Speed: 2221 MHz min/max: 800/3100 MHz Core speeds (MHz): 1: 2862 2: 2478 
  3: 2851 4: 2623 
Graphics:
  Device-1: Intel 2nd Generation Core Processor Family Integrated Graphics 
  driver: i915 v: kernel 
  Display: x11 server: X.Org 1.20.8 driver: modesetting unloaded: fbdev,vesa 
  resolution: 1360x768~60Hz 
  OpenGL: renderer: Mesa DRI Intel HD Graphics 3000 (SNB GT2) 
  v: 3.3 Mesa 20.0.8 
Audio:
  Device-1: Intel 6 Series/C200 Series Family High Definition Audio 
  driver: snd_hda_intel 
  Sound Server: ALSA v: k5.4.0-72-generic 
Network:
  Device-1: Realtek RTL8188CE 802.11b/g/n WiFi Adapter driver: rtl8192ce 
  IF: wlp2s0 state: down mac: <filter> 
  Device-2: JMicron JMC250 PCI Express Gigabit Ethernet driver: jme 
  IF: enp3s0f0 state: up speed: 1000 Mbps duplex: full mac: <filter> 
Drives:
  Local Storage: total: 465.76 GiB used: 337.64 GiB (72.5%) 
  ID-1: /dev/sda vendor: Crucial model: CT500MX500SSD1 size: 465.76 GiB 
Partition:
  ID-1: / size: 27.44 GiB used: 15.01 GiB (54.7%) fs: ext4 dev: /dev/sda3 
  ID-2: /home size: 430.39 GiB used: 322.63 GiB (75.0%) fs: ext4 
  dev: /dev/sda4 
Sensors:
  System Temperatures: cpu: 63.0 C mobo: N/A 
  Fan Speeds (RPM): N/A 
Info:
  Processes: 228 Uptime: 3h 11m Memory: 7.68 GiB used: 2.54 GiB (33.1%) 
  Shell: bash inxi: 3.0.32 
thanks in advanced for your help.
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 2 times in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
sleeper12
Level 21
Level 21
Posts: 14607
Joined: Thu May 25, 2017 3:22 pm

Re: Don't enough permissions to copy and paste or to save a file

Post by sleeper12 »

I don't know much about permissions, but check:

Code: Select all

 find $HOME ! -user $USER 
It should come back empty. if not, do:

Code: Select all

 sudo chown -R $USER:$USER $HOME 
Now the first command should return empty.
User avatar
pcfan5
Level 5
Level 5
Posts: 563
Joined: Tue Sep 06, 2016 10:57 am
Location: Argentina

Re: Don't enough permissions to copy and paste or to save a file

Post by pcfan5 »

Thank you very much for your reply.
First command returned with lots of folder , the ones I wasn't able to access.
Second command made the first one returned empty as you said.

Could this trouble have been caused because these were folders that I saved in my partitions and move them arround from one partition to the other, before formatting? .. Anyway the only partition I formatted was / and then did a fresh install. Documents folder used to be encrytped with veracript but I left that program a long time before ago.
I am wondering how this maight have been caused..

Now I can access to those folders without trouble, save files and copy and paste....thank you so much!!!

PS: please tell me what we did?
sleeper12
Level 21
Level 21
Posts: 14607
Joined: Thu May 25, 2017 3:22 pm

Re: (solved) Don't enough permissions to copy and paste or to save a file

Post by sleeper12 »

Well, my limited understanding is that those commands restored your permissions. What caused it, I have no clue. Maybe someone else will know. Glad it fixed things though. :)
User avatar
Schultz
Level 9
Level 9
Posts: 2966
Joined: Thu Feb 25, 2016 8:57 pm

Re: (solved) Don't enough permissions to copy and paste or to save a file

Post by Schultz »

pcfan5 wrote: Tue May 04, 2021 2:53 pm I have set my user settings as administrator and also set my user in admin group.
I think this is what caused your problem. I'm not sure so somebody else will have to verify.
sleeper12
Level 21
Level 21
Posts: 14607
Joined: Thu May 25, 2017 3:22 pm

Re: (solved) Don't enough permissions to copy and paste or to save a file

Post by sleeper12 »

Schultz, you may have nailed it, but I'm not sure either.
mikeflan
Level 17
Level 17
Posts: 7152
Joined: Sun Apr 26, 2020 9:28 am
Location: Houston, TX

Re: (solved) Don't enough permissions to copy and paste or to save a file

Post by mikeflan »

Interestingly I have a few things owned by root.

Code: Select all

$  find $HOME ! -user $USER 
/home/mike/.local/share/applications/bitnami.desktop
/home/mike/.dbus
find: ‘/home/mike/.dbus’: Permission denied
/home/mike/.cache/dconf
find: ‘/home/mike/.cache/dconf’: Permission denied
/home/mike/.cache/at-spi2-socket-23581
/home/mike/.cache/at-spi2-socket-19217
/home/mike/.cache/at-spi2-socket-6520
/home/mike/.cache/at-spi2-socket-25046
/home/mike/.cache/at-spi2-socket-4306
/home/mike/.cache/at-spi2-socket-17174
/home/mike/.cache/at-spi2-socket-11594
/home/mike/.cache/doc
find: ‘/home/mike/.cache/doc’: Permission denied
/home/mike/.cache/at-spi2-socket-5432
/home/mike/.gvfs
find: ‘/home/mike/.gvfs’: Permission denied
Many of those are links (hard links I think).
'bitnami.desktop' is not a link. Neither are the sockets, but they have zero bytes.
I'm not worried about any of this and will probably leave it as-is. But it is interesting.
User avatar
pcfan5
Level 5
Level 5
Posts: 563
Joined: Tue Sep 06, 2016 10:57 am
Location: Argentina

Re: (solved) Don't enough permissions to copy and paste or to save a file

Post by pcfan5 »

Schultz wrote: Tue May 04, 2021 9:19 pm
pcfan5 wrote: Tue May 04, 2021 2:53 pm I have set my user settings as administrator and also set my user in admin group.
I think this is what caused your problem. I'm not sure so somebody else will have to verify.
Oh no, I didthat just to try fixing the problem, before posting this topic.
Locked

Return to “Other topics”