LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 02-02-2016, 02:22 PM   #1
clg
LQ Newbie
 
Registered: Feb 2016
Posts: 10

Rep: Reputation: Disabled
stuck with a + at the end..;


Hi all

here is an example :

drwxrwx--x+ 7 root root 4096 févr. 2 20:32 claude
lrwxrwxrwx 1 root root 7 nov. 24 17:38 floppy -> floppy0
drwxrwxr-x 2 root root 4096 nov. 24 17:38 floppy

What is the meaning of the + ( in red..) at the end of the rights section

FYI I have one 1,5T USB disk with 3 partitions ( windows type..) mounted on claude

thks for tips
 
Old 02-02-2016, 02:47 PM   #2
astrogeek
Moderator
 
Registered: Oct 2008
Distribution: Slackware [64]-X.{0|1|2|37|-current} ::12<=X<=15, FreeBSD_12{.0|.1}
Posts: 6,269
Blog Entries: 24

Rep: Reputation: 4206Reputation: 4206Reputation: 4206Reputation: 4206Reputation: 4206Reputation: 4206Reputation: 4206Reputation: 4206Reputation: 4206Reputation: 4206Reputation: 4206
Welcome to LQ!

That indicates an alternate file access control method applies, such as ACLs or from SELinux.

A quick DDG search found multiple references to this:

Code:
From info coreutils 'ls invocation'...

 Following the file mode bits is a single character that specifies
 whether an alternate access method such as an access control list
 applies to the file.  When the character following the file mode
 bits is a space, there is no alternate access method.  When it is
 a printing character, then there is such a method.

 GNU `ls' uses a `.' character to indicate a file with an SELinux
 security context, but no other alternate access method.

 A file with any other combination of alternate access methods is
 marked with a `+' character.
 
Old 02-02-2016, 02:51 PM   #3
schneidz
LQ Guru
 
Registered: May 2005
Location: boston, usa
Distribution: fedora-35
Posts: 5,313

Rep: Reputation: 918Reputation: 918Reputation: 918Reputation: 918Reputation: 918Reputation: 918Reputation: 918Reputation: 918
Code:
getfacl claude
http://www.linuxquestions.org/linux/...ilepermissions
 
Old 02-02-2016, 08:28 PM   #4
MrTux
Member
 
Registered: Dec 2015
Posts: 131

Rep: Reputation: Disabled
Quote:
Originally Posted by schneidz View Post
Access denied
 
Old 02-03-2016, 02:37 AM   #5
clg
LQ Newbie
 
Registered: Feb 2016
Posts: 10

Original Poster
Rep: Reputation: Disabled
Thks guys
In fact, I'm trying to share a NTFS Harddisk in an Ubuntu environment...and I find some problems with the rights...
Might be, working on the ACL acces will help me solving my sharing problems ( sharing NTFS disk an a Linux Ubuntu environment )
thks for the tips
 
Old 02-09-2016, 09:33 AM   #6
clg
LQ Newbie
 
Registered: Feb 2016
Posts: 10

Original Poster
Rep: Reputation: Disabled
Hi...me again !!!
I don't understand a few things

I have this line in my /etc/fstab
/dev/sdc6 /media/claude/partage ntfs-3g -o rw,uid=1000, gid=1000, utf8, umask=0022 0 1

With this umask, I should have the following rights rwxr-xr-x associated to the mount point partage no ?
but when the HD gets mounted
1) partage belongs to root , root with rwxrwxrwx rights !!!

In additon, once mounted, if I issue a simple mount command, here is what I'm getting

/dev/sdc6 on /media/claude/partage type fuseblk (rw,nosuid,nodev,allow_other,blksize=4096)

Why the hell, what I wrote in the fstab is not taken into consideration ...
Pretty confused !!!
and thks again for any clarification

Last edited by clg; 02-09-2016 at 09:35 AM.
 
Old 02-09-2016, 01:30 PM   #7
MrTux
Member
 
Registered: Dec 2015
Posts: 131

Rep: Reputation: Disabled
I think it might be a syntax problem.

fstab does not take -o as an option but rather the fourth field from a tab or space separated line

So it should be

/dev/sdc6 /media/claude/partage ntfs-3g rw,uid=1000,gid=1000,utf8,umask=0022 0 1

Last edited by MrTux; 02-09-2016 at 01:35 PM.
 
Old 02-10-2016, 02:41 AM   #8
clg
LQ Newbie
 
Registered: Feb 2016
Posts: 10

Original Poster
Rep: Reputation: Disabled
@MrTux

Oooop's my mistake
Corrected

but still a diff between what sits in my fstab and the "mount" results...dunno why !!!

thks again
 
Old 02-10-2016, 03:44 AM   #9
JJJCR
Senior Member
 
Registered: Apr 2010
Posts: 2,162

Rep: Reputation: 449Reputation: 449Reputation: 449Reputation: 449Reputation: 449
please post the output of this command below:

id -u
id -g
 
Old 02-10-2016, 10:07 AM   #10
rknichols
Senior Member
 
Registered: Aug 2009
Distribution: Rocky Linux
Posts: 4,783

Rep: Reputation: 2214Reputation: 2214Reputation: 2214Reputation: 2214Reputation: 2214Reputation: 2214Reputation: 2214Reputation: 2214Reputation: 2214Reputation: 2214Reputation: 2214
Also, was that from a manually issued mount command? If so, you need to give the mount command just one non-flag argument, either the device or the mount point. That will make the command look at /etc/fstab for the other argument, and it will pick up the options too. If you give both the device and the mount point, /etc/fstab is not consulted at all and you get the kernel's default mount options.
 
1 members found this post helpful.
Old 02-10-2016, 11:41 AM   #11
clg
LQ Newbie
 
Registered: Feb 2016
Posts: 10

Original Poster
Rep: Reputation: Disabled
HI both
id -u = 1000
id -g = 1000

Yes, it was from a manual mount...ans yr explanation shed the light on what I had not understood ( Linux noob...)
Thks
 
  


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
LXer: CoreOS brings end-to-end trusted computing to containers LXer Syndicated Linux News 0 12-03-2015 12:40 AM
Errors while using awk script for calculating average end to end delay in ns2 NS2User2012 Linux - Networking 4 02-17-2013 11:20 AM
no support for locale: en_Us.itf8 Stuck found some post but still Stuck!! Suec7832 Linux - Newbie 1 08-30-2011 08:13 AM
LXer: Lenovo embeds Linux in high-end and low-end notebooks LXer Syndicated Linux News 0 08-10-2006 11:21 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 06:02 AM.

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